mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-06 15:11:32 +00:00
Add more info for libsepol patch.
List known test failures seen without this patch.
This commit is contained in:
parent
bb1734e9e5
commit
c6a280e79a
@ -1,3 +1,34 @@
|
||||
This libsepol patch is needed if you see these unit test failures:
|
||||
|
||||
======================================================================
|
||||
FAIL: test_306_level_lookup_cat_not_assoc (tests.policyrep.mls.LevelFactoryTest)
|
||||
Level lookup with category not associated with sensitivity.
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/home/pebenito/projects/setools/tests/policyrep/mls.py", line 121, in test_306_level_lookup_cat_not_assoc
|
||||
self.assertRaises(InvalidLevel, level_factory, self.p.policy, "s0:c0,c4")
|
||||
AssertionError: InvalidLevel not raised by level_factory
|
||||
|
||||
======================================================================
|
||||
FAIL: test_406_range_lookup_invalid_range_low (tests.policyrep.mls.RangeFactoryTest)
|
||||
Range lookup with an invalid range (low).
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/home/pebenito/projects/setools/tests/policyrep/mls.py", line 168, in test_406_range_lookup_invalid_range_low
|
||||
self.assertRaises(InvalidRange, range_factory, self.p.policy, "s0:c13-s2:c13")
|
||||
AssertionError: InvalidRange not raised by range_factory
|
||||
|
||||
======================================================================
|
||||
FAIL: test_407_range_lookup_invalid_range_high (tests.policyrep.mls.RangeFactoryTest)
|
||||
Range lookup with an invalid range (high).
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/home/pebenito/projects/setools/tests/policyrep/mls.py", line 173, in test_407_range_lookup_invalid_range_high
|
||||
self.assertRaises(InvalidRange, range_factory, self.p.policy, "s0-s0:c13")
|
||||
AssertionError: InvalidRange not raised by range_factory
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
diff --git a/libsepol/src/expand.c b/libsepol/src/expand.c
|
||||
index 467f7a7..3193ef5 100644
|
||||
--- a/libsepol/src/expand.c
|
||||
|
Loading…
Reference in New Issue
Block a user