Move test logic for SQLITE_FCNTL_PRAGMA out of os_unix.c and into test_vfs.c.

FossilOrigin-Name: c81fc40b2b584820ac7d1c3848ebeb7225d4eeeb
This commit is contained in:
drh
2012-02-22 20:08:49 +00:00
parent 92c700dbb7
commit c8517f614d
6 changed files with 17 additions and 31 deletions
-11
View File
@@ -272,17 +272,6 @@ ifcapable schema_pragmas {
} ;# ifcapable schema_pragmas
if {[regexp unix [file_control_vfsname db]]} {
ifcapable debug {
do_test attach-1.30.1 {
file tail [db eval {PRAGMA main.filename}]
} {test.db}
do_test attach-1.30.2 {
db eval {PRAGMA temp.filename}
} {}
}
}
ifcapable {trigger} { # Only do the following tests if triggers are enabled
do_test attach-2.1 {
execsql {
+3
View File
@@ -1506,6 +1506,9 @@ do_test pragma-19.3 {
do_test pragma-19.4 {
catchsql {PRAGMA error=7}
} {1 {out of memory}}
do_test pragma-19.5 {
file tail [execsql {PRAGMA filename}]
} {test.db}
finish_test