Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/bin/sh test pipe.



details:   https://anonhg.NetBSD.org/src/rev/2343bff57872
branches:  trunk
changeset: 579951:2343bff57872
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Apr 02 06:09:45 2005 +0000

description:
test pipe.

diffstat:

 regress/bin/sh/set_e.sh |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d1ab3b1ee4b7 -r 2343bff57872 regress/bin/sh/set_e.sh
--- a/regress/bin/sh/set_e.sh   Sat Apr 02 05:43:29 2005 +0000
+++ b/regress/bin/sh/set_e.sh   Sat Apr 02 06:09:45 2005 +0000
@@ -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 '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'
 



Home | Main Index | Thread Index | Old Index