git: d9dd2f9efb6b - stable/14 - tests: Fix graid3 insert tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Sep 2026 17:07:54 UTC
The branch stable/14 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=d9dd2f9efb6b397241a607212b96d573214c6fdb
commit d9dd2f9efb6b397241a607212b96d573214c6fdb
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-09-13 12:27:50 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-09-20 16:51:17 +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
(cherry picked from commit 4cc85d1f00fa1938923fe8d6fc2934593d4303b4)
---
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 562c6f021e88..085c7f7f32ec 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 e2aeb783890f..39d921e19ea6 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 bd3463a465f2..ca6dff480eca 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 dc26ff53b6ce..ad037fc05d8e 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