1 # tests sourcing non-regular files, fixed post-3.2
8 echo "echo one - OK" > $TMPFN
13 # non-regular readable file
17 # FIFO or pipe via /dev/fd
18 . <(echo "echo two - OK")
22 if [ -e /dev/stdin ]; then
23 echo "echo three - OK" | . /dev/stdin
26 # no /dev/stdin, just fake it
27 echo "three - OK" ; echo 0
31 mkfifo $TMPDIR/fifo-$$
32 echo "echo four - OK" > $TMPDIR/fifo-$$ &
33 sleep 1 # allow the child echo to execute