Factor out and simplify the canonical pathname logic in the VxWorks OS

interface. (CVS 5943)

FossilOrigin-Name: adb0aafaa6b1ea06541f653a2559f099fb1b2795
This commit is contained in:
drh
2008-11-21 22:21:50 +00:00
parent 6c7d5c5b33
commit 107886abe8
6 changed files with 179 additions and 218 deletions
+3 -2
View File
@@ -13,7 +13,7 @@
# DEFERRED, IMMEDIATE, and EXCLUSIVE keywords as modifiers to the
# BEGIN command.
#
# $Id: lock3.test,v 1.1 2004/10/05 02:41:43 drh Exp $
# $Id: lock3.test,v 1.2 2008/11/21 22:21:51 drh Exp $
set testdir [file dirname $argv0]
@@ -23,7 +23,8 @@ source $testdir/tester.tcl
# sample data into the database.
#
do_test lock3-1.1 {
sqlite3 db2 test.db
file mkdir tempdir/t1/t2/t3
sqlite3 db2 ./tempdir/t1//t2/./t3//./../..//./../../tempdir/..//test.db//
execsql {
CREATE TABLE t1(a);
INSERT INTO t1 VALUES(1);