From 23b009af73b96cca2b625a173406f87124a247a2 Mon Sep 17 00:00:00 2001 From: Tomas Mudrunka Date: Thu, 26 Dec 2024 18:47:51 +0100 Subject: [PATCH] MDRAID Use intermediate file for mdadm testing Signed-off-by: Tomas Mudrunka --- test/misc.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/misc.test b/test/misc.test index a503ea6..33f41f6 100755 --- a/test/misc.test +++ b/test/misc.test @@ -107,9 +107,9 @@ test_expect_success fiptool "fip" " exec_test_set_prereq mdadm test_expect_success mdadm "mdraid" " run_genimage_root mdraid.config test.mdraid && - mdadm --examine images/test.mdraid && - mdadm --examine images/test.mdraid | grep 'Checksum.*correct$' && - mdadm --examine images/test.mdraid | grep 'State.*active$' + LANG=C mdadm --examine images/test.mdraid | tee images/test.mdraid.txt && + grep 'Checksum.*correct$' images/test.mdraid.txt && + grep 'State.*active$' images/test.mdraid.txt " test_done