]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/test.tests
Imported from ../bash-2.05.tar.gz.
[thirdparty/bash.git] / tests / test.tests
index 9df5cc2cd1537532ec846b3691822e503649123c..d84af1bde4d8201db562bda9d65e5fcf34031a91 100644 (file)
@@ -407,3 +407,17 @@ t 4 -eq 4 -a 3 4
 echo $?
 
 t \( \)
+
+# non-numeric arguments to `test -t' should return failure -- fix in 2.05
+echo 't -t a'
+t -t a
+echo 't -t addsds'
+t -t addsds
+echo 't -t 42'
+t -t 42
+echo 't -t /dev/tty'
+t -t /dev/tty
+echo 't -t /dev/tty4'
+t -t /dev/tty4
+echo 't -t /dev/tty4444444...'
+t -t /dev/tty4444444...