summaryrefslogtreecommitdiffstats
path: root/tests/expected/script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expected/script')
-rw-r--r--tests/expected/script/buffering-race3
-rw-r--r--tests/expected/script/options-append8
-rw-r--r--tests/expected/script/options-force14
-rw-r--r--tests/expected/script/options-quiet8
-rw-r--r--tests/expected/script/options-return16
-rw-r--r--tests/expected/script/options-size9
-rw-r--r--tests/expected/script/race1
-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
12 files changed, 86 insertions, 0 deletions
diff --git a/tests/expected/script/buffering-race b/tests/expected/script/buffering-race
new file mode 100644
index 0000000..884ad00
--- /dev/null
+++ b/tests/expected/script/buffering-race
@@ -0,0 +1,3 @@
+Script started, output log file is '/dev/null'.
+Hallo World
+Script done.
diff --git a/tests/expected/script/options-append b/tests/expected/script/options-append
new file mode 100644
index 0000000..f18c47b
--- /dev/null
+++ b/tests/expected/script/options-append
@@ -0,0 +1,8 @@
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+append1
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+append2
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
diff --git a/tests/expected/script/options-force b/tests/expected/script/options-force
new file mode 100644
index 0000000..d8c005a
--- /dev/null
+++ b/tests/expected/script/options-force
@@ -0,0 +1,14 @@
+test_script: output file `typescript' is a link
+Use --force if you really want to use it.
+Program not started.
+1
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+with force
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
+0
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+not typescript
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
+0
diff --git a/tests/expected/script/options-quiet b/tests/expected/script/options-quiet
new file mode 100644
index 0000000..a06b6a1
--- /dev/null
+++ b/tests/expected/script/options-quiet
@@ -0,0 +1,8 @@
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+quiet1
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+quiet2
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
diff --git a/tests/expected/script/options-return b/tests/expected/script/options-return
new file mode 100644
index 0000000..437aea6
--- /dev/null
+++ b/tests/expected/script/options-return
@@ -0,0 +1,16 @@
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="1"]
+0
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="0"]
+0
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="42"]
+42
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+
+Script done on 2015-05-24 17:43:18+00:00 [COMMAND_EXIT_CODE="127"]
+127
diff --git a/tests/expected/script/options-size b/tests/expected/script/options-size
new file mode 100644
index 0000000..c984dfa
--- /dev/null
+++ b/tests/expected/script/options-size
@@ -0,0 +1,9 @@
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+1:1234567890
+
+Script done on 2015-05-24 17:43:18+00:00 [<max output size exceeded>]
+Script started on 2015-05-24 17:43:18+00:00 [<not executed on terminal>]
+2:1234567890
+
+Script done on 2015-05-24 17:43:18+00:00 [<max output size exceeded>]
+0
diff --git a/tests/expected/script/race b/tests/expected/script/race
new file mode 100644
index 0000000..faede5f
--- /dev/null
+++ b/tests/expected/script/race
@@ -0,0 +1 @@
+all bingos seen
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
+