summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/expect_crash.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/expect_crash.inc')
-rw-r--r--mysql-test/include/expect_crash.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/include/expect_crash.inc b/mysql-test/include/expect_crash.inc
new file mode 100644
index 00000000..b4bd9828
--- /dev/null
+++ b/mysql-test/include/expect_crash.inc
@@ -0,0 +1,5 @@
+--let $_expect_file_name= `select regexp_replace(@@tmpdir, '^.*/','')`
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/$_expect_file_name.expect
+
+# There should be a debug crash after using this .inc file
+--exec echo "wait" > $_expect_file_name