1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Normalize the $testdir and $argv0 paths so that they continue to work

in the testing subdirectory.

FossilOrigin-Name: 19225b8130f1640772fc54250583b571a89063b6
This commit is contained in:
drh
2016-03-14 14:28:43 +00:00
parent d5704a8961
commit bea14132cf
3 changed files with 9 additions and 7 deletions

View File

@ -517,7 +517,9 @@ if {[info exists cmdlinearg]==0} {
}
}
}
set testdir [file normalize $testdir]
set cmdlinearg(TESTFIXTURE_HOME) [pwd]
set argv0 [file normalize $argv0]
if {$cmdlinearg(testdir)!=""} {
file mkdir $cmdlinearg(testdir)
cd $cmdlinearg(testdir)