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

Unified Diff: third_party/sqlite/sqlite-src-3080704/test/filectrl.test

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
Index: third_party/sqlite/sqlite-src-3080704/test/filectrl.test
diff --git a/third_party/sqlite/sqlite-src-3080704/test/filectrl.test b/third_party/sqlite/sqlite-src-3080704/test/filectrl.test
new file mode 100644
index 0000000000000000000000000000000000000000..1d878bf968b002693118ac973c7ab5c5a0302e61
--- /dev/null
+++ b/third_party/sqlite/sqlite-src-3080704/test/filectrl.test
@@ -0,0 +1,47 @@
+# 2008 Jan 22
+#
+# The author disclaims copyright to this source code. In place of
+# a legal notice, here is a blessing:
+#
+# May you do good and not evil.
+# May you find forgiveness for yourself and forgive others.
+# May you share freely, never taking more than you give.
+#
+#***********************************************************************
+#
+# $Id: filectrl.test,v 1.2 2008/11/21 00:10:35 aswift Exp $
+
+set testdir [file dirname $argv0]
+source $testdir/tester.tcl
+
+
+do_test filectrl-1.1 {
+ file_control_test db
+} {}
+do_test filectrl-1.2 {
+ db eval {CREATE TEMP TABLE x(y);}
+ file_control_test db
+} {}
+do_test filectrl-1.3 {
+ db close
+ sqlite3 db :memory:
+ file_control_test db
+} {}
+do_test filectrl-1.4 {
+ sqlite3 db test.db
+ file_control_lasterrno_test db
+} {}
+do_test filectrl-1.5 {
+ db close
+ sqlite3 db test_control_lockproxy.db
+ file_control_lockproxy_test db [get_pwd]
+} {}
+do_test filectrl-1.6 {
+ sqlite3 db test.db
+ set fn [file_control_tempfilename db]
+ puts -nonewline \[$fn\]
+ set fn
+} {/etilqs_/}
+db close
+forcedelete .test_control_lockproxy.db-conch test.proxy
+finish_test
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/fallocate.test ('k') | third_party/sqlite/sqlite-src-3080704/test/filefmt.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698