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
| ... | ... |
@@ -223,7 +223,7 @@ function configure_tempest {
|
| 223 | 223 |
# Ensure ``flavor_ref`` and ``flavor_ref_alt`` have different values. |
| 224 | 224 |
# Some resize instance in tempest tests depends on this. |
| 225 | 225 |
for f in ${flavors[@]:1}; do
|
| 226 |
- if [[ $f -ne $flavor_ref ]]; then |
|
| 226 |
+ if [[ "$f" != "$flavor_ref" ]]; then |
|
| 227 | 227 |
flavor_ref_alt=$f |
| 228 | 228 |
break |
| 229 | 229 |
fi |