summaryrefslogtreecommitdiff
path: root/test/session_import.script
diff options
context:
space:
mode:
Diffstat (limited to 'test/session_import.script')
-rw-r--r--test/session_import.script13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/session_import.script b/test/session_import.script
new file mode 100644
index 0000000..bcc3126
--- /dev/null
+++ b/test/session_import.script
@@ -0,0 +1,13 @@
+# test-import: the session test/session_export.script wrote, imported into
+# another database as its session 1, plays there as it did where it was
+# recorded: half a second in is the mark's State exactly (the mark came
+# with it, renamed), two seconds in is frame 120's.
+console import {file}
+console sessions
+expect-log import one.xitdb
+console play session 1
+console seek 499
+expect-snapshot [email protected]
+expect-no-log diverged
+console play session 1 at 2
+expect updates 121