[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: fix false failure due to xargs usage
From: |
Andreas Schwab |
Subject: |
Re: [PATCH] tests: fix false failure due to xargs usage |
Date: |
Mon, 09 Dec 2013 19:43:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Pádraig Brady <address@hidden> writes:
> diff --git a/tests/readlink/multi.sh b/tests/readlink/multi.sh
> index 3b91544..dc4ba87 100755
> --- a/tests/readlink/multi.sh
> +++ b/tests/readlink/multi.sh
> @@ -40,7 +40,7 @@ compare exp out || fail=1
> # Note the edge case that the last xargs run may not have a delimiter
> rm out || framework_failure_
> printf '/1\0/1\0/1' > exp || framework_failure_
> -printf '/1 /1 /1' | xargs -n2 readlink -n -m --zero >> out || fail=1
> +printf '/1 /1 /1 ' | xargs -n2 readlink -n -m --zero >> out || fail=1
Still wrong.
<http://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html>:
The standard input shall be a text file.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."