From 9b7c46904d340bfaa2ab302cb895c1c2c781cffa Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 26 Jun 2019 13:48:43 -0700 Subject: split.test: don't rely on bash process substitution. mksh doesn't support process substitution, so use an explicit temporary file. --- tests/split.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/split.test b/tests/split.test index 533cd4fa..4a522432 100755 --- a/tests/split.test +++ b/tests/split.test @@ -25,7 +25,7 @@ testing "bytes" \ "seq 1 20000 | split -b 100 -a 3 - whang && ls whang* | wc -l && wc -c whangbpw" "1089\n94 whangbpw\n" "" "" testing "reassembly" \ - 'diff -u <(ls whang* | sort | xargs cat) <(seq 1 20000) && echo yes' \ + 'ls whang* | sort | xargs cat > reassembled && seq 1 20000 | diff -u reassembled - && echo yes' \ "yes\n" "" "" -rm file whang* +rm file whang* reassembled -- cgit v1.2.3