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 function as well.
details: https://anonhg.NetBSD.org/src/rev/d1ab3b1ee4b7
branches: trunk
changeset: 579950:d1ab3b1ee4b7
user: yamt <yamt%NetBSD.org@localhost>
date: Sat Apr 02 05:43:29 2005 +0000
description:
test function as well.
diffstat:
regress/bin/sh/set_e.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 2d81f1480b30 -r d1ab3b1ee4b7 regress/bin/sh/set_e.sh
--- a/regress/bin/sh/set_e.sh Sat Apr 02 04:56:09 2005 +0000
+++ b/regress/bin/sh/set_e.sh Sat Apr 02 05:43:29 2005 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: set_e.sh,v 1.1 2005/03/31 08:52:49 yamt Exp $
+# $NetBSD: set_e.sh,v 1.2 2005/04/02 05:43:29 yamt Exp $
rval=0
exec >&2
@@ -44,5 +44,6 @@
check '(false)' 'Y1'
check 'false || false' 'Y1'
check '/nonexistent' 'Y1'
+check 'f() { false; }; f' 'Y1'
exit $rval
Home |
Main Index |
Thread Index |
Old Index