ash: force inlining of a trivial function
[oweals/busybox.git] / shell / hush_test / hush-misc / nommu3.tests
1 #!/bin/sh
2
3 func()
4 {
5         while read p; do echo "$p"; done
6 }
7
8 pipe_to_func()
9 {
10         # We had a NOMMU bug which caused "echo Ok |" part to be lost
11         echo Ok | func
12 }
13
14 pipe_to_func | cat
15 echo $?