blob: 974a1c3bb3f0a7e93ab65e711ff6b889f3ad1563 [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import common
from autotest_lib.client.common_lib import error
from autotest_lib.server import test
class brillo_Minijail(test.test):
"""Test Minijail sandboxing functionality."""
version = 1
TEST_EXECUTABLE = 'libminijail_test'
def run_once(self, host=None):
"""Runs the test.
@param host: A host object representing the DUT.
@raise TestFail: The test executable returned an error.
except error.GenericHostRunError as are:
raise error.TestFail(are)