testprogs: Fix failure count in test_net_ads.sh
[samba.git] / testprogs / blackbox / tfork.sh
1 #!/bin/sh
2
3 sleep 1
4
5 echo stdout >&1
6 echo $1 >&1
7 echo stderror >&2
8
9 # close stdout and stderror, but don't exit yet
10 exec 1>&-
11 exec 2>&-
12
13 sleep 1
14
15 exit 0