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
This commit is contained in:
Roman Vasilets 2016-07-28 23:50:34 +03:00
parent db168d7490
commit 3e6147fa72

View File

@ -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