diff --git a/lib/tempest b/lib/tempest index 2834350788..fe508af1bf 100644 --- a/lib/tempest +++ b/lib/tempest @@ -228,7 +228,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