From 7e8bfabff26056bbc45bb6d90ed3f5463e04f5f5 Mon Sep 17 00:00:00 2001 From: anton Date: Mon, 21 Aug 2023 05:10:25 +0000 Subject: [PATCH] bioctl tests needs root --- regress/sbin/bioctl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/sbin/bioctl/Makefile b/regress/sbin/bioctl/Makefile index 2994418db1a..837fa50fc8c 100644 --- a/regress/sbin/bioctl/Makefile +++ b/regress/sbin/bioctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2023/08/20 23:19:00 kn Exp $ +# $OpenBSD: Makefile,v 1.2 2023/08/21 05:10:25 anton Exp $ BIOCTL ?= /sbin/bioctl @@ -9,17 +9,17 @@ VOLDEVFILE = vol.txt OLDPW = oldsecret NEWPW = securenew - REGRESS_SETUP_ONCE = create-chunk create-chunk: - dd if=/dev/zero of=${CHUNKFILE} bs=512k count=0 seek=1 status=none + dd if=/dev/zero of=${CHUNKFILE} bs=512k count=0 seek=1 status=none ${SUDO} vnconfig -- ${CHUNKFILE} 1>${CHUNKDEVFILE} echo 'RAID *' | ${SUDO} disklabel -wAT- -- "$$(<${CHUNKDEVFILE})" REGRESS_TARGETS = scripted-create-volume \ scripted-change-passphrase +REGRESS_ROOT_TARGETS = ${REGRESS_TARGETS} scripted-create-volume: printf '%s\n' '${OLDPW}' | \ -- 2.20.1