Imported from ../bash-4.0-rc1.tar.gz.
This commit is contained in:
parent
f1be666c7d
commit
3185942a52
666 changed files with 188710 additions and 54674 deletions
10
tests/read6.sub
Normal file
10
tests/read6.sub
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# test read with a timeout of 0 -- input polling
|
||||
|
||||
echo abcde | { sleep 0.25 ; read -t 0; }
|
||||
echo $?
|
||||
|
||||
read -t 0 < $0
|
||||
echo $?
|
||||
|
||||
read -t 0
|
||||
echo $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue