summaryrefslogtreecommitdiffstats
path: root/tests/in-ex-clusions/t0008.good
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-06-19 15:01:43 +0200
committerpgen <p.gen.progs@gmail.com>2021-06-19 15:01:43 +0200
commitf5ced88b5ae851a5a64ede9d83640a1108485a4c (patch)
tree4e901f4903b2e023fa86e4a7e542d073b2296506 /tests/in-ex-clusions/t0008.good
parent0cdc9a51f61bfc88c636c816915280280f8be2c0 (diff)
Correctly handles the order of the -i/-e options
Correct the code to comply with the manual regarding the order of appearance of -i and -e on the command line.
Diffstat (limited to 'tests/in-ex-clusions/t0008.good')
-rw-r--r--tests/in-ex-clusions/t0008.good11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/in-ex-clusions/t0008.good b/tests/in-ex-clusions/t0008.good
new file mode 100644
index 0000000..7c0b135
--- /dev/null
+++ b/tests/in-ex-clusions/t0008.good
@@ -0,0 +1,11 @@
+$ OUT=$(smenu -i1 -e2 t0008.in)
+
+1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
+0:07 2:24 4:24 6:24 8:24 10:24 12:24 14:24 16:24 24:24 25:24 48:24 49:24
+$
+
+$ echo ":$OUT:"
+
+:1:
+
+$ exit 0