summaryrefslogtreecommitdiffstats
path: root/tests/expected/script
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:42:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:42:50 +0000
commit8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 (patch)
treea9b2e7baeca1be40eb734371e3c8b11b02294497 /tests/expected/script
parentInitial commit. (diff)
downloadutil-linux-upstream.tar.xz
util-linux-upstream.zip
Adding upstream version 2.33.1.upstream/2.33.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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/replay9
8 files changed, 68 insertions, 0 deletions
diff --git a/tests/expected/script/buffering-race b/tests/expected/script/buffering-race
new file mode 100644
index 0000000..d223252
--- /dev/null
+++ b/tests/expected/script/buffering-race
@@ -0,0 +1,3 @@
+Script started, file is /dev/null
+Hallo World
+Script done, file is /dev/null
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..cefee37
--- /dev/null
+++ b/tests/expected/script/replay
@@ -0,0 +1,9 @@
+record script output with timing
+Script started, file is typescript
+hello world
+all done
+Script done, file is typescript
+replay script output
+hello world
+all done
+