]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/read6.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / read6.sub
CommitLineData
3185942a 1# test read with a timeout of 0 -- input polling
17345e5a
JA
2# sleep with fractional seconds argument is not universal
3echo abcde | { sleep 0.25 2>/dev/null ; read -t 0; }
3185942a
JA
4echo $?
5
6read -t 0 < $0
7echo $?
8
9read -t 0
10echo $?