Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/bin/sh ksh trap has been fixed.
details: https://anonhg.NetBSD.org/src/rev/e3f91cdd9ca9
branches: trunk
changeset: 778426:e3f91cdd9ca9
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 25 17:30:59 2012 +0000
description:
ksh trap has been fixed.
diffstat:
tests/bin/sh/t_exit.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 922107fc068f -r e3f91cdd9ca9 tests/bin/sh/t_exit.sh
--- a/tests/bin/sh/t_exit.sh Sun Mar 25 17:23:48 2012 +0000
+++ b/tests/bin/sh/t_exit.sh Sun Mar 25 17:30:59 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_exit.sh,v 1.1 2012/03/17 16:33:11 jruoho Exp $
+# $NetBSD: t_exit.sh,v 1.2 2012/03/25 17:30:59 christos Exp $
#
# Copyright (c) 2007 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -64,9 +64,9 @@
atf_test_case trap_zero__implicit_exit
trap_zero__implicit_exit_body() {
+ # PR bin/6764: sh works but ksh does not"
echo '( trap "echo exiting" 0 )' >helper.sh
atf_check -s eq:0 -o match:exiting -e empty /bin/sh helper.sh
- atf_expect_fail "PR bin/6764: sh works but ksh does not"
atf_check -s eq:0 -o match:exiting -e empty /bin/ksh helper.sh
}
Home |
Main Index |
Thread Index |
Old Index