diff options
author | kn <kn@openbsd.org> | 2019-05-21 20:15:06 +0000 |
---|---|---|
committer | kn <kn@openbsd.org> | 2019-05-21 20:15:06 +0000 |
commit | cfa1ef0faba109faf2b15d7d80f34d71e356da5c (patch) | |
tree | f2a9f0577a59b43dfec25699c9be3ad8adf76dc3 /regress/libexec | |
parent | forgot to add the testcase sorry (diff) | |
download | wireguard-openbsd-cfa1ef0faba109faf2b15d7d80f34d71e356da5c.tar.xz wireguard-openbsd-cfa1ef0faba109faf2b15d7d80f34d71e356da5c.zip |
Avoid rm(1) prompt and show out in clean target
Errornously running regress and clean as different users may lead to
interactive conformation being hidden and a seemingly stalled target.
Force remove files and keep standard out/error as is to make the clean
target non-interatively, actually complete and show helpful errors.
Diffstat (limited to 'regress/libexec')
-rw-r--r-- | regress/libexec/ld.so/link-order/test/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/libexec/ld.so/link-order/test/Makefile b/regress/libexec/ld.so/link-order/test/Makefile index 813820e0ac5..6c2993368d6 100644 --- a/regress/libexec/ld.so/link-order/test/Makefile +++ b/regress/libexec/ld.so/link-order/test/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2013/07/05 21:29:51 miod Exp $ +# $OpenBSD: Makefile,v 1.8 2019/05/21 20:15:06 kn Exp $ .include <bsd.own.mk> @@ -57,7 +57,7 @@ make-lib: prog @mkdir lib >/dev/null 2>&1 || true clean: - @rm lib/* >/dev/null 2>&1 || true + @rm -f lib/* test-none: make-lib clean sh ${.CURDIR}/test.sh ${PROGPATH} '%ERROR%' |