[netfilter-cvslog] r3461 - trunk/nfsim-testsuite

rusty at netfilter.org rusty at netfilter.org
Mon Dec 20 03:38:49 CET 2004


Author: rusty at netfilter.org
Date: 2004-12-20 03:38:49 +0100 (Mon, 20 Dec 2004)
New Revision: 3461

Modified:
   trunk/nfsim-testsuite/test.sh
Log:
Samuel Jean: Due to the leading 'v' in 'v1.2.11', expected-failures doesn't match.
Attached patch suppresses the leading 'v' from IPTABLES_VERSION


Modified: trunk/nfsim-testsuite/test.sh
===================================================================
--- trunk/nfsim-testsuite/test.sh	2004-12-19 23:25:53 UTC (rev 3460)
+++ trunk/nfsim-testsuite/test.sh	2004-12-20 02:38:49 UTC (rev 3461)
@@ -125,7 +125,7 @@
 fi
 export IPTABLES NFSIM_IPTABLES_PREFIX
 
-IPTABLES_VERSION=$($IPTABLES --version | tr ' ' '\n' | grep '^[v0-9.-]*$')
+IPTABLES_VERSION=$($IPTABLES --version | tr ' ' '\n' | grep '^[v0-9.-]*$' | sed 's/v//')
 echo Using `which $IPTABLES` version $IPTABLES_VERSION
 
 # Test can be named on command line.




More information about the netfilter-cvslog mailing list