hush/shell/hush_test/hush-misc/nommu3.tests

16 lines
183 B
Bash
Executable File

#!/bin/sh
func()
{
while read p; do echo "$p"; done
}
pipe_to_func()
{
# We had a NOMMU bug which caused "echo Ok |" part ot be lost
echo Ok | func
}
pipe_to_func | cat
echo $?