]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm/tests: 07testreshape5 fix
authorXiao Ni <xni@redhat.com>
Wed, 11 Sep 2024 08:54:30 +0000 (16:54 +0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Mon, 23 Sep 2024 08:49:04 +0000 (10:49 +0200)
Init dir to avoid test failure.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
tests/07testreshape5
tests/07testreshape5.broken [deleted file]

index 0e1f25f98bc836f7ec8be21219d6a9a494ddfdfe..d90fd15e0e613ce57af0296d5fea1b5fb58f200a 100644 (file)
@@ -4,6 +4,7 @@
 # kernel md code to move data into and out of variously
 # shaped md arrays.
 set -x
+dir="."
 layouts=(la ra ls rs)
 for level in 5 6
 do
diff --git a/tests/07testreshape5.broken b/tests/07testreshape5.broken
deleted file mode 100644 (file)
index a8ce03e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-always fails
-
-Test seems to run 'test_stripe' at $dir directory, but $dir is never
-set. If $dir is adjusted to $PWD, the test still fails with:
-
-    mdadm: /dev/loop2 is not suitable for this array.
-    mdadm: create aborted
-    ++ return 1
-    ++ cmp -s -n 8192 /dev/md0 /tmp/RandFile
-    ++ echo cmp failed
-    cmp failed
-    ++ exit 2