add missing tests
[m6w6/ext-pq] / tests / crash_cur_reverse_dep.phpt
diff --git a/tests/crash_cur_reverse_dep.phpt b/tests/crash_cur_reverse_dep.phpt
new file mode 100644 (file)
index 0000000..a9f4d19
--- /dev/null
@@ -0,0 +1,20 @@
+--TEST--
+crash txn reverse dependency from connection
+--SKIPIF--
+<?php
+include "_skipif.inc";
+?>
+--FILE--
+<?php
+echo "Test\n";
+
+include "_setup.inc";
+
+$c = new pq\Connection(PQ_DSN);
+$c->t = $c->startTransaction();
+
+?>
+===DONE===
+--EXPECT--
+Test
+===DONE===