summaryrefslogtreecommitdiffstats
path: root/tests/expected/script
diff options
context:
space:
mode:
authorSami Kerola2015-05-24 19:14:58 +0200
committerSami Kerola2015-06-06 15:36:38 +0200
commit6a40c65f81d393667bb7059be7d89eaf5cc99791 (patch)
treee7456e1463cc79f8aff14a200e30bad2710cde8e /tests/expected/script
parenttests: add script output buffering race check (diff)
downloadkernel-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/options0
-rw-r--r--tests/expected/script/options-append8
-rw-r--r--tests/expected/script/options-force14
-rw-r--r--tests/expected/script/options-quiet4
-rw-r--r--tests/expected/script/options-return16
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