diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2023-08-21 05:10:26 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2023-08-21 05:10:26 +0000 |
commit | d7f640b650f3e12c8d797c7bb8c261397f931a00 (patch) | |
tree | 3e15253410dc5ffebf9417f09185cfa4c8e627d2 /regress/sbin/bioctl | |
parent | e6001348a5fb7f5c6eb71e39983f140b08c12c6c (diff) |
bioctl tests needs root
Diffstat (limited to 'regress/sbin/bioctl')
-rw-r--r-- | regress/sbin/bioctl/Makefile | 6 |
1 files 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}' | \ |