diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2020-12-17 00:51:14 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2020-12-17 00:51:14 +0000 |
commit | ab9e6159540b71c8a5f8900b7b00e62529eb50d8 (patch) | |
tree | 7e5d0abf609ad5c52e7b45ecdba6ba9dfde10105 /regress/sys/kern/unveil-unmount | |
parent | b8fdd43d117162c8d2a8575e183b845dd894b5bb (diff) |
Remove echo headlines.
Diffstat (limited to 'regress/sys/kern/unveil-unmount')
-rw-r--r-- | regress/sys/kern/unveil-unmount/Makefile | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/regress/sys/kern/unveil-unmount/Makefile b/regress/sys/kern/unveil-unmount/Makefile index 347e06cc409..59da3662d8e 100644 --- a/regress/sys/kern/unveil-unmount/Makefile +++ b/regress/sys/kern/unveil-unmount/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2019/08/06 11:38:16 bluhm Exp $ +# $OpenBSD: Makefile,v 1.5 2020/12/17 00:51:12 bluhm Exp $ # Call unveil(2) in combination with unlink(2), chroot(2), chdir(2). # Use umount(8) to check that the mountpoint leaks no vnode. @@ -10,18 +10,15 @@ CLEANFILES= diskimage .PHONY: mount unconfig clean diskimage: unconfig - @echo '\n======== $@ ========' ${SUDO} dd if=/dev/zero of=diskimage bs=512 count=4k ${SUDO} vnconfig vnd0 diskimage ${SUDO} newfs vnd0c mount: diskimage - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} mount /dev/vnd0c /mnt/regress-unveil unconfig: - @echo '\n======== $@ ========' -${SUDO} umount -f /dev/vnd0c 2>/dev/null || true -${SUDO} rmdir /mnt/regress-unveil 2>/dev/null || true -${SUDO} vnconfig -u vnd0 2>/dev/null || true @@ -33,49 +30,42 @@ REGRESS_TARGETS = REGRESS_TARGETS += run-unlink run-unlink: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-unlink /mnt/regress-unveil/foo bar ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chroot run-chroot: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} ./unveil-chroot /mnt/regress-unveil / ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chroot-dir run-chroot-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-chroot /mnt/regress-unveil/foo / ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chroot-unveil-dir run-chroot-unveil-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-chroot /mnt/regress-unveil /foo ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chroot-dir-unveil-dir run-chroot-dir-unveil-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} ./unveil-chroot /mnt/regress-unveil/foo /bar ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chroot-rootslash run-chroot-rootslash: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} ./unveil-chroot /mnt/regress-unveil // ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chroot-open run-chroot-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil / /baz @@ -83,7 +73,6 @@ run-chroot-open: REGRESS_TARGETS += run-chroot-dir-open run-chroot-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil/foo / /baz @@ -91,7 +80,6 @@ run-chroot-dir-open: REGRESS_TARGETS += run-chroot-unveil-dir-open run-chroot-unveil-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil /foo /baz @@ -99,7 +87,6 @@ run-chroot-unveil-dir-open: REGRESS_TARGETS += run-chroot-dir-unveil-dir-open run-chroot-dir-unveil-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} touch /mnt/regress-unveil/foo/bar/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil/foo /bar /baz @@ -107,7 +94,6 @@ run-chroot-dir-unveil-dir-open: REGRESS_TARGETS += run-chroot-rootslash-open run-chroot-rootslash-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil // /baz @@ -115,7 +101,6 @@ run-chroot-rootslash-open: REGRESS_TARGETS += run-chroot-open-rootslash run-chroot-open-rootslash: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil / //baz @@ -123,7 +108,6 @@ run-chroot-open-rootslash: REGRESS_TARGETS += run-chroot-unveil-rootdot-open run-chroot-unveil-rootdotdot-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil /. /baz @@ -131,7 +115,6 @@ run-chroot-unveil-rootdotdot-open: REGRESS_TARGETS += run-chroot-unveil-rootdotdot-open run-chroot-unveil-rootdotdot-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chroot /mnt/regress-unveil /.. /baz @@ -139,21 +122,18 @@ run-chroot-unveil-rootdotdot-open: REGRESS_TARGETS += run-perm run-perm: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} ./unveil-perm "" /mnt/regress-unveil ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-perm-dir run-perm-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-perm "" /mnt/regress-unveil/foo ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-perm-open run-perm-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-perm "" /mnt/regress-unveil baz @@ -161,7 +141,6 @@ run-perm-open: REGRESS_TARGETS += run-perm-dir-open run-perm-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-perm "" /mnt/regress-unveil/foo baz @@ -169,7 +148,6 @@ run-perm-dir-open: REGRESS_TARGETS += run-perm-create-open run-perm-create-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-perm "c" /mnt/regress-unveil baz @@ -177,7 +155,6 @@ run-perm-create-open: REGRESS_TARGETS += run-perm-dir-create-open run-perm-dir-create-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-perm "c" /mnt/regress-unveil/foo baz @@ -185,7 +162,6 @@ run-perm-dir-create-open: REGRESS_TARGETS += run-perm-write-open run-perm-write-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-perm "w" /mnt/regress-unveil baz @@ -193,7 +169,6 @@ run-perm-write-open: REGRESS_TARGETS += run-perm-dir-write-open run-perm-dir-write-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-perm "w" /mnt/regress-unveil/foo baz @@ -201,63 +176,54 @@ run-perm-dir-write-open: REGRESS_TARGETS += run-chdir run-chdir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} ./unveil-chdir /mnt/regress-unveil . ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-dir run-chdir-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo . ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-unveil-dir run-chdir-unveil-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-chdir /mnt/regress-unveil foo ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-unveil-backdir run-chdir-unveil-backdir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-chdir /mnt/regress-unveil foo/.. ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-unveil-dotdot run-chdir-unveil-dotdot: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo .. ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-dir-unveil-dir run-chdir-dir-unveil-dir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo bar ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-dir-unveil-backdir run-chdir-dir-unveil-backdir: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo bar/.. ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-dir-unveil-dotdot run-chdir-dir-unveil-dotdot: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo/bar .. ${SUDO} umount /mnt/regress-unveil REGRESS_TARGETS += run-chdir-open run-chdir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil . baz @@ -265,7 +231,6 @@ run-chdir-open: REGRESS_TARGETS += run-chdir-dir-open run-chdir-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo . baz @@ -273,7 +238,6 @@ run-chdir-dir-open: REGRESS_TARGETS += run-chdir-unveil-dir-open run-chdir-unveil-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil foo baz @@ -281,7 +245,6 @@ run-chdir-unveil-dir-open: REGRESS_TARGETS += run-chdir-unveil-backdir-open run-chdir-unveil-backdir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil foo/.. baz @@ -289,7 +252,6 @@ run-chdir-unveil-backdir-open: REGRESS_TARGETS += run-chdir-unveil-dotdot-open run-chdir-unveil-dotdot-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo ${SUDO} touch /mnt/regress-unveil/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo .. baz @@ -297,7 +259,6 @@ run-chdir-unveil-dotdot-open: REGRESS_TARGETS += run-chdir-dir-unveil-dir-open run-chdir-dir-unveil-dir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} touch /mnt/regress-unveil/foo/bar/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo bar baz @@ -305,7 +266,6 @@ run-chdir-dir-unveil-dir-open: REGRESS_TARGETS += run-chdir-dir-unveil-backdir-open run-chdir-dir-unveil-backdir-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo bar/.. baz @@ -313,7 +273,6 @@ run-chdir-dir-unveil-backdir-open: REGRESS_TARGETS += run-chdir-dir-unveil-dotdot-open run-chdir-dir-unveil-dotdot-open: - @echo '\n======== $@ ========' ${SUDO} mkdir -p /mnt/regress-unveil/foo/bar ${SUDO} touch /mnt/regress-unveil/foo/baz ${SUDO} ./unveil-chdir /mnt/regress-unveil/foo/bar .. baz |