[master] 351f58c Skip this test if gradm2 is around

Federico G. Schwindt fgsch at lodoss.net
Sun Nov 6 14:45:04 CET 2016


commit 351f58c7162e1d03fb287eb27a6d5af275850ff7
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Nov 6 13:26:28 2016 +0000

    Skip this test if gradm2 is around
    
    Some hardened Linux' will map the segment using random addresses as well.

diff --git a/bin/varnishtest/tests/r00962.vtc b/bin/varnishtest/tests/r00962.vtc
index 9b280ec..7d7a6b7 100644
--- a/bin/varnishtest/tests/r00962.vtc
+++ b/bin/varnishtest/tests/r00962.vtc
@@ -1,7 +1,9 @@
 varnishtest "Test address remapping"
 
-# VM-remapping is to random on OSX
+# VM-remapping is too random on OSX
 feature	!OSX
+# Same on some hardened Linux
+feature cmd "gradm2 >& >/dev/null; [ $? -ne 0 ]"
 
 server s1 {
 	rxreq



More information about the varnish-commit mailing list