X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fremfiles01.at;h=86b5c032e8c996f7e279f187619380a1a18923de;hb=340dbf5aabfee4e1e657f8ebf202a2fee1750a63;hp=73752b4a450d72bdc17abd5f2af43be6a5cbb663;hpb=c1d3d134939d48e921b981f400808663f4e74001;p=chaz%2Ftar diff --git a/tests/remfiles01.at b/tests/remfiles01.at index 73752b4..86b5c03 100644 --- a/tests/remfiles01.at +++ b/tests/remfiles01.at @@ -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], [.