From fe3e4809476ab4e2e0e905e36f6bb1a45c16a2c3 Mon Sep 17 00:00:00 2001 From: Xiao Ni Date: Wed, 11 Sep 2024 16:54:30 +0800 Subject: [PATCH 181/201] mdadm/tests: 07testreshape5 fix Init dir to avoid test failure. Signed-off-by: Xiao Ni Signed-off-by: Mariusz Tkaczyk --- tests/07testreshape5 | 1 + tests/07testreshape5.broken | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 tests/07testreshape5.broken 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 -- 2.41.0