1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/testprogs/blackbox/tfork.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
152 B
Bash
Raw Normal View History

#!/bin/sh
sleep 1
echo stdout >&1
echo $1 >&1
echo stderror >&2
# close stdout and stderror, but don't exit yet
exec 1>&-
exec 2>&-
sleep 1
exit 0