diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2018-11-22 08:48:32 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-11-22 20:58:27 +1100 |
commit | e4ae345dc75b34fd870c2e8690d831d2c1088eb7 (patch) | |
tree | 3f48b32dd7835a20f41a5b5f26ba9a05207e18e0 /regress/Makefile | |
parent | f72d0f52effca5aa20a193217346615ecd3eed53 (diff) |
upstream: Append pid to temp files in /var/run and set a cleanup
trap for them. This allows multiple instances of tests to run without
colliding.
OpenBSD-Regress-ID: 57add105ecdfc54752d8003acdd99eb68c3e0b4c
Diffstat (limited to 'regress/Makefile')
-rw-r--r-- | regress/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/regress/Makefile b/regress/Makefile index 647b4a049..c733dcbd9 100644 --- a/regress/Makefile +++ b/regress/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.97 2018/06/07 04:46:34 djm Exp $ | 1 | # $OpenBSD: Makefile,v 1.98 2018/11/22 08:48:32 dtucker Exp $ |
2 | 2 | ||
3 | REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t-exec | 3 | REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t-exec |
4 | tests: prep $(REGRESS_TARGETS) | 4 | tests: prep $(REGRESS_TARGETS) |
@@ -122,8 +122,6 @@ CLEANFILES= *.core actual agent-key.* authorized_keys_${USERNAME} \ | |||
122 | t8.out t8.out.pub t9.out t9.out.pub testdata \ | 122 | t8.out t8.out.pub t9.out t9.out.pub testdata \ |
123 | user_*key* user_ca* user_key* | 123 | user_*key* user_ca* user_key* |
124 | 124 | ||
125 | SUDO_CLEAN+= /var/run/testdata_${USERNAME} /var/run/keycommand_${USERNAME} | ||
126 | |||
127 | # Enable all malloc(3) randomisations and checks | 125 | # Enable all malloc(3) randomisations and checks |
128 | TEST_ENV= "MALLOC_OPTIONS=CFGJRSUX" | 126 | TEST_ENV= "MALLOC_OPTIONS=CFGJRSUX" |
129 | 127 | ||