mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
52 lines
1.2 KiB
Diff
52 lines
1.2 KiB
Diff
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 ---
|