Fossil SCM
The test file directory saved by the test suite infrastructure should be normalized.
Commit
be81a2fd3cd569d044cd94a0be8ce5e3c00448ef
Parent
ca1e4ed3d62adc0…
1 file changed
+2
-2
+2
-2
| --- test/tester.tcl | ||
| +++ test/tester.tcl | ||
| @@ -21,13 +21,13 @@ | ||
| 21 | 21 | # |
| 22 | 22 | # Where ../test/tester.tcl is the name of this file and ../bld/fossil |
| 23 | 23 | # is the name of the executable to be tested. |
| 24 | 24 | # |
| 25 | 25 | |
| 26 | -set testfiledir [file dirname [info script]] | |
| 26 | +set testfiledir [file normalize [file dirname [info script]]] | |
| 27 | 27 | set testrundir [pwd] |
| 28 | -set testdir [file normalize [file dir $argv0]] | |
| 28 | +set testdir [file normalize [file dirname $argv0]] | |
| 29 | 29 | set fossilexe [file normalize [lindex $argv 0]] |
| 30 | 30 | set argv [lrange $argv 1 end] |
| 31 | 31 | |
| 32 | 32 | set i [lsearch $argv -halt] |
| 33 | 33 | if {$i>=0} { |
| 34 | 34 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -21,13 +21,13 @@ | |
| 21 | # |
| 22 | # Where ../test/tester.tcl is the name of this file and ../bld/fossil |
| 23 | # is the name of the executable to be tested. |
| 24 | # |
| 25 | |
| 26 | set testfiledir [file dirname [info script]] |
| 27 | set testrundir [pwd] |
| 28 | set testdir [file normalize [file dir $argv0]] |
| 29 | set fossilexe [file normalize [lindex $argv 0]] |
| 30 | set argv [lrange $argv 1 end] |
| 31 | |
| 32 | set i [lsearch $argv -halt] |
| 33 | if {$i>=0} { |
| 34 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -21,13 +21,13 @@ | |
| 21 | # |
| 22 | # Where ../test/tester.tcl is the name of this file and ../bld/fossil |
| 23 | # is the name of the executable to be tested. |
| 24 | # |
| 25 | |
| 26 | set testfiledir [file normalize [file dirname [info script]]] |
| 27 | set testrundir [pwd] |
| 28 | set testdir [file normalize [file dirname $argv0]] |
| 29 | set fossilexe [file normalize [lindex $argv 0]] |
| 30 | set argv [lrange $argv 1 end] |
| 31 | |
| 32 | set i [lsearch $argv -halt] |
| 33 | if {$i>=0} { |
| 34 |