The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=4cc85d1f00fa1938923fe8d6fc2934593d4303b4
commit 4cc85d1f00fa1938923fe8d6fc2934593d4303b4 Author: Dag-Erling Smørgrav <[email protected]> AuthorDate: 2026-09-13 12:27:50 +0000 Commit: Dag-Erling Smørgrav <[email protected]> CommitDate: 2026-09-13 12:27:50 +0000 tests: Fix graid3 insert tests The script was passing the wrong device name to `graid3 insert` and didn't notice that the command was failing. MFC after: 1 week Event: EuroBSDcon 2026 DevSummit Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D59564 --- tests/sys/geom/class/raid3/6_test.sh | 2 +- tests/sys/geom/class/raid3/7_test.sh | 2 +- tests/sys/geom/class/raid3/8_test.sh | 2 +- tests/sys/geom/class/raid3/9_test.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/sys/geom/class/raid3/6_test.sh b/tests/sys/geom/class/raid3/6_test.sh index 4c1d3288b82b..043aa3045b5d 100644 --- a/tests/sys/geom/class/raid3/6_test.sh +++ b/tests/sys/geom/class/raid3/6_test.sh @@ -26,7 +26,7 @@ dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 # graid3 remove -n 1 $name dd if=/dev/zero of=/dev/${us1} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1 -graid3 insert -n 1 $name md${us1} +graid3 insert -n 1 $name ${us1} sleep 1 dd if=/dev/raid3/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 diff --git a/tests/sys/geom/class/raid3/7_test.sh b/tests/sys/geom/class/raid3/7_test.sh index 53933c96cd99..cdd2e3a77964 100644 --- a/tests/sys/geom/class/raid3/7_test.sh +++ b/tests/sys/geom/class/raid3/7_test.sh @@ -26,7 +26,7 @@ dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 # graid3 remove -n 2 $name dd if=/dev/zero of=/dev/${us2} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1 -graid3 insert -n 2 $name md${us2} +graid3 insert -n 2 $name ${us2} sleep 1 # Remove DATA component, so PARITY component can be used while reading. graid3 remove -n 1 $name diff --git a/tests/sys/geom/class/raid3/8_test.sh b/tests/sys/geom/class/raid3/8_test.sh index 4c31ec0d4b1c..f7138e66fa48 100644 --- a/tests/sys/geom/class/raid3/8_test.sh +++ b/tests/sys/geom/class/raid3/8_test.sh @@ -25,7 +25,7 @@ devwait graid3 remove -n 1 $name dd if=/dev/zero of=/dev/${us1} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1 dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 -graid3 insert -n 1 $name md${us1} +graid3 insert -n 1 $name ${us1} sleep 1 dd if=/dev/raid3/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 diff --git a/tests/sys/geom/class/raid3/9_test.sh b/tests/sys/geom/class/raid3/9_test.sh index 880b2a20c817..33b11a21caba 100644 --- a/tests/sys/geom/class/raid3/9_test.sh +++ b/tests/sys/geom/class/raid3/9_test.sh @@ -25,7 +25,7 @@ devwait graid3 remove -n 2 $name dd if=/dev/zero of=/dev/${us2} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1 dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 -graid3 insert -n 2 $name md${us2} +graid3 insert -n 2 $name ${us2} sleep 1 # Remove DATA component, so PARITY component can be used while reading. graid3 remove -n 1 $name
