summaryrefslogtreecommitdiff
blob: fa82792cddbddf0e4088d887a964e41690e391bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
disable tests that mess with system wide settings

https://bugs.gentoo.org/519062

--- keyutils-1.5.10/tests/bugzillas/bz1031154/runtest.sh
+++ keyutils-1.5.10/tests/bugzillas/bz1031154/runtest.sh
@@ -27,6 +27,8 @@
 
 echo "++++ BEGINNING TEST" >$OUTPUTFILE
 
+if false ; then
+
 # we need a reference time to scan the audit log from so as not to pick up old
 # results from this test.
 base_date=`date +"%x@%X"`
@@ -97,6 +99,10 @@
 	fi
 fi
 
+else
+marker "Gentoo: skipping test due to system wide modifications"
+fi
+
 echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE
 
 # --- then report the results in the database ---

https://bugs.gentoo.org/522050

--- keyutils-1.5.10/tests/keyctl/padd/useradd/runtest.sh
+++ keyutils-1.5.10/tests/keyctl/padd/useradd/runtest.sh
@@ -40,6 +40,8 @@
 marker "UNLINK KEY"
 unlink_key $keyid @s
 
+if false ; then
+
 if [ $skip_root_required = 0 ] && {
         [ $OSDIST = RHEL ] && ! version_less_than $OSRELEASE 6.6 ||
         keyutils_at_or_later_than 1.5.6 ;
@@ -85,6 +87,10 @@
     fi
 fi
 
+else
+marker "Gentoo: skipping test due to system wide modifications"
+fi
+
 echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE
 
 # --- then report the results in the database ---