X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=tests%2Fiotty.at;h=79589b755fe925299585e0b433398ad2732c0133;hp=ea15c84c3bd579ae7ced532bac99b76e8bb79a1d;hb=7808b6981b2c7f828684148e2a65f9640958a59a;hpb=852895847f41f9b5f268fc84f892c94497f4ffbe diff --git a/tests/iotty.at b/tests/iotty.at index ea15c84..79589b7 100644 --- a/tests/iotty.at +++ b/tests/iotty.at @@ -33,6 +33,8 @@ 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 +43,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])