Use string comparison to compare UUID values
Was using the '-ne' integer comparison operator to compare UUID values. This caused error messages like: /opt/stack/new/devstack/lib/tempest: line 226: [[: dfae26ac-1780-4677-902d: value too great for base (error token is "902d") Change it to use '!=' string comparison operator Change-Id: Ib7c9197dd0fe58addf33b4f82beea6de64f6b10b
This commit is contained in:
parent
477c55866b
commit
3345a6d316
@ -223,7 +223,7 @@ function configure_tempest {
|
||||
# Ensure ``flavor_ref`` and ``flavor_ref_alt`` have different values.
|
||||
# Some resize instance in tempest tests depends on this.
|
||||
for f in ${flavors[@]:1}; do
|
||||
if [[ $f -ne $flavor_ref ]]; then
|
||||
if [[ "$f" != "$flavor_ref" ]]; then
|
||||
flavor_ref_alt=$f
|
||||
break
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user