From e68a917bdc09e3d332edbaa171347ddfe1902d59 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 20 Oct 2019 12:02:21 +0100 Subject: [PATCH] test-common: Handle mtest correctly too The default value for tmp nees to be right for mtest/ too. Signed-off-by: Ian Jackson --- .gitignore | 2 +- test-common.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 90e5dbf..c9dbd00 100644 --- a/.gitignore +++ b/.gitignore @@ -38,5 +38,5 @@ test-example/sites.conf test-example/bogus-setup-request build-stamp -stest/d-* +[sm]test/d-* stest/udp-preload.so diff --git a/test-common.tcl b/test-common.tcl index 47b867d..04def33 100644 --- a/test-common.tcl +++ b/test-common.tcl @@ -17,7 +17,7 @@ if {![catch { set tmp $env(AUTOPKGTEST_ARTIACTS) }]} {} elseif {![catch { set tmp $env(AUTOPKGTEST_TMP) -}]} {} elseif {[regsub {^stest/t-} $argv0 {stest/d-} tmp]} { +}]} {} elseif {[regsub {^([sm]test)/t-} $argv0 {\1/d-} tmp]} { set tmp $builddir/$tmp file mkdir $tmp } -- 2.30.2