summaryrefslogtreecommitdiffstats
path: root/tests/expected/script/replay
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:44 +0000
commit30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 (patch)
tree9b788335f92174baf7ee18f03ca8330b8c19ce2b /tests/expected/script/replay
parentInitial commit. (diff)
downloadutil-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.tar.xz
util-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.zip
Adding upstream version 2.36.1.upstream/2.36.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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
+