libsmack-tests: adjust tests for kernel with l access mode support.
authorRafal Krypa <r.krypa@samsung.com>
Tue, 23 Jul 2013 11:44:30 +0000 (13:44 +0200)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 23 Jan 2014 14:04:28 +0000 (15:04 +0100)
[Issue#]       SSDWSSP-372
[Bug]          Tests fail on kernel with sixth access mode for locks.
[Cause]        Modification to kernel extend Smack interface.
[Solution]     Adjust permissions in test, test for new mode.
[Verification] Run the tests.

Change-Id: Iab81162c53960f0ad110a46ca0e0fffd9aa6f045

tests/libsmack-tests/test_smack_rules
tests/libsmack-tests/test_smack_rules2
tests/libsmack-tests/test_smack_rules3
tests/libsmack-tests/test_smack_rules4
tests/libsmack-tests/test_smack_rules_full

index aa81db6..0a708a1 100644 (file)
@@ -1,3 +1,3 @@
-writer book rw---
-reader book -wx--
-reader book r---- -wx--
+writer book rw----
+reader book -wx---
+reader book r----- -wx---
index 51ee763..d649f81 100644 (file)
@@ -1,5 +1,5 @@
 test_subject_01 test_object_01 ---
-test_subject_01 test_object_02 rwat
+test_subject_01 test_object_02 rwatl
 test_subject_01 test_object_03 wat
 test_subject_02 test_object_01 $$$$$$$
 test_subject_02 test_object_02 wa-ft
index 5714b92..e11b322 100644 (file)
@@ -1,3 +1,3 @@
-test_subject_01 test_object_01 rwat
+test_subject_01 test_object_01 rwatl
 test_subject_01 test_object_02
 test_subject_01 test_object_03 xxxxx
index 8c553b6..194ef01 100644 (file)
@@ -1,3 +1,3 @@
-test_subject_01 test_object_01 rwxat
+test_subject_01 test_object_01 rwxatl
 test_subject_01 test_object_02 +rwh4r9d32!@#$ 49$%^x2 rwxat
 test_subject_01 test_object_03 aaaaaa xxxxxx
index d4f7ddf..b8600a5 100644 (file)
@@ -1,9 +1,9 @@
-test_subject_01 test_object_01 rwxat
-test_subject_01 test_object_02 rwxat
-test_subject_01 test_object_03 rwxat
-test_subject_02 test_object_01 rwxat
-test_subject_02 test_object_02 rwxat
-test_subject_02 test_object_03 rwxat
-test_subject_03 test_object_01 rwxat
-test_subject_03 test_object_02 rwxat
-test_subject_03 test_object_03 rwxat
+test_subject_01 test_object_01 rwxatl
+test_subject_01 test_object_02 rwxatl
+test_subject_01 test_object_03 rwxatl
+test_subject_02 test_object_01 rwxatl
+test_subject_02 test_object_02 rwxatl
+test_subject_02 test_object_03 rwxatl
+test_subject_03 test_object_01 rwxatl
+test_subject_03 test_object_02 rwxatl
+test_subject_03 test_object_03 rwxatl