this test even works with the defutf8 mkshen as the shell is !interactive
This commit is contained in:
		
							
								
								
									
										4
									
								
								check.t
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								check.t
									
									
									
									
									
								
							| @@ -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: 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 $ | ||||||
| @@ -4365,7 +4365,7 @@ expected-stderr-pattern: | |||||||
| name: utf8bom-3 | name: utf8bom-3 | ||||||
| description: | description: | ||||||
| 	Reading the UTF-8 BOM should enable the utf8-hack flag | 	Reading the UTF-8 BOM should enable the utf8-hack flag | ||||||
| category: pdksh,!dutf | category: pdksh | ||||||
| stdin: | 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' | ||||||
| 	"$__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' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user