1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/pdsh/fix-test-t6036.patch
2017-10-23 22:48:43 +02:00

15 lines
585 B
Diff

Busybox fold does not accept -w greater than 10000:
fold: number 80000 is not in 1..10000 range
--- a/tests/t6036-long-output-lines.sh
+++ b/tests/t6036-long-output-lines.sh
@@ -22,7 +22,7 @@
test_cmp testfile output
"
test_expect_success 'pdsh does not truncate even longer lines' "
- dd if=/dev/urandom bs=1024 count=100 | $base64 | tr -d '\n' | fold -w80000 > testfile2 &&
+ dd if=/dev/urandom bs=1024 count=100 | $base64 | tr -d '\n' | fold -w10000 > testfile2 &&
echo >>testfile2 &&
pdsh -w foo -N -Rexec cat testfile2 > output2 &&
test_cmp testfile2 output2