summaryrefslogtreecommitdiffstats
path: root/tests/expected/misc
diff options
context:
space:
mode:
authorSami Kerola2013-01-19 01:08:53 +0100
committerKarel Zak2013-01-24 16:49:29 +0100
commitc5565210b6824b70a603ceef696ac29f5dbb9878 (patch)
tree6508f7ecfba0c641721e20b070c5d6d9f09eb3ea /tests/expected/misc
parenttests: add utmpdump(1) check (diff)
downloadkernel-qcow2-util-linux-c5565210b6824b70a603ceef696ac29f5dbb9878.tar.gz
kernel-qcow2-util-linux-c5565210b6824b70a603ceef696ac29f5dbb9878.tar.xz
kernel-qcow2-util-linux-c5565210b6824b70a603ceef696ac29f5dbb9878.zip
tests: add getopt(1) check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/misc')
-rw-r--r--tests/expected/misc/getopt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/expected/misc/getopt b/tests/expected/misc/getopt
new file mode 100644
index 000000000..c2c90aeec
--- /dev/null
+++ b/tests/expected/misc/getopt
@@ -0,0 +1,9 @@
+Option a
+Option b, argument `1'
+Option c, argument `2'
+Option a
+Option b, argument `3'
+Option c, no argument
+Remaining arguments:
+--> `foo'
+--> `bar'