summaryrefslogtreecommitdiffstats
path: root/tests/dmz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dmz.sh')
-rw-r--r--tests/dmz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dmz.sh b/tests/dmz.sh
index f915378..b644e0e 100644
--- a/tests/dmz.sh
+++ b/tests/dmz.sh
@@ -157,7 +157,7 @@ until [[ $COUNTER -eq 0 || $RESULT == "Test Success!" ]]; do
openstack congress policy row list test dmz_server
dmz_cirros1=$(openstack congress policy row list test dmz_server | awk "/ $test_cirros1_ID / { print \$2 }")
dmz_cirros2=$(openstack congress policy row list test dmz_server | awk "/ $test_cirros2_ID / { print \$2 }")
- if [ "$dmz_cirros1" == "$test_cirros1_ID" ] && [ "$dmz_cirros2" == "$test_cirros2_ID" ]; then RESULT="Test Success!"; fi
+ if [[ "$dmz_cirros1" == "$test_cirros1_ID" && "$dmz_cirros2" == "$test_cirros2_ID" ]]; then RESULT="Test Success!"; fi
let COUNTER-=1
sleep 5
done