Imported from ../bash-2.04.tar.gz.

This commit is contained in:
Jari Aalto 2000-03-17 21:46:59 +00:00
commit bb70624e96
387 changed files with 28522 additions and 9334 deletions

22
tests/read2.sub Normal file
View file

@ -0,0 +1,22 @@
a=4
read -t 2 a
echo $?
echo $a
sleep 5 | read -t 1 a
echo $?
echo $a
read -t -3 a
echo $?
echo $a
# the above should all time out
echo abcde | {
read -t 2 a
echo $a
}