fix posix-mode-1 test on GNU/Linux:
grep: write error: Bad file descriptor
This commit is contained in:
parent
851e2d1bdb
commit
bd6d364c22
14
check.t
14
check.t
|
@ -1,4 +1,4 @@
|
||||||
# $MirOS: src/bin/mksh/check.t,v 1.65 2006/09/07 13:25:14 tg Exp $
|
# $MirOS: src/bin/mksh/check.t,v 1.66 2006/09/21 22:08:26 tg Exp $
|
||||||
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas 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: 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 $
|
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
|
||||||
|
@ -3795,8 +3795,8 @@ description:
|
||||||
stdin:
|
stdin:
|
||||||
set -o braceexpand
|
set -o braceexpand
|
||||||
set +o posix
|
set +o posix
|
||||||
set +o | fgrep posix >&- && echo posix || echo noposix
|
set +o | fgrep posix >/dev/null && echo posix || echo noposix
|
||||||
set +o | fgrep braceexpand >&- && echo brex || echo nobrex
|
set +o | fgrep braceexpand >/dev/null && echo brex || echo nobrex
|
||||||
echo {a,b,c}
|
echo {a,b,c}
|
||||||
set +o braceexpand
|
set +o braceexpand
|
||||||
echo {a,b,c}
|
echo {a,b,c}
|
||||||
|
@ -3804,12 +3804,12 @@ stdin:
|
||||||
echo {a,b,c}
|
echo {a,b,c}
|
||||||
set -o posix
|
set -o posix
|
||||||
echo {a,b,c}
|
echo {a,b,c}
|
||||||
set +o | fgrep posix >&- && echo posix || echo noposix
|
set +o | fgrep posix >/dev/null && echo posix || echo noposix
|
||||||
set +o | fgrep braceexpand >&- && echo brex || echo nobrex
|
set +o | fgrep braceexpand >/dev/null && echo brex || echo nobrex
|
||||||
set -o braceexpand
|
set -o braceexpand
|
||||||
echo {a,b,c}
|
echo {a,b,c}
|
||||||
set +o | fgrep posix >&- && echo posix || echo noposix
|
set +o | fgrep posix >/dev/null && echo posix || echo noposix
|
||||||
set +o | fgrep braceexpand >&- && echo brex || echo nobrex
|
set +o | fgrep braceexpand >/dev/null && echo brex || echo nobrex
|
||||||
expected-stdout:
|
expected-stdout:
|
||||||
noposix
|
noposix
|
||||||
brex
|
brex
|
||||||
|
|
Loading…
Reference in New Issue