]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/read2.sub
Imported from ../bash-3.0.tar.gz.
[thirdparty/bash.git] / tests / read2.sub
index 1e632c35d18968f54d168339336448d118709541..176cf86365c702ceacfe0d55922656732dc9d509 100644 (file)
@@ -1,6 +1,6 @@
 a=4
 
-read -t 2 a
+read -t 2 a < /dev/tty
 echo $?
 
 echo $a
@@ -10,7 +10,7 @@ echo $?
 
 echo $a
 
-read -t -3 a
+read -t -3 a < /dev/tty
 echo $?
 
 echo $a