diff options
author | Karel Zak | 2016-04-22 13:39:31 +0200 |
---|---|---|
committer | Karel Zak | 2016-04-22 13:39:31 +0200 |
commit | b6782d869710557b1f2252c03dda23b5fa246ac3 (patch) | |
tree | c5ef59985d3651994ae2d70424a6f9c0ab64837a /tests/expected/misc | |
parent | mount: add note about loopdev reuse to mount.8 (diff) | |
download | kernel-qcow2-util-linux-b6782d869710557b1f2252c03dda23b5fa246ac3.tar.gz kernel-qcow2-util-linux-b6782d869710557b1f2252c03dda23b5fa246ac3.tar.xz kernel-qcow2-util-linux-b6782d869710557b1f2252c03dda23b5fa246ac3.zip |
tests: move getopt to separate directory
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/misc')
30 files changed, 0 insertions, 98 deletions
diff --git a/tests/expected/misc/getopt b/tests/expected/misc/getopt deleted file mode 100644 index c2c90aeec..000000000 --- a/tests/expected/misc/getopt +++ /dev/null @@ -1,9 +0,0 @@ -Option a -Option b, argument `1' -Option c, argument `2' -Option a -Option b, argument `3' -Option c, no argument -Remaining arguments: ---> `foo' ---> `bar' diff --git a/tests/expected/misc/getopt2-alternative_option_clash b/tests/expected/misc/getopt2-alternative_option_clash deleted file mode 100644 index 04ae19de0..000000000 --- a/tests/expected/misc/getopt2-alternative_option_clash +++ /dev/null @@ -1,2 +0,0 @@ - -a --abcde --abcde -a -c -- -exit value: 0 diff --git a/tests/expected/misc/getopt2-alternative_option_long b/tests/expected/misc/getopt2-alternative_option_long deleted file mode 100644 index 0f5fc19c0..000000000 --- a/tests/expected/misc/getopt2-alternative_option_long +++ /dev/null @@ -1,2 +0,0 @@ - -a --one --two 'MANDATORY' --three 'OPTIONAL' -- -exit value: 0 diff --git a/tests/expected/misc/getopt2-alternative_option_short b/tests/expected/misc/getopt2-alternative_option_short deleted file mode 100644 index 0f5fc19c0..000000000 --- a/tests/expected/misc/getopt2-alternative_option_short +++ /dev/null @@ -1,2 +0,0 @@ - -a --one --two 'MANDATORY' --three 'OPTIONAL' -- -exit value: 0 diff --git a/tests/expected/misc/getopt2-invalid_getopt_option b/tests/expected/misc/getopt2-invalid_getopt_option deleted file mode 100644 index 531cc9828..000000000 --- a/tests/expected/misc/getopt2-invalid_getopt_option +++ /dev/null @@ -1,3 +0,0 @@ -getopt: invalid option -- 'b' -Try `getopt --help' for more information. -exit value: 2 diff --git a/tests/expected/misc/getopt2-invocation_model_one b/tests/expected/misc/getopt2-invocation_model_one deleted file mode 100644 index ca4ddca90..000000000 --- a/tests/expected/misc/getopt2-invocation_model_one +++ /dev/null @@ -1,2 +0,0 @@ - -b -d -e OPTIONAL1 -f -a -c -ISREQUIRED -g BECOMES THREE ARGUMENTS -- ARG0 ARG1 NOT_OPTIONAL ARG2 ARG3 -exit value: 0 diff --git a/tests/expected/misc/getopt2-invocation_model_three_as_one b/tests/expected/misc/getopt2-invocation_model_three_as_one deleted file mode 100644 index 1d4701f5c..000000000 --- a/tests/expected/misc/getopt2-invocation_model_three_as_one +++ /dev/null @@ -1,2 +0,0 @@ - -b -d '' -e 'OPTIONAL1' -f '' -a -c '-ISREQUIRED' -g 'BECOMES THREE ARGUMENTS' -- 'ARG0' 'ARG1' 'NOT_OPTIONAL' 'ARG2' 'ARG3' -exit value: 0 diff --git a/tests/expected/misc/getopt2-invocation_model_two_as_one b/tests/expected/misc/getopt2-invocation_model_two_as_one deleted file mode 100644 index 1d4701f5c..000000000 --- a/tests/expected/misc/getopt2-invocation_model_two_as_one +++ /dev/null @@ -1,2 +0,0 @@ - -b -d '' -e 'OPTIONAL1' -f '' -a -c '-ISREQUIRED' -g 'BECOMES THREE ARGUMENTS' -- 'ARG0' 'ARG1' 'NOT_OPTIONAL' 'ARG2' 'ARG3' -exit value: 0 diff --git a/tests/expected/misc/getopt2-invocation_without_parameters b/tests/expected/misc/getopt2-invocation_without_parameters deleted file mode 100644 index 08b3ed5cf..000000000 --- a/tests/expected/misc/getopt2-invocation_without_parameters +++ /dev/null @@ -1,3 +0,0 @@ -getopt: missing optstring argument -Try `getopt --help' for more information. -exit value: 2 diff --git a/tests/expected/misc/getopt2-long_option_ambiguous_1 b/tests/expected/misc/getopt2-long_option_ambiguous_1 deleted file mode 100644 index c8cfbb3d9..000000000 --- a/tests/expected/misc/getopt2-long_option_ambiguous_1 +++ /dev/null @@ -1,3 +0,0 @@ -getopt: option '--long' is ambiguous; possibilities: '--long1' '--long2' - -- -exit value: 1 diff --git a/tests/expected/misc/getopt2-longopts b/tests/expected/misc/getopt2-longopts deleted file mode 100644 index 379b5abc1..000000000 --- a/tests/expected/misc/getopt2-longopts +++ /dev/null @@ -1,2 +0,0 @@ - --long1 --thirdlong 'ARGUMENT' --secondlong 'ARG' --abbriviation 'ABBRARG' -a -- 'EXTRA1' -exit value: 0 diff --git a/tests/expected/misc/getopt2-name_option_long b/tests/expected/misc/getopt2-name_option_long deleted file mode 100644 index 60b9e6b7b..000000000 --- a/tests/expected/misc/getopt2-name_option_long +++ /dev/null @@ -1,4 +0,0 @@ -THIS_PROGRAM: invalid option -- 'b' -THIS_PROGRAM: unrecognized option '--whatever' - --long -a -- -exit value: 1 diff --git a/tests/expected/misc/getopt2-name_option_short b/tests/expected/misc/getopt2-name_option_short deleted file mode 100644 index 60b9e6b7b..000000000 --- a/tests/expected/misc/getopt2-name_option_short +++ /dev/null @@ -1,4 +0,0 @@ -THIS_PROGRAM: invalid option -- 'b' -THIS_PROGRAM: unrecognized option '--whatever' - --long -a -- -exit value: 1 diff --git a/tests/expected/misc/getopt2-quiet_option_long b/tests/expected/misc/getopt2-quiet_option_long deleted file mode 100644 index 3e1a9672a..000000000 --- a/tests/expected/misc/getopt2-quiet_option_long +++ /dev/null @@ -1,2 +0,0 @@ - -- -exit value: 1 diff --git a/tests/expected/misc/getopt2-quiet_option_short b/tests/expected/misc/getopt2-quiet_option_short deleted file mode 100644 index 3e1a9672a..000000000 --- a/tests/expected/misc/getopt2-quiet_option_short +++ /dev/null @@ -1,2 +0,0 @@ - -- -exit value: 1 diff --git a/tests/expected/misc/getopt2-quiet_output_option_long b/tests/expected/misc/getopt2-quiet_output_option_long deleted file mode 100644 index 3e05ca7df..000000000 --- a/tests/expected/misc/getopt2-quiet_output_option_long +++ /dev/null @@ -1,5 +0,0 @@ -getopt: invalid option -- 'c' -getopt: unrecognized option '--unknown' -getopt: option '--long' is ambiguous; possibilities: '--long1' '--long2' -getopt: option requires an argument -- 'b' -exit value: 1 diff --git a/tests/expected/misc/getopt2-quiet_output_option_short b/tests/expected/misc/getopt2-quiet_output_option_short deleted file mode 100644 index 3e05ca7df..000000000 --- a/tests/expected/misc/getopt2-quiet_output_option_short +++ /dev/null @@ -1,5 +0,0 @@ -getopt: invalid option -- 'c' -getopt: unrecognized option '--unknown' -getopt: option '--long' is ambiguous; possibilities: '--long1' '--long2' -getopt: option requires an argument -- 'b' -exit value: 1 diff --git a/tests/expected/misc/getopt2-same_long_short_options b/tests/expected/misc/getopt2-same_long_short_options deleted file mode 100644 index 919d2276b..000000000 --- a/tests/expected/misc/getopt2-same_long_short_options +++ /dev/null @@ -1,2 +0,0 @@ - -a --a -- -exit value: 0 diff --git a/tests/expected/misc/getopt2-test_for_enhanced_getopt b/tests/expected/misc/getopt2-test_for_enhanced_getopt deleted file mode 100644 index 539db061d..000000000 --- a/tests/expected/misc/getopt2-test_for_enhanced_getopt +++ /dev/null @@ -1 +0,0 @@ -exit value: 4 diff --git a/tests/expected/misc/getopt2-unknown_options b/tests/expected/misc/getopt2-unknown_options deleted file mode 100644 index 6edba2b77..000000000 --- a/tests/expected/misc/getopt2-unknown_options +++ /dev/null @@ -1,4 +0,0 @@ -getopt: invalid option -- 'b' -getopt: unrecognized option '--whatever' - --long -a -- -exit value: 1 diff --git a/tests/expected/misc/getopt2-unquoted_option_bash b/tests/expected/misc/getopt2-unquoted_option_bash deleted file mode 100644 index 8da362fe8..000000000 --- a/tests/expected/misc/getopt2-unquoted_option_bash +++ /dev/null @@ -1,5 +0,0 @@ - -a $?!* --long1 "\' -- More - than -one -line -exit value: 0 diff --git a/tests/expected/misc/getopt2-unquoted_option_tcsh b/tests/expected/misc/getopt2-unquoted_option_tcsh deleted file mode 100644 index 8da362fe8..000000000 --- a/tests/expected/misc/getopt2-unquoted_option_tcsh +++ /dev/null @@ -1,5 +0,0 @@ - -a $?!* --long1 "\' -- More - than -one -line -exit value: 0 diff --git a/tests/expected/misc/getopt2-weird_quoting_bash b/tests/expected/misc/getopt2-weird_quoting_bash deleted file mode 100644 index db871ce13..000000000 --- a/tests/expected/misc/getopt2-weird_quoting_bash +++ /dev/null @@ -1,5 +0,0 @@ - -a '$?!* ' --long1 '"\'\''' -- 'More - than -one -line' -exit value: 0 diff --git a/tests/expected/misc/getopt2-weird_quoting_tcsh b/tests/expected/misc/getopt2-weird_quoting_tcsh deleted file mode 100644 index 9e5b71da0..000000000 --- a/tests/expected/misc/getopt2-weird_quoting_tcsh +++ /dev/null @@ -1,2 +0,0 @@ - -a '$?'\!'*'\ '' --long1 '"\\'\''' -- 'More\n'\ 'than\none\nline' -exit value: 0 diff --git a/tests/expected/misc/getopt3-compatible b/tests/expected/misc/getopt3-compatible deleted file mode 100644 index 585de608a..000000000 --- a/tests/expected/misc/getopt3-compatible +++ /dev/null @@ -1,5 +0,0 @@ -getopt: missing optstring argument -Try `getopt --help' for more information. -exit value: 2 - -- -exit value: 0 diff --git a/tests/expected/misc/getopt3-csh b/tests/expected/misc/getopt3-csh deleted file mode 100644 index 86e48f4fe..000000000 --- a/tests/expected/misc/getopt3-csh +++ /dev/null @@ -1,2 +0,0 @@ - -a -b '1' -c '2' --a-long --b-long '3' --c-long '' -- 'foo' 'bar' -exit value: 0 diff --git a/tests/expected/misc/getopt3-no-arguments b/tests/expected/misc/getopt3-no-arguments deleted file mode 100644 index 08b3ed5cf..000000000 --- a/tests/expected/misc/getopt3-no-arguments +++ /dev/null @@ -1,3 +0,0 @@ -getopt: missing optstring argument -Try `getopt --help' for more information. -exit value: 2 diff --git a/tests/expected/misc/getopt3-non-option b/tests/expected/misc/getopt3-non-option deleted file mode 100644 index 73f0b659c..000000000 --- a/tests/expected/misc/getopt3-non-option +++ /dev/null @@ -1,4 +0,0 @@ - -a 'x' -- 'y' '-b' 'z' 'w' - -a 'x' -b 'z' -- 'y' 'w' - -a 'x' 'y' -b 'z' 'w' -- -exit value: 0 diff --git a/tests/expected/misc/getopt3-posix_correctly b/tests/expected/misc/getopt3-posix_correctly deleted file mode 100644 index 5b2bc33fc..000000000 --- a/tests/expected/misc/getopt3-posix_correctly +++ /dev/null @@ -1,4 +0,0 @@ - -a -b '1' -c '2' --a-long --b-long '3' --c-long '' -- 'foo' 'bar' 'xyxxy' '--a-long' -exit value: 0 - -a -b '1' -c '2' --a-long --b-long '3' --c-long '' -- 'foo' 'bar' 'xyxxy' '--a-long' -exit value: 0 diff --git a/tests/expected/misc/getopt3-sh b/tests/expected/misc/getopt3-sh deleted file mode 100644 index 86e48f4fe..000000000 --- a/tests/expected/misc/getopt3-sh +++ /dev/null @@ -1,2 +0,0 @@ - -a -b '1' -c '2' --a-long --b-long '3' --c-long '' -- 'foo' 'bar' -exit value: 0 |