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

Unified Diff: third_party/sqlite/src/test/shell2.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/shell1.test ('k') | third_party/sqlite/src/test/shell3.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/shell2.test
diff --git a/third_party/sqlite/src/test/shell2.test b/third_party/sqlite/src/test/shell2.test
index 616610bd4ba2f88c8ecdefc2a34f9e25d023312b..2de6bf7514201d7ff14d355a29ec751f2b265048 100644
--- a/third_party/sqlite/src/test/shell2.test
+++ b/third_party/sqlite/src/test/shell2.test
@@ -20,15 +20,7 @@
#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
-if {$tcl_platform(platform)=="windows"} {
- set CLI "sqlite3.exe"
-} else {
- set CLI "./sqlite3"
-}
-if {![file executable $CLI]} {
- finish_test
- return
-}
+set CLI [test_find_cli]
db close
forcedelete test.db test.db-journal test.db-wal
sqlite3 db test.db
@@ -51,7 +43,7 @@ do_test shell2-1.1.1 {
# Shell silently ignores extra parameters.
# Ticket [f5cb008a65].
do_test shell2-1.2.1 {
- set rc [catch { eval exec $CLI \":memory:\" \"select 3\" \"select 4\" } msg]
+ set rc [catch { eval exec $CLI \":memory:\" \"select+3\" \"select+4\" } msg]
list $rc $msg
} {0 {3
4}}
« no previous file with comments | « third_party/sqlite/src/test/shell1.test ('k') | third_party/sqlite/src/test/shell3.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698