[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: port big-match to non-GNU dd
From: |
Paul Eggert |
Subject: |
[PATCH] tests: port big-match to non-GNU dd |
Date: |
Sun, 11 Mar 2012 23:36:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
Here's a proposed patch to fix a portability glitch
in an expensive test case.
* tests/big-match: Don't assume GNU dd extension "bs=1M".
---
tests/big-match | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/big-match b/tests/big-match
index 1a3aeed..51e0ffd 100755
--- a/tests/big-match
+++ b/tests/big-match
@@ -5,7 +5,7 @@
expensive_
# Create a one-line file containing slightly more than 2 GiB.
-echo x | dd bs=1M seek=2048 >2G-plus-2 || framework_failure_
+echo x | dd bs=1024k seek=2048 >2G-plus-2 || framework_failure_
skip_diagnostic=
--
1.7.6.5
- [PATCH] tests: port big-match to non-GNU dd,
Paul Eggert <=