test pipe.

This commit is contained in:
yamt 2005-04-02 06:09:45 +00:00
parent c2cfe0883b
commit 80216c60c5
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: set_e.sh,v 1.2 2005/04/02 05:43:29 yamt Exp $
# $NetBSD: set_e.sh,v 1.3 2005/04/02 06:09:45 yamt Exp $
rval=0
exec >&2
@ -43,6 +43,8 @@ check 'exit 1' 'Y1'
check 'false' 'Y1'
check '(false)' 'Y1'
check 'false || false' 'Y1'
check 'false | true' 'X0 Y0'
check 'true | false' 'Y1'
check '/nonexistent' 'Y1'
check 'f() { false; }; f' 'Y1'