From 378c18e5f024ac5a8aef4cb40d7c9aa9633d144c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:35 +0200 Subject: Adding upstream version 2.38.1. Signed-off-by: Daniel Baumann --- tests/expected/script/buffering-race | 3 +++ tests/expected/script/options-append | 8 ++++++++ tests/expected/script/options-force | 14 ++++++++++++++ tests/expected/script/options-quiet | 8 ++++++++ tests/expected/script/options-return | 16 ++++++++++++++++ tests/expected/script/options-size | 9 +++++++++ tests/expected/script/race | 1 + tests/expected/script/replay | 0 tests/expected/script/replay-basic | 9 +++++++++ tests/expected/script/replay-input | 4 ++++ tests/expected/script/replay-live | 7 +++++++ tests/expected/script/replay-output | 7 +++++++ 12 files changed, 86 insertions(+) create mode 100644 tests/expected/script/buffering-race create mode 100644 tests/expected/script/options-append create mode 100644 tests/expected/script/options-force create mode 100644 tests/expected/script/options-quiet create mode 100644 tests/expected/script/options-return create mode 100644 tests/expected/script/options-size create mode 100644 tests/expected/script/race create mode 100644 tests/expected/script/replay create mode 100644 tests/expected/script/replay-basic create mode 100644 tests/expected/script/replay-input create mode 100644 tests/expected/script/replay-live create mode 100644 tests/expected/script/replay-output (limited to 'tests/expected/script') 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..584d921 --- /dev/null +++ b/tests/expected/script/options-append @@ -0,0 +1,8 @@ +Script started on 2015-05-24 17:43:18+00:00 [COMMAND="echo append1" ] +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 [COMMAND="echo append2" ] +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..7b9854e --- /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 [COMMAND="echo with force" ] +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 [COMMAND="echo not typescript" ] +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..9718d17 --- /dev/null +++ b/tests/expected/script/options-quiet @@ -0,0 +1,8 @@ +Script started on 2015-05-24 17:43:18+00:00 [COMMAND="echo quiet1" ] +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 [COMMAND="echo quiet2" ] +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..94cd860 --- /dev/null +++ b/tests/expected/script/options-return @@ -0,0 +1,16 @@ +Script started on 2015-05-24 17:43:18+00:00 [COMMAND="exit 1" ] + +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 [COMMAND="exit 0" ] + +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 [COMMAND="exit 42" ] + +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 [COMMAND="exit 127" ] + +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..bdbe688 --- /dev/null +++ b/tests/expected/script/options-size @@ -0,0 +1,9 @@ +Script started on 2015-05-24 17:43:18+00:00 [COMMAND="echo 1:1234567890" ] +1:1234567890 + +Script done on 2015-05-24 17:43:18+00:00 [] +Script started on 2015-05-24 17:43:18+00:00 [COMMAND="echo 2:1234567890" ] +2:1234567890 + +Script done on 2015-05-24 17:43:18+00:00 [] +1 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 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 + -- cgit v1.2.3