Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 229) sorted by relevance

12345678910

/sqlite-3.40.0/test/
H A Doserror.test44 # Tests oserror-1.* test failures in the open() system call.
47 # Test a failure in open() due to too many files.
52 # an error may be reported for either open() or getcwd() here.
67 } elseif {$::rc==1 && $msg=="unable to open database file"} {
79 } {^os_unix.c:\d+: \(\d+\) (open|getcwd)\(.*test.db\) - }
84 # Test a failure in open() due to the path being a directory.
90 } {1 {unable to open database file}}
94 # Test a failure in open() due to the path not existing.
99 } {1 {unable to open database file}}
103 # Test a failure in open() due to the path not existing.
[all …]
H A Dshell5.test89 set in [open shell5.csv w]
98 set in [open shell5.csv w]
107 set in [open shell5.csv w]
116 set in [open shell5.csv w]
128 set in [open shell5.csv w]
139 set in [open shell5.csv w]
150 set in [open shell5.csv w]
165 set in [open shell5.csv w]
178 set in [open shell5.csv w]
223 set in [open shell5.csv w]
[all …]
H A Dmjournal.test34 close [open test.db-journal w]
41 close [open test.db2journal w]
51 close [open test.db-journal w]
57 close [open test0db2journal w]
70 close [open test.db-journal w]
76 close [open test.db2-master w]
79 close [open test1 w]
95 set ::open ""
97 lappend ::open $file
101 foreach f $::open {
[all …]
H A Dincrblob.test264 # 4.5 - Attempt to open an integer
265 # 4.6 - Attempt to open a real value
266 # 4.7 - Attempt to open an SQL null
304 } {1 {cannot open value of type integer}}
313 } {1 {cannot open value of type real}}
319 } {1 {cannot open value of type null}}
339 } {1 {cannot open value of type null}}
372 } {1 {cannot open view: blobs_view}}
486 # there is an open blob channel).
523 # of an open blob is moved.
[all …]
H A Dincrblob3.test90 } "SQLITE_ERROR {cannot open value of type $type}"
171 # 1. Trying to open a virtual table column.
172 # 2. Trying to open a view column.
173 # 3. Trying to open a column that does not exist.
174 # 4. Trying to open a read/write handle on an indexed column.
175 # 5. Trying to open a read/write handle on the child key of an FK constraint.
181 INSERT INTO ft VALUES('rules to open a column to which');
185 } {1 {cannot open virtual table: ft}}
191 } {1 {cannot open view: v1}}
205 } {1 {cannot open indexed column for writing}}
[all …]
H A Davfs.test59 set fd [open $shdo w]
89 set out [open $::fza wb]
116 set out [open $::fa wb]
151 set in [open $::fa r]
286 set ofd [open $shdo w]
296 set ofd [open $shod wb]
309 set ofd [open $shdo w]
319 set ofd [open $shod wb]
331 set ofd [open $shdo w]
354 set ofd [open $fake wb]
[all …]
H A Dsyscall.test33 list [catch { test_syscall reset open } msg] $msg
39 list [catch { test_syscall reset open } msg] $msg
47 do_test 1.3.1 { test_syscall install {open getcwd access} } {}
53 do_test 2.1.1 { test_syscall exists open } 1
60 open close access getcwd stat fstat ftruncate
71 # This test verifies that if a call to open() fails and errno is set to
86 test_syscall install open
91 test_syscall errno open EINTR
213 set fd [open test.db w]
H A Dsymlink.test46 } {1 {unable to open database file}}
57 } {1 {unable to open database: test.db2}}
84 } {1 {unable to open database file}}
91 } {1 {unable to open database file}}
96 } {1 {unable to open database file}}
149 # Try to open a ridiculously long pathname. Bug found by
156 } {unable to open database file}
H A Dexclusive.test405 # that is open but NOT writing changes, normally
425 # Three files are open: The db, journal and statement-journal.
434 # One file open: the db.
444 # Two files open: the db and journal.
452 # Three files are open: The db, journal and statement-journal.
453 # 2016-03-04: The statement-journal open is deferred
461 # Three files are still open: The db, journal and statement-journal.
462 # 2016-03-04: The statement-journal open is deferred
473 # Just the db open.
503 set fd [open test.db-journal w]
[all …]
H A Dsysfault.test60 proc vfsfault_install {} { test_syscall install {open getcwd} }
65 {1 {unable to open database file}} \
117 set fd [open test.db-journal w]
142 test_syscall install {open ftruncate close read pread pread64 write fallocate}
162 test_syscall errno open EINTR
213 {1 {unable to open database file}} \
214 {1 {unable to open database: test.db2}} \
H A Dbackup2.test120 set out [open bu2.db w]
145 set msg {cannot open source database: unable to open database file}
149 set msg {cannot open source database: disk I/O error}
176 } {1 {cannot open source database: unable to open database file}}
H A Dmanydb.test13 # This file implements tests the ability of the library to open
23 # that is open and in the middle of writing changes, normally
34 # First test how many file descriptors are available for use. To open a
40 lappend filehandles [open testfile.1 w]
H A Dmisc7.test33 # Try to open a directory:
42 } {1 {unable to open database file}}
44 # Try to open a file with a directory where its journal file should be.
54 } {1 {unable to open database file}}
60 # it cannot open a file. To force this condition, we use up all the
68 while 1 { lappend ret [open test.db] }
423 } {1 {unable to open database file}}
498 # Try to open a really long file name.
504 } {1 {unable to open database file}}
526 set fd [open test.db-journal w]
H A Dtkt3457.test60 set fd [open bak.db-journal a+]
81 } {1 {unable to open database file}}
86 } {1 {unable to open database file}}
91 } {1 {unable to open database file}}
H A Dioerr5.test97 # PAGER_ERROR state. If there are no other read-only cursors open,
119 set fd [open test.db]
140 set fd [open test.db]
156 # Make sure this test script doesn't leave any files open.
205 # Make sure this test script doesn't leave any files open.
H A Dcorrupt2.test52 set f [open corrupt.db RDWR]
71 set f [open corrupt.db RDWR]
91 set f [open corrupt.db RDWR]
111 set f [open corrupt.db RDWR]
181 set fd [open corrupt.db r+]
229 set fd [open corrupt.db r+]
358 set fd [open corrupt.db r+]
394 set fd [open corrupt.db r+]
412 set fd [open corrupt.db r+]
433 set fd [open corrupt.db r+]
[all …]
H A Dsavepoint2.test78 # Record the database signature. Optionally (every second run) open a
79 # transaction. In all cases open savepoint "one", which may or may
99 # Execute some SQL. Then open savepoint "two". Savepoint "two" is therefore
133 # database and COMMIT the open transaction, so that the next iteration
H A Dstmt.test30 # remains open until the current transaction is committed or rolled back.
54 # 2016-03-04: statement-journal open deferred
70 # 2016-03-04: statement-journal open deferred
H A De_blobclose.test32 # EVIDENCE-OF: R-03145-46390 This function closes an open BLOB handle.
48 # there are no other open read-write blob handles or active write
51 # 2.1.*: Transaction is not committed if there are other open
142 # valid open blob handle, the values returned by the sqlite3_errcode()
H A Dcsv01.test206 } {1 {cannot open 'FileDoesNotExist.csv' for reading}}
221 set fd [open csv01.csv wb]
249 set fd [open csv.data w]
265 set fd [open csv.data w]
H A Dlock6.test29 set chan [open "|$prg tf_main2.tcl" r+]
55 set f [open tf_main2.tcl w]
57 set l [open log w]
H A Dloadext.test50 # When a symbol cannot be found within an open shared-object, the error
59 {%s: cannot open shared object file: No such file or directory}
153 set fd [open "./notasharedlib.so" w]
156 set fd [open "./notasharedlib.dll" w]
H A De_wal.test58 } {1 {unable to open database file}}
71 } {1 {unable to open database file}}
187 # methods, then the attempt to open a database that is already in WAL
194 } {1 {unable to open database file}}
/sqlite-3.40.0/ext/rbu/
H A Drbufault3.test32 {1 {SQLITE_IOERR - unable to open database: test.db2}}
33 {1 {SQLITE_ERROR - unable to open database: test.db2}}
38 {1 {SQLITE_CANTOPEN - unable to open database: test.db2}}
39 {1 {SQLITE_CANTOPEN - unable to open database: test.db2}}
40 {1 {SQLITE_CANTOPEN - unable to open database file}}
/sqlite-3.40.0/ext/recover/
H A Drecoverpgsz.test41 set fd [open test.db]
48 set fd2 [open test.db2 w]
73 set fd2 [open test.db2 w]

12345678910