From ce7359ffc5a3d9a525ce356ece0099320390c8ae Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 15 Oct 2009 15:32:34 +0000 Subject: [PATCH] =?UTF-8?q?posh=E2=80=99s=20utilities-echo-2=20is=20actual?= =?UTF-8?q?ly=20incorrect;=20reason=20here=20cf.=20Message-ID:=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/check.t b/check.t index 8dd169c..282e763 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.327 2009/10/15 15:23:41 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.328 2009/10/15 15:32:34 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 $ @@ -6600,6 +6600,10 @@ expected-stdout: name: echo-test-2 description: Test what the echo builtin does (POSIX) + Note: this follows Debian Policy 10.4 which mandates + that -n shall be treated as an option, not XSI which + mandates it shall be treated as string but escapes + shall be expanded. stdin: test -n "$POSH_VERSION" || set -o sh echo -n 'foo\x40bar'