[PATCH 4/4] tests: t7000: remove mkpartfs tests

Jim Meyering meyering at redhat.com
Fri Sep 18 06:40:54 UTC 2009


This test tested both mkpart and mkpartfs.
* tests/t7000-scripting.sh: Remove the mkpartfs tests.
---
 tests/t7000-scripting.sh |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/tests/t7000-scripting.sh b/tests/t7000-scripting.sh
index 21cd344..1a70c1e 100755
--- a/tests/t7000-scripting.sh
+++ b/tests/t7000-scripting.sh
@@ -45,11 +45,9 @@ normalize_part_diag_ errS || fail=3D1
   sed s/Error/Warning/ errS
   printf 'Is this still acceptable to you?\nYes/No?'; } >> errI || fail=3D=
1

-for mkpart in mkpart mkpartfs; do
-  # With larger sector size, skip FS-related use of mkpartfs.
-  test $sector_size_ -gt 512 && test $mkpart =3D mkpartfs && continue
+for mkpart in mkpart; do

-  # Test for mkpart/mkpartfs in scripting mode
+  # Test for mkpart in scripting mode
   test_expect_success \
       'Create the test file' \
       'dd if=3D/dev/zero of=3Dtestfile bs=3D${ss}c count=3D$N 2> /dev/nu=
ll'
@@ -65,7 +63,7 @@ for mkpart in mkpart mkpartfs; do
        compare out errS
       '

-  # Test mkpart/mkpartfsin interactive mode.
+  # Test mkpart interactive mode.
   test_expect_success \
       'Create the test file' \
       '
--=20
1.6.5.rc1.192.g63b0


--=-=-=--



More information about the parted-devel mailing list