chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CREDITS: Credit Mark properly (!)
[secnet.git]
/
test-common.tcl
diff --git
a/test-common.tcl
b/test-common.tcl
index 45bddcea9dbf325f183c837b60252a6619633ed7..162ad3a0b7187bc6c34fb8df841a91a61a3217ff 100644
(file)
--- 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)
set tmp $env(AUTOPKGTEST_ARTIACTS)
}]} {} elseif {![catch {
set tmp $env(AUTOPKGTEST_TMP)
-}]} {} elseif {[regsub {^([sm]test)/t-} $argv0 {\1/d-} tmp]} {
+}]} {} elseif {[regsub {^(
?:\./)?(
[sm]test)/t-} $argv0 {\1/d-} tmp]} {
set tmp $builddir/$tmp
file mkdir $tmp
}
set tmp $builddir/$tmp
file mkdir $tmp
}