]> Dogcows Code - chaz/tar/blobdiff - tests/iotty.at
Refuse to write archive contents to a tty.
[chaz/tar] / tests / iotty.at
index ea15c84c3bd579ae7ced532bac99b76e8bb79a1d..79589b755fe925299585e0b433398ad2732c0133 100644 (file)
@@ -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])
 
This page took 0.017101 seconds and 4 git commands to generate.