Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: third_party/sqlite/src/test/main.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/test/lookaside.test ('k') | third_party/sqlite/src/test/malloc.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2001 September 15 1 # 2001 September 15
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 do_test main-4.2 { 507 do_test main-4.2 {
508 set rc [catch {sqlite3 db test.db -vfs crash} msg] 508 set rc [catch {sqlite3 db test.db -vfs crash} msg]
509 list $rc $msg 509 list $rc $msg
510 } {1 {no such vfs: crash}} 510 } {1 {no such vfs: crash}}
511 do_test main-4.3 { 511 do_test main-4.3 {
512 set rc [catch {sqlite3 db test.db -vfs async} msg] 512 set rc [catch {sqlite3 db test.db -vfs async} msg]
513 list $rc $msg 513 list $rc $msg
514 } {1 {no such vfs: async}} 514 } {1 {no such vfs: async}}
515 } 515 }
516 } 516 }
517
518 # Print the version number so that it can be picked up by releasetest.tcl.
519 #
520 puts [db one {SELECT 'VERSION: ' ||
521 sqlite_version() || ' ' ||
522 sqlite_source_id();}]
523
524 # Do deliberate failures if the TEST_FAILURE environment variable is set.
525 # This is done to verify that failure notifications are detected by the
526 # releasetest.tcl script, or possibly by other scripts involved in automatic
527 # testing.
528 #
529 if {[info exists ::env(TEST_FAILURE)]} {
530 set res 123
531 if {$::env(TEST_FAILURE)==0} {set res 234}
532 do_test main-99.1 {
533 bad_behavior $::env(TEST_FAILURE)
534 set x 123
535 } $res
536 }
517 537
518 finish_test 538 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/lookaside.test ('k') | third_party/sqlite/src/test/malloc.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698