X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fiotty.at;h=7cbb17800feb298e5c7bdf592af4f7668ceb42b3;hb=a5db4ba5cb8a4e2685ff5eb109eb43d19f7912f8;hp=ea15c84c3bd579ae7ced532bac99b76e8bb79a1d;hpb=b0902369e789c9aadf584799889a34637688d601;p=chaz%2Ftar diff --git a/tests/iotty.at b/tests/iotty.at index ea15c84..7cbb178 100644 --- a/tests/iotty.at +++ b/tests/iotty.at @@ -27,12 +27,15 @@ AT_SETUP([terminal input]) AT_KEYWORDS([options iotty]) AT_TAR_CHECK([ +test -x $abs_builddir/ttyemu || AT_SKIP_TEST TAPE=- export TAPE ttyemu -t5 -i/dev/null tar -x echo $? ttyemu -t5 -i/dev/null tar -xz echo $? +ttyemu -t5 -i/dev/null tar -c . +echo $? ], [0], [tar: Refusing to read archive contents from terminal (missing -f option?) @@ -41,6 +44,9 @@ tar: Error is not recoverable: exiting now tar: Refusing to read archive contents from terminal (missing -f option?) tar: Error is not recoverable: exiting now 2 +tar: Refusing to write archive contents to terminal (missing -f option?) +tar: Error is not recoverable: exiting now +2 ], [],[],[],[posix, gnu, oldgnu])