Home | History | Annotate | Download | only in selinux

Lines Matching refs:test_object

44     def runSelinuxFileTest(self, test_object):
48 test_object: inherits KernelSelinuxFileTestBase, contains the test functions
50 logging.info("Testing existence of %s" % (test_object.get_path()))
53 target_file_utils.Exists(test_object.get_path(), self.shell),
54 "%s: File does not exist." % test_object.get_path())
56 logging.info("Testing permissions of %s" % (test_object.get_path()))
59 test_object.get_path(), self.shell)
61 test_object.get_permission_checker()(permissions),
63 (test_object.get_path(), permissions))
67 logging.info("Testing format of %s" % (test_object.get_path()))
69 test_object.get_path(), self.shell)
71 test_object.result_correct(file_content), "Results not valid!")