From b6d1e842c10bd0fe6d7e6937207c44c753caa7dd Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Mon, 9 Dec 2013 13:34:03 +0000 Subject: tests: fix false failure due to xargs usage * tests/readlink/multi.sh: Ensure there is a trailing delimeter or xargs may (on AIX 7 at least) suppress the last argument. --- tests/readlink/multi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/readlink/multi.sh b/tests/readlink/multi.sh index 3b9154430..dc4ba8776 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 compare exp out || fail=1 Exit $fail -- cgit v1.2.3-54-g00ecf