This test made sure that "md" was ignored when doing partition specific
actions.  We have added code that allows this scan once more, therefore
the test is no longer needed.

* tests/t6001-dm-ignoremd.sh: Remove file.
* tests/Makefile.am: Remove the test file from the list of tests.
---
 tests/Makefile.am          |    1 -
 tests/t6001-dm-ignoremd.sh |   62 --------------------------------------------
 2 files changed, 0 insertions(+), 63 deletions(-)
 delete mode 100755 tests/t6001-dm-ignoremd.sh

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 09caf3d..1e5a211 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -22,7 +22,6 @@ TESTS = \
   t4200-partprobe.sh \
   t5000-tags.sh \
   t6000-dm.sh \
-  t6001-dm-ignoremd.sh \
   t7000-scripting.sh \
   t8000-loop.sh
 
diff --git a/tests/t6001-dm-ignoremd.sh b/tests/t6001-dm-ignoremd.sh
deleted file mode 100755
index 6a3f205..0000000
--- a/tests/t6001-dm-ignoremd.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) 2008 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-test_description='Ignore devices that start with md from /sys/block.'
-
-privileges_required_=1
-device_mapper_required_=1
-
-: ${srcdir=.}
-. $srcdir/test-lib.sh
-
-require_mdadm_
-
-mddev_=
-
-test "x$ENABLE_DEVICE_MAPPER" = xyes ||
-  {
-    say "skipping $0: no device-mapper support"
-    test_done
-    exit
-  }
-
-test -d /sys/block ||
-  {
-    say "skipping $0: system does not have /sys/block"
-    test_done
-    exit
-  }
-
-cleanup_() {
-    mdadm --stop $mddev_ > /dev/null 2>&1
-    test -n "$d1" && losetup -d "$d1"
-    rm -f "$f1";
-}
-
-test_expect_success \
-    'setup: create loop devices' \
-    'f1=$(pwd)/1 && d1=$(loop_setup_ "$f1")'
-
-test_expect_success \
-    'setup: create md# device' \
-    'mddev_=$(mdadm_create_linear_device_ "$d1")'
-
-test_expect_failure \
-    'grep for the created md device' \
-    'parted -s -m -l | grep "Error:.*: unrecognised disk label"'
-
-test_done
-- 
1.6.4


_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to