X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=tests%2Fremfiles01.at;h=86b5c032e8c996f7e279f187619380a1a18923de;hb=b60e56fdb6fd8d82a1f92a4fa7781d9a3184dce1;hp=940fd953af79f1f154f103d83fced9f0429468d6;hpb=0c6c288b5360fcdb7f9b5826d05c01ade33253f0;p=chaz%2Ftar diff --git a/tests/remfiles01.at b/tests/remfiles01.at index 940fd95..86b5c03 100644 --- a/tests/remfiles01.at +++ b/tests/remfiles01.at @@ -30,6 +30,7 @@ AT_KEYWORDS([create remove-files remfiles01 gzip]) unset TAR_OPTIONS AT_CHECK([ +AT_UNPRIVILEGED_PREREQ AT_GZIP_PREREQ AT_SORT_PREREQ @@ -51,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], [.