this test even works with the defutf8 mkshen as the shell is !interactive

This commit is contained in:
tg 2008-05-04 01:39:12 +00:00
parent 3a9febd94d
commit fed038354d

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.190 2008/05/04 01:38:04 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.191 2008/05/04 01:39:12 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 $
@ -4365,7 +4365,7 @@ expected-stderr-pattern:
name: utf8bom-3
description:
Reading the UTF-8 BOM should enable the utf8-hack flag
category: pdksh,!dutf
category: pdksh
stdin:
"$__progname" -c ':; if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then print on; else print off; fi'
"$__progname" -c ':; if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then print on; else print off; fi'