Skip to content

Commit

Permalink
MDRAID Use intermediate file for mdadm testing
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Mudrunka <[email protected]>
  • Loading branch information
Harvie committed Dec 26, 2024
1 parent 38ff037 commit 23b009a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/misc.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23b009a

Please sign in to comment.