diff options
author | blsaws <bryan.sullivan@att.com> | 2016-06-14 20:12:34 -0700 |
---|---|---|
committer | blsaws <bryan.sullivan@att.com> | 2016-06-14 20:12:34 -0700 |
commit | 74a4ccedaea0b62ff2a1bc5093f830351a326ec1 (patch) | |
tree | 5fdd41989e0c92ea9a5bf5af5e91ec479f8b05e6 | |
parent | 59596787339714bff92fb4be8ffe2b148bbcafff (diff) |
Fix need for double brackets on test
JIRA: COPPER-4
Change-Id: I04e72cb6cc89be6d4d81d60ecd8e737a9a24829f
Signed-off-by: blsaws <bryan.sullivan@att.com>
-rw-r--r-- | tests/dmz.sh | 2 |
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 |