]> Dogcows Code - chaz/tar/blobdiff - tests/remfiles01.at
Fix undesired error exit on receiving SIGPIPE.
[chaz/tar] / tests / remfiles01.at
index 73752b4a450d72bdc17abd5f2af43be6a5cbb663..86b5c032e8c996f7e279f187619380a1a18923de 100644 (file)
@@ -52,7 +52,9 @@ EC=$?
 sed -n '/(child)/p' err >&2
 rm err
 find . | sort
-exit $EC
+# Gzip exit code is propagated to the shell. Usually it is
+# 141.  We convert all non-zero exits to 2 to make it predictable.
+test $EC && exit 2
 ],
 [2],
 [.
This page took 0.022815 seconds and 4 git commands to generate.