aboutsummaryrefslogtreecommitdiff
path: root/test/permutations.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-03-14 21:26:25 +0000
committerdrh <drh@noemail.net>2016-03-14 21:26:25 +0000
commita580936383cd6fd971b9895bca635b1aa6d72ac3 (patch)
treea57ce1fba52d3aad0c2fc3df0a54a3099fd1e3bb /test/permutations.test
parent10ac13ae3b15135946d1e2f14c65b1df2fc4cf07 (diff)
downloadsqlite-a580936383cd6fd971b9895bca635b1aa6d72ac3.tar.gz
sqlite-a580936383cd6fd971b9895bca635b1aa6d72ac3.zip
Fix the permutations.test script so that it works again.
FossilOrigin-Name: 9f194f90c07d5415b1d6bb10ec049f74999d6885
Diffstat (limited to 'test/permutations.test')
-rw-r--r--test/permutations.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/permutations.test b/test/permutations.test
index 6c02af8fb..37736feb8 100644
--- a/test/permutations.test
+++ b/test/permutations.test
@@ -1068,12 +1068,12 @@ proc help {} {
exit -1
}
-if {[info script] == $argv0} {
+if {[file tail $argv0] == "permutations.test"} {
proc main {argv} {
if {[llength $argv]==0} {
help
} else {
- set suite [lindex $argv 0]
+ set suite [file tail [lindex $argv 0]]
if {[info exists ::testspec($suite)]==0} help
set extra ""
if {[llength $argv]>1} { set extra [list -files [lrange $argv 1 end]] }