Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/bin/sh Skip the test of non-posix behaviour if we are ...
details: https://anonhg.NetBSD.org/src/rev/7731fdf604c8
branches: trunk
changeset: 353896:7731fdf604c8
user: kre <kre%NetBSD.org@localhost>
date: Sat May 27 13:11:50 2017 +0000
description:
Skip the test of non-posix behaviour if we are deliberately trying
to be posix compatible (POSIXLY_CORRECT is set).
diffstat:
tests/bin/sh/t_redircloexec.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 9ed4428be2ad -r 7731fdf604c8 tests/bin/sh/t_redircloexec.sh
--- a/tests/bin/sh/t_redircloexec.sh Sat May 27 12:15:34 2017 +0000
+++ b/tests/bin/sh/t_redircloexec.sh Sat May 27 13:11:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_redircloexec.sh,v 1.4 2017/05/14 17:28:46 kre Exp $
+# $NetBSD: t_redircloexec.sh,v 1.5 2017/05/27 13:11:50 kre Exp $
#
# Copyright (c) 2016 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -50,6 +50,8 @@
}
exec_redir_closed_body() {
+ [ -n "${POSIXLY_CORRECT+set}" ] && atf_skip "tests non-posix behaviour"
+
mkhelper exec 6 \
"exec 6> out; echo exec1 >&6; ${TEST_SH} exec2; exec 6>&-"
Home |
Main Index |
Thread Index |
Old Index