[PATCH] Avoid test failure on Linux-2.6.8 due to too small underlying file.

Jim Meyering jim at meyering.net
Fri Jun 22 17:44:27 UTC 2007


Overwrite the label creating a 4KB file; 1KB was too small and would
trigger the failure.  Reported by Bob Proulx.

Signed-off-by: Jim Meyering <jim at meyering.net>
---
 tests/t0000-basic.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/t0000-basic.sh b/tests/t0000-basic.sh
index 83abcea..317ba03 100755
--- a/tests/t0000-basic.sh
+++ b/tests/t0000-basic.sh
@@ -50,7 +50,7 @@ test_expect_success 'expect no output' '$compare out /dev/null'
 
 test_expect_success \
     'erase the left-over label' \
-    'dd if=/dev/zero of=$dev bs=1K count=1 2> /dev/null'
+    'dd if=/dev/zero of=$dev bs=4K count=1 2> /dev/null'
 
 # First iteration works with no prompting, since there is no preexisting label.
 test_expect_success \
-- 
1.5.2.1.280.g38570




More information about the parted-devel mailing list