aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdsh/fix-test-t6036.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/pdsh/fix-test-t6036.patch')
-rw-r--r--community/pdsh/fix-test-t6036.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/pdsh/fix-test-t6036.patch b/community/pdsh/fix-test-t6036.patch
new file mode 100644
index 0000000000..7901010625
--- /dev/null
+++ b/community/pdsh/fix-test-t6036.patch
@@ -0,0 +1,15 @@
+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