bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: avoid new, spurious test failure


From: Jim Meyering
Subject: [PATCH] tests: avoid new, spurious test failure
Date: Thu, 12 May 2011 21:37:48 +0200

Without this change, this part of "make check" would fail:

  make check -C tests PARTED_SECTOR_SIZE=1024 \
    TESTS=t9050-partition-table-types.sh

>From 697ca615e33425cf9d158ba8a74839874a2927e1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 12 May 2011 21:36:40 +0200
Subject: [PATCH] tests: avoid new, spurious test failure

* tests/t9050-partition-table-types.sh: Use a "device size"
that is large enough to accommodate 1KiB and 4KiB sectors.
The original size, 3MiB was too small for a dvh partition
with PARTED_SECTOR_SIZE=1024.  Increase it to 30MiB.
---
 tests/t9050-partition-table-types.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/t9050-partition-table-types.sh 
b/tests/t9050-partition-table-types.sh
index 98acc63..20e9a9d 100755
--- a/tests/t9050-partition-table-types.sh
+++ b/tests/t9050-partition-table-types.sh
@@ -36,7 +36,7 @@ sun
 mkswap
 '

-dd if=/dev/null of=f bs=1 seek=3M || framework_failure_
+dd if=/dev/null of=f bs=1 seek=30M || framework_failure_

 for i in $types; do
   for j in $types; do
--
1.7.5.1.398.g86d1d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]