aboutsummaryrefslogtreecommitdiff
path: root/src/test6.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2012-03-08 20:00:36 +0000
committermistachkin <mistachkin@noemail.net>2012-03-08 20:00:36 +0000
commitf8a784645cd27c4cbbf87fc5e3001ee74867b298 (patch)
tree0d94adf01f20442fae65c91e010091be127c9660 /src/test6.c
parentfd6ddf91b0711b6b6cfe0938db56fc9bc2cd8dcf (diff)
downloadsqlite-f8a784645cd27c4cbbf87fc5e3001ee74867b298.tar.gz
sqlite-f8a784645cd27c4cbbf87fc5e3001ee74867b298.zip
On Windows, make sure the current directory value used by the test suite is 'normalized' to what the parent command shell sees. Also, clean the test directories used by the quota2.test file.
FossilOrigin-Name: 82bcd7ec1531f6d71c079578434c58d3ce46a1de
Diffstat (limited to 'src/test6.c')
-rw-r--r--src/test6.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test6.c b/src/test6.c
index 89f4a090b..5f64cacca 100644
--- a/src/test6.c
+++ b/src/test6.c
@@ -476,7 +476,15 @@ static int cfSync(sqlite3_file *pFile, int flags){
if( nName>nCrashFile ) nName = nCrashFile;
}
+#ifdef TRACE_CRASHTEST
+ printf("cfSync(): nName = %d, nCrashFile = %d, zName = %s, zCrashFile = %s\n",
+ nName, nCrashFile, zName, zCrashFile);
+#endif
+
if( nName==nCrashFile && 0==memcmp(zName, zCrashFile, nName) ){
+#ifdef TRACE_CRASHTEST
+ printf("cfSync(): name matched, g.iCrash = %d\n", g.iCrash);
+#endif
if( (--g.iCrash)==0 ) isCrash = 1;
}