summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiao Ni <xni@redhat.com>2024-09-11 10:54:30 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-09-23 10:49:04 +0200
commitfe3e4809476ab4e2e0e905e36f6bb1a45c16a2c3 (patch)
tree98659780d8910f9ec77451f538727a168aab271d
parentmdadm/tests: Remove 07reshape5intr.broken (diff)
downloadmdadm-fe3e4809476ab4e2e0e905e36f6bb1a45c16a2c3.tar.xz
mdadm-fe3e4809476ab4e2e0e905e36f6bb1a45c16a2c3.zip
mdadm/tests: 07testreshape5 fix
Init dir to avoid test failure. Signed-off-by: Xiao Ni <xni@redhat.com> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
-rw-r--r--tests/07testreshape51
-rw-r--r--tests/07testreshape5.broken12
2 files changed, 1 insertions, 12 deletions
diff --git a/tests/07testreshape5 b/tests/07testreshape5
index 0e1f25f9..d90fd15e 100644
--- a/tests/07testreshape5
+++ b/tests/07testreshape5
@@ -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
index a8ce03e4..00000000
--- a/tests/07testreshape5.broken
+++ /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