From 4ee32cc12dc0bef9b8d15c3757573b7bdb5a5271 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 19 May 2015 18:15:59 +0100 Subject: [PATCH] Extend smoke test for new drop rule Note that we have to wrap the '!' in 'sh -c' to get the negation to work as expected. --- test/130_expose_test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/130_expose_test.sh b/test/130_expose_test.sh index abe38b0f..9bfc238a 100755 --- a/test/130_expose_test.sh +++ b/test/130_expose_test.sh @@ -25,10 +25,9 @@ check_container_connectivity() { exec_on1 "c1 $PING $C2" exec_on1 "c3 $PING $C4" exec_on1 "c5 $PING $C6" - # fails due to #620 - # exec_on1 "c3 ! $PING $C1" - # exec_on1 "c5 ! $PING $C1" - # exec_on1 "c5 ! $PING $C3" + exec_on1 "c3 sh -c \"! $PING $C1\"" + exec_on1 "c5 sh -c \"! $PING $C1\"" + exec_on1 "c5 sh -c \"! $PING $C3\"" } start_suite "exposing weave network to host"