On 9/23/18 9:48 PM, Pádraig Brady wrote:
I'll push the attached later.
Interesting there were no echo tests until now.

Marking this as done.

Thanks.

+++ b/tests/misc/echo.sh

+
+# Verify the methods of specifying "Escape":
+# Note 4 octal digits are allows (unlike printf which uses up to 3)

allowed

+++ b/tests/misc/printf.sh
@@ -60,9 +60,8 @@ $prog '5 % +d\n' 234  >> out || fail=1
  # coreutils-5.0.1, it would print six bytes: "6 \41\n".
  $prog '6 \41\n' | tr '\41' '!' >> out
-# Note that as of coreutils-5.0.1, printf with a format of '\0002x'
-# prints a NUL byte followed by the digit '2' and an 'x'.
-# By contrast bash's printf outputs the same thing as $(printf '\2x') does.
+# Note that as of coreutils-5.0.1, printf with a format of '\0002y'
+# prints a NUL byte followed by the digit '2' and an 'y'.

s/an/a/

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



Reply via email to