From: kn Date: Mon, 21 Aug 2023 17:55:51 +0000 (+0000) Subject: rename target to reflect reality X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fccc389995728fc2af1782c87a896f7cb6a561ac;p=openbsd rename target to reflect reality Volumes can be recreated, but the same chunk cannot be used twice. This is what '-C force' is for. --- diff --git a/regress/sbin/bioctl/Makefile b/regress/sbin/bioctl/Makefile index c7229b7888b..1dccc99d3a0 100644 --- a/regress/sbin/bioctl/Makefile +++ b/regress/sbin/bioctl/Makefile @@ -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: