make some of these tests more posh-friendly

This commit is contained in:
tg 2009-10-15 14:12:46 +00:00
parent 8f3f520725
commit 84f8d3191a
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.324 2009/10/15 12:50:11 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.325 2009/10/15 14:12:46 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -4386,7 +4386,7 @@ description:
stdin:
test \( -f = -f \)
rv=$?
set -o sh
test -n "$POSH_VERSION" || set -o sh
echo -e $rv
expected-stdout:
-e 0
@ -6087,7 +6087,7 @@ description:
file-setup: file 644 "test.sh"
print -u3 Fowl
stdin:
set -o sh
test -n "$POSH_VERSION" || set -o sh
exec 3>&1
"$__progname" test.sh
expected-stdout:
@ -6584,8 +6584,8 @@ expected-stdout:
name: echo-test-2
description:
Test what the echo builtin does (POSIX)
arguments: !-o!sh!
stdin:
test -n "$POSH_VERSION" || set -o sh
echo -n 'foo\x40bar'
echo -e '\tbaz'
expected-stdout: