diff --git a/tools/smokes/v2/profiles/integration/apps/phase97_next_non_ws_llvm_exe.sh b/tools/smokes/v2/profiles/integration/apps/phase97_next_non_ws_llvm_exe.sh index 17ed1e9c..db6c117e 100644 --- a/tools/smokes/v2/profiles/integration/apps/phase97_next_non_ws_llvm_exe.sh +++ b/tools/smokes/v2/profiles/integration/apps/phase97_next_non_ws_llvm_exe.sh @@ -95,7 +95,7 @@ if [ "$EXIT_CODE" -ne 0 ]; then exit 1 fi -CLEAN=$(printf "%s\n" "$OUTPUT" | grep -E '^-?[0-9]+$' | head -n 3 | tr -d '\r') +CLEAN=$(printf "%s\n" "$OUTPUT" | grep -v '^\[' | grep -E '^-?[0-9]+$' | head -n 3 | tr -d '\r') EXPECTED=$'2\n-1\n3' echo "[INFO] CLEAN output:"