diff options
author | Sami Kerola | 2015-05-24 19:14:58 +0200 |
---|---|---|
committer | Sami Kerola | 2015-06-06 15:36:38 +0200 |
commit | 6a40c65f81d393667bb7059be7d89eaf5cc99791 (patch) | |
tree | e7456e1463cc79f8aff14a200e30bad2710cde8e /tests/expected/script | |
parent | tests: add script output buffering race check (diff) | |
download | kernel-qcow2-util-linux-6a40c65f81d393667bb7059be7d89eaf5cc99791.tar.gz kernel-qcow2-util-linux-6a40c65f81d393667bb7059be7d89eaf5cc99791.tar.xz kernel-qcow2-util-linux-6a40c65f81d393667bb7059be7d89eaf5cc99791.zip |
tests: check script options work as expected
Options --flush and --timing remain unchecked, as I do not have an idea
how to check them reliably.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/script')
-rw-r--r-- | tests/expected/script/options | 0 | ||||
-rw-r--r-- | tests/expected/script/options-append | 8 | ||||
-rw-r--r-- | tests/expected/script/options-force | 14 | ||||
-rw-r--r-- | tests/expected/script/options-quiet | 4 | ||||
-rw-r--r-- | tests/expected/script/options-return | 16 |
5 files changed, 42 insertions, 0 deletions
diff --git a/tests/expected/script/options b/tests/expected/script/options new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/expected/script/options diff --git a/tests/expected/script/options-append b/tests/expected/script/options-append new file mode 100644 index 000000000..b2455f02c --- /dev/null +++ b/tests/expected/script/options-append @@ -0,0 +1,8 @@ +Script started on Sun May 24 17:43:18 2015 +append1
+ +Script done on Sun May 24 17:43:18 2015 +Script started on Sun May 24 17:43:18 2015 +append2
+ +Script done on Sun May 24 17:43:18 2015 diff --git a/tests/expected/script/options-force b/tests/expected/script/options-force new file mode 100644 index 000000000..f462b9858 --- /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 Sun May 24 17:43:18 2015 +with force
+ +Script done on Sun May 24 17:43:18 2015 +0 +Script started on Sun May 24 17:43:18 2015 +not typescript
+ +Script done on Sun May 24 17:43:18 2015 +0 diff --git a/tests/expected/script/options-quiet b/tests/expected/script/options-quiet new file mode 100644 index 000000000..2f7028777 --- /dev/null +++ b/tests/expected/script/options-quiet @@ -0,0 +1,4 @@ +Script started on Sun May 24 17:43:18 2015 +quiet1
+Script started on Sun May 24 17:43:18 2015 +quiet2
diff --git a/tests/expected/script/options-return b/tests/expected/script/options-return new file mode 100644 index 000000000..3b6058935 --- /dev/null +++ b/tests/expected/script/options-return @@ -0,0 +1,16 @@ +Script started on Sun May 24 17:43:18 2015 + +Script done on Sun May 24 17:43:18 2015 +0 +Script started on Sun May 24 17:43:18 2015 + +Script done on Sun May 24 17:43:18 2015 +0 +Script started on Sun May 24 17:43:18 2015 + +Script done on Sun May 24 17:43:18 2015 +42 +Script started on Sun May 24 17:43:18 2015 + +Script done on Sun May 24 17:43:18 2015 +127 |