Lines Matching refs:options
79 (options, args) = parser.parse_args()
81 if not options.libpath:
83 if not os.path.exists(options.libpath):
84 sys.exit("Error: library-path " + options.libpath + " does not exist\n"
87 if not options.policy:
89 if not os.path.exists(options.policy):
90 sys.exit("Error: policy file " + options.policy + " does not exist\n"
93 if not options.file_contexts:
95 for f in options.file_contexts:
100 pol = policy.Policy(options.policy, options.file_contexts, options.libpath)
104 if options.test is None or "TestDataTypeViolations" in options.test:
106 if options.test is None or "TestProcTypeViolations" in options.test:
108 if options.test is None or "TestSysfsTypeViolations" in options.test:
110 if options.test is None or "TestSystemTypeViolations" in options.test:
112 if options.test is None or "TestDebugfsTypeViolations" in options.test:
114 if options.test is None or "TestVendorTypeViolations" in options.test:
116 if options.test is None or "TestCoreDataTypeViolations" in options.test: