diff --git a/tests/backward_compatibility_tests.sh b/tests/backward_compatibility_tests.sh index 4bcd9e58d44..5e533e65b54 100644 --- a/tests/backward_compatibility_tests.sh +++ b/tests/backward_compatibility_tests.sh @@ -90,8 +90,8 @@ rm -r ~/.sky/wheels || true sky stop -y ${CLUSTER_NAME}-2 sky start -y ${CLUSTER_NAME}-2 s=$(sky exec --cloud ${CLOUD} -d ${CLUSTER_NAME}-2 examples/minimal.yaml) -echo $s -echo $s | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" | grep "Job ID: 2" || exit 1 +echo "$s" +echo "$s" | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" | grep "Job ID: 2" || exit 1 fi # `sky autostop` + `sky status -r`