coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [platform-testers] new snapshot available: coreutils-8.30.79-efa3e.t


From: Eric Blake
Subject: Re: [platform-testers] new snapshot available: coreutils-8.30.79-efa3e.tar.xz
Date: Wed, 6 Mar 2019 23:15:57 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 3/6/19 11:09 PM, Pádraig Brady wrote:

> * tests/id/zero.sh: sed on OSX will output a \n even
> if the input doesn't have a \n on the last "line".
> So ensure we always have a trailing '\n' to avoid the disparity.
> ---
>  tests/id/zero.sh | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/id/zero.sh b/tests/id/zero.sh
> index 085ea7c..471962c 100755
> --- a/tests/id/zero.sh
> +++ b/tests/id/zero.sh
> @@ -89,13 +89,15 @@ for o in G Gr ; do
>    for n in '' n ; do
>      id -${o}${n}  $users >> gtmp1 ||
>        { test $? -ne 1 || test -z "$n" && fail=1; }
> +    printf '\n' >> gtmp1 || framework_failure_

Worth spelling it "echo" instead of the more verbose "printf '\n'"?

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]