aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/echo_write_error.tests
blob: 0a40c9ff73868a9f19c37139e8011b1eade3aac9 (plain)
1
2
3
4
5
6
7
trap "" PIPE

{
sleep 1
echo Cant write this - get EPIPE
echo Ok: $? >&2
} | { true; }