rename target to reflect reality
authorkn <kn@openbsd.org>
Mon, 21 Aug 2023 17:55:51 +0000 (17:55 +0000)
committerkn <kn@openbsd.org>
Mon, 21 Aug 2023 17:55:51 +0000 (17:55 +0000)
Volumes can be recreated, but the same chunk cannot be used twice.
This is what '-C force' is for.

regress/sbin/bioctl/Makefile

index c7229b7..1dccc99 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.4 2023/08/21 16:58:14 kn Exp $
+#      $OpenBSD: Makefile,v 1.5 2023/08/21 17:55:51 kn Exp $
 
 BIOCTL ?=              /sbin/bioctl
 
@@ -32,13 +32,13 @@ scripted-change-passphrase:
                ${SUDO} ${BIOCTL} -s -P -- "$$(<${VOLDEVFILE})"
 
 
-FAILURE_TESTS =                        recreate-existing-volume \
+FAILURE_TESTS =                        reuse-active-chunk \
                                set-empty-passphrase
 REGRESS_EXPECTED_FAILURES +=   ${FAILURE_TESTS}
 REGRESS_TARGETS +=             ${FAILURE_TESTS}
 REGRESS_ROOT_TARGETS +=                ${FAILURE_TESTS}
 
-recreate-existing-volume:
+reuse-active-chunk:
        ${SUDO} ${BIOCTL} -cC -l"$$(<${CHUNKDEVFILE})a" -- softraid0
 
 set-empty-passphrase: