mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-04 04:32:04 +00:00
49c738fc93
Running "libsemanage/src/pywrap-test.py -v -F" gives following error: Traceback (most recent call last): File "pywrap-test.py", line 1139, in <module> sys.exit(main()) File "pywrap-test.py", line 1121, in main tests.run(sh) File "pywrap-test.py", line 107, in run self.test_writefcontext(handle) File "pywrap-test.py", line 622, in test_writefcontext if self.verbose: print "SEFContext type set: ", semanage.semanage_fcontext_get_type_str(fcon) TypeError: in method 'semanage_fcontext_get_type_str', argument 1 of type 'int' The argument of semanage_fcontext_get_type_str is the type recorded in fcon and not fcon itself. This type can be retrieved with semanage_fcontext_get_type. |
||
---|---|---|
.. | ||
example | ||
include | ||
man | ||
src | ||
tests | ||
.gitignore | ||
ChangeLog | ||
COPYING | ||
Makefile | ||
VERSION |