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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/fuzz.test ('k') | third_party/sqlite/src/test/fuzz_malloc.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/fuzz2.test
diff --git a/third_party/sqlite/src/test/fuzz2.test b/third_party/sqlite/src/test/fuzz2.test
index eb5eb83a3ccabf748282fd4d83720f03b2979e57..989b00f056afe1bf3b5e21c0d540e62d4eaa54fd 100644
--- a/third_party/sqlite/src/test/fuzz2.test
+++ b/third_party/sqlite/src/test/fuzz2.test
@@ -65,6 +65,9 @@ do_test fuzz2-2.11 {
do_test fuzz2-2.12 {
fuzzcatch {SELECT - #196}
} {1}
+
+ifcapable {trigger} { # Only do the following tests if triggers are enabled
+
do_test fuzz2-3.0 {
fuzzcatch {CREATE TRIGGER "AAAAAA" . "AAAAAA" AFTER UPDATE OF "AAAAAA" , "AAAAAA" ON "AAAAAA" . "AAAAAA" FOR EACH ROW BEGIN UPDATE AAAAAA SET "AAAAAA" = #162; END}
} {1}
@@ -74,6 +77,9 @@ do_test fuzz2-3.1 {
do_test fuzz2-3.2 {
fuzzcatch {CREATE TEMP TRIGGER IF NOT EXISTS AAAAAA . "AAAAAA" BEFORE UPDATE OF "AAAAAA" ON AAAAAA . "AAAAAA" BEGIN SELECT ALL * , #175 "AAAAAA" FROM "AAAAAA" . AAAAAA; END}
} {1}
+
+} ;# End of ifcapable {trigger}
+
do_test fuzz2-4.0 {
fuzzcatch {ATTACH DATABASE #168 AS whatever}
} {1}
« no previous file with comments | « third_party/sqlite/src/test/fuzz.test ('k') | third_party/sqlite/src/test/fuzz_malloc.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698