15028: Fix bashism
[arvados.git] / sdk / cwl / test_with_arvbox.sh
index 2bdf0540c0bdf8e0d04691ee1d9e73f3d39d3ed7..39c834ed60f93da64db19db3c744c8a1279231b1 100755 (executable)
@@ -66,6 +66,10 @@ if test -z "$ARVBOX_CONTAINER" ; then
    export ARVBOX_CONTAINER=cwltest
 fi
 
+if test "$suite" = "conformance" ; then
+  suite=conformance-v1.0
+fi
+
 if test $reset_container = 1 ; then
     arvbox stop
     docker rm $ARVBOX_CONTAINER
@@ -98,10 +102,6 @@ fi
 mkdir -p /tmp/cwltest
 cd /tmp/cwltest
 
-if [[ "$suite" = "conformance" ]] ; then
-  suite=conformance-v1.0
-fi
-
 if [[ "$suite" = "conformance-v1.0" ]] ; then
    if ! test -d common-workflow-language ; then
      git clone https://github.com/common-workflow-language/common-workflow-language.git