aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/nommu3.tests
blob: 0aca67a673b9a51c2a585b259329914e94fa6213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 $?