Skip the test of non-posix behaviour if we are deliberately trying
to be posix compatible (POSIXLY_CORRECT is set).
This commit is contained in:
parent
3e954dfe56
commit
ff906b151f
@ -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_head() {
|
||||
}
|
||||
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>&-"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user