Home | History | Annotate | Download | only in sh

Lines Matching refs:POSIX

53 	[ -n "${POSIXLY_CORRECT+set}" ] && atf_skip "tests non-posix behaviour"
172 " in posix mode are not closed on exec"
179 # First work out how to get shell into posix mode
180 POSIX=
182 # This should succeed only if "set -o posix" succeeds.
187 if ${TEST_SH} -c "set -o posix && exit 0 || exit 1" 2>/dev/null
190 # this really should mean the shell is in posix mode.
192 POSIX='set -o posix;'
198 # differently in posix and non-posix modes, if it
202 # A shell that always operates in posix mode (at least
211 "${POSIX} exec 6> out; echo exec1 >&6; ${TEST_SH} exec2; exec 6>&-"
217 "${POSIX} exec 9> out; echo exec1 >&9; ${TEST_SH} exec2"
222 "${POSIX}" \
230 "${POSIX}" \