summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/kill.script5
-rw-r--r--test/killed.script4
2 files changed, 9 insertions, 0 deletions
diff --git a/test/kill.script b/test/kill.script
new file mode 100644
index 0000000..824b741
--- /dev/null
+++ b/test/kill.script
@@ -0,0 +1,5 @@
+# A run without --fresh records to a file; it dies by SIGKILL after 255
+# frames, the last 15 of them not yet committed (test/killed.script).
+move 100 80
+frames 254
+kill
diff --git a/test/killed.script b/test/killed.script
new file mode 100644
index 0000000..cceeb48
--- /dev/null
+++ b/test/killed.script
@@ -0,0 +1,4 @@
+# After test/kill.script: its session kept the four commits of 60 frames it
+# made before it was killed, and says it crashed.
+console sessions
+expect-log frames 240 (crashed)