summaryrefslogtreecommitdiffstats
path: root/tests/expected/script/replay
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/script/replay0
-rw-r--r--tests/expected/script/replay-basic9
-rw-r--r--tests/expected/script/replay-input4
-rw-r--r--tests/expected/script/replay-live7
-rw-r--r--tests/expected/script/replay-output7
5 files changed, 27 insertions, 0 deletions
diff --git a/tests/expected/script/replay b/tests/expected/script/replay
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/script/replay
diff --git a/tests/expected/script/replay-basic b/tests/expected/script/replay-basic
new file mode 100644
index 0000000..0363253
--- /dev/null
+++ b/tests/expected/script/replay-basic
@@ -0,0 +1,9 @@
+===recording
+Script started, output log file is 'outlog', timing file is 'timingfile'.
+hello world
+all done
+Script done.
+===replaying
+hello world
+all done
+
diff --git a/tests/expected/script/replay-input b/tests/expected/script/replay-input
new file mode 100644
index 0000000..8da6ed2
--- /dev/null
+++ b/tests/expected/script/replay-input
@@ -0,0 +1,4 @@
+===recording
+===replaying
+echo "result is $(($NUMBER + 1))"
+
diff --git a/tests/expected/script/replay-live b/tests/expected/script/replay-live
new file mode 100644
index 0000000..7d575ed
--- /dev/null
+++ b/tests/expected/script/replay-live
@@ -0,0 +1,7 @@
+>>> scriptlive: Starting your typescript execution by sh.
+echo "result is $(($NUMBER + 1))"
+prompt> echo "result is $(($NUMBER + 1))"
+result is 124
+prompt> exit
+
+>>> scriptlive: done.
diff --git a/tests/expected/script/replay-output b/tests/expected/script/replay-output
new file mode 100644
index 0000000..4aace29
--- /dev/null
+++ b/tests/expected/script/replay-output
@@ -0,0 +1,7 @@
+===recording
+Script started, output log file is 'outlog', timing file is 'timingfile'.
+result is 2
+Script done.
+===replaying
+result is 2
+