From: Michael Wallner Date: Fri, 5 Dec 2014 11:17:37 +0000 (+0100) Subject: add missing tests X-Git-Tag: v0.6.0RC1~16 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a76b00c331f048cb6faa1a3d3c587a5f78010f0a;p=m6w6%2Fext-pq add missing tests --- diff --git a/tests/crash_cur_reverse_dep.phpt b/tests/crash_cur_reverse_dep.phpt new file mode 100644 index 0000000..a9f4d19 --- /dev/null +++ b/tests/crash_cur_reverse_dep.phpt @@ -0,0 +1,20 @@ +--TEST-- +crash txn reverse dependency from connection +--SKIPIF-- + +--FILE-- +t = $c->startTransaction(); + +?> +===DONE=== +--EXPECT-- +Test +===DONE=== diff --git a/tests/crash_txn_reverse_dep.phpt b/tests/crash_txn_reverse_dep.phpt new file mode 100644 index 0000000..7c9e8fc --- /dev/null +++ b/tests/crash_txn_reverse_dep.phpt @@ -0,0 +1,20 @@ +--TEST-- +crash txn reverse dependency from connection +--SKIPIF-- + +--FILE-- +c = $c->declare("test", "SELECT 1"); + +?> +===DONE=== +--EXPECT-- +Test +===DONE===