From 1f7a726f2c2e29bcf40156c7cf2dcfc0936e8e46 Mon Sep 17 00:00:00 2001 From: Roman Vasilets Date: Thu, 28 Jul 2016 23:50:34 +0300 Subject: [PATCH] Fix bash error in raally-gate script Now in the logs you may see http://goo.gl/T4CDzZ line 58: [: : integer expression expected This is because in bash operator = should be used for comparing string values and -eq for integer Change-Id: I7ac659af47bfe70b48600546535d72aa1f9363df --- tests/ci/rally-gate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci/rally-gate.sh b/tests/ci/rally-gate.sh index 08aa7538..cf5264fa 100755 --- a/tests/ci/rally-gate.sh +++ b/tests/ci/rally-gate.sh @@ -55,7 +55,7 @@ rally deployment use --deployment devstack # NOTE(ikhudoshyn): Create additional users and register a new env # so that we could run scenarios using 'existing_users' context -if [ "$DEVSTACK_GATE_PREPOPULATE_USERS" -eq "1" ]; then +if [ "$DEVSTACK_GATE_PREPOPULATE_USERS" = "1" ]; then source ~/.rally/openrc admin admin openstack --version