We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b730d9f commit f003508Copy full SHA for f003508
rewatch/tests/legacy.sh
@@ -4,9 +4,9 @@ cd ../testrepo/packages/compiled-by-legacy
4
bold "Test: It should use the legacy build system"
5
6
error_output=$(rewatch_legacy 2>&1 >/dev/null)
7
-if [ -n "$error_output" ];
+if [ $? -ne 0 ];
8
then
9
- error "Error running rewatch"
+ error "Error running rewatch legacy"
10
printf "%s\n" "$error_output" >&2
11
exit 1
12
fi
0 commit comments