From 0f41afe27e8009efcd31597f8828df6ae9ac75e0 Mon Sep 17 00:00:00 2001
From: pgen
Date: Thu, 3 Oct 2019 00:12:27 +0200
Subject: Add long options in the manual + work on contexts
---
tests/attributes/t0004.good | 2 +-
tests/attributes/t0004.tst | 2 +-
tests/force_first/t0001.good | 2 +-
tests/force_first/t0001.tst | 2 +-
tests/force_first/t0002.good | 2 +-
tests/force_first/t0002.tst | 2 +-
tests/force_last/t0001.good | 2 +-
tests/force_last/t0001.tst | 2 +-
tests/force_last/t0002.good | 2 +-
tests/force_last/t0002.tst | 2 +-
tests/rows_cols_in-ex-clusions/t0001.good | 2 +-
tests/rows_cols_in-ex-clusions/t0001.tst | 2 +-
tests/rows_cols_in-ex-clusions/t0002.good | 2 +-
tests/rows_cols_in-ex-clusions/t0002.tst | 2 +-
tests/rows_cols_in-ex-clusions/t0003.good | 2 +-
tests/rows_cols_in-ex-clusions/t0003.tst | 2 +-
tests/scrolling/t0005.good | 2 +-
tests/scrolling/t0005.tst | 2 +-
tests/scrolling/t0006.good | 2 +-
tests/scrolling/t0006.tst | 2 +-
tests/scrolling/t0007.good | 2 +-
tests/scrolling/t0007.tst | 2 +-
22 files changed, 22 insertions(+), 22 deletions(-)
(limited to 'tests')
diff --git a/tests/attributes/t0004.good b/tests/attributes/t0004.good
index eae3459..8388aa7 100644
--- a/tests/attributes/t0004.good
+++ b/tests/attributes/t0004.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -a e:5,br b:0/6 -R2 -c -- t0004.in)
+$ OUT=$(smenu -a e:5,br b:0/6 -c -R2 -- t0004.in)
1 ┐
0:010723 3:1e2e
diff --git a/tests/attributes/t0004.tst b/tests/attributes/t0004.tst
index dbe2477..5045e25 100644
--- a/tests/attributes/t0004.tst
+++ b/tests/attributes/t0004.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -a e:5,br b:0/6 -R2 -c -- t0004.in)
+\S[150]\s[10]OUT=$(smenu -a e:5,br b:0/6 -c -R2 -- t0004.in)
\S[150]\s[150]l\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/force_first/t0001.good b/tests/force_first/t0001.good
index 3f293db..0b7e90a 100644
--- a/tests/force_first/t0001.good
+++ b/tests/force_first/t0001.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -A X -c t0001.in)
+$ OUT=$(smenu -c -A X t0001.in)
a b c d
diff --git a/tests/force_first/t0001.tst b/tests/force_first/t0001.tst
index 0a9a182..84136d7 100644
--- a/tests/force_first/t0001.tst
+++ b/tests/force_first/t0001.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -A X -c t0001.in)
+\S[150]\s[10]OUT=$(smenu -c -A X t0001.in)
\S[150]\s[150]llj\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/force_first/t0002.good b/tests/force_first/t0002.good
index 4db1d54..eeba582 100644
--- a/tests/force_first/t0002.good
+++ b/tests/force_first/t0002.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -A 'X|Y' -c t0002.in)
+$ OUT=$(smenu -c -A 'X|Y' t0002.in)
X a b c d
diff --git a/tests/force_first/t0002.tst b/tests/force_first/t0002.tst
index 0cd926c..a446052 100644
--- a/tests/force_first/t0002.tst
+++ b/tests/force_first/t0002.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -A 'X|Y' -c t0002.in)
+\S[150]\s[10]OUT=$(smenu -c -A 'X|Y' t0002.in)
\S[150]\s[150]llj\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/force_last/t0001.good b/tests/force_last/t0001.good
index 45de60f..2e05209 100644
--- a/tests/force_last/t0001.good
+++ b/tests/force_last/t0001.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -Z X -c t0001.in)
+$ OUT=$(smenu -c -Z X t0001.in)
a b c d X
diff --git a/tests/force_last/t0001.tst b/tests/force_last/t0001.tst
index 369893e..4ee0837 100644
--- a/tests/force_last/t0001.tst
+++ b/tests/force_last/t0001.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -Z X -c t0001.in)
+\S[150]\s[10]OUT=$(smenu -c -Z X t0001.in)
\S[150]\s[150]llj\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/force_last/t0002.good b/tests/force_last/t0002.good
index e28485b..5da1246 100644
--- a/tests/force_last/t0002.good
+++ b/tests/force_last/t0002.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -Z 'X|Y' -c t0002.in)
+$ OUT=$(smenu -c -Z 'X|Y' t0002.in)
X
diff --git a/tests/force_last/t0002.tst b/tests/force_last/t0002.tst
index b7b433b..cdfdd42 100644
--- a/tests/force_last/t0002.tst
+++ b/tests/force_last/t0002.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -Z 'X|Y' -c t0002.in)
+\S[150]\s[10]OUT=$(smenu -c -Z 'X|Y' t0002.in)
\S[150]\s[150]llj\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/rows_cols_in-ex-clusions/t0001.good b/tests/rows_cols_in-ex-clusions/t0001.good
index 767daf5..dfb00be 100644
--- a/tests/rows_cols_in-ex-clusions/t0001.good
+++ b/tests/rows_cols_in-ex-clusions/t0001.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -n 6 -R2,3 -R5 -- t0001.in)
+$ OUT=$(smenu -n 6 -l -R2,3 -R5 -- t0001.in)
1 2 3 4 5
0:24 2:24 4:24 6:24 8:24
diff --git a/tests/rows_cols_in-ex-clusions/t0001.tst b/tests/rows_cols_in-ex-clusions/t0001.tst
index 08aa1e4..c0a0813 100644
--- a/tests/rows_cols_in-ex-clusions/t0001.tst
+++ b/tests/rows_cols_in-ex-clusions/t0001.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -n 6 -R2,3 -R5 -- t0001.in)
+\S[150]\s[10]OUT=$(smenu -n 6 -l -R2,3 -R5 -- t0001.in)
\S[150]\s[150]llljljljhkk\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/rows_cols_in-ex-clusions/t0002.good b/tests/rows_cols_in-ex-clusions/t0002.good
index 90eb12e..3a5dc9f 100644
--- a/tests/rows_cols_in-ex-clusions/t0002.good
+++ b/tests/rows_cols_in-ex-clusions/t0002.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -n 6 -R3-5 -R1 -- t0002.in)
+$ OUT=$(smenu -n 6 -l -R3-5 -R1 -- t0002.in)
1 2 3 4 5
diff --git a/tests/rows_cols_in-ex-clusions/t0002.tst b/tests/rows_cols_in-ex-clusions/t0002.tst
index f83b463..31fee4c 100644
--- a/tests/rows_cols_in-ex-clusions/t0002.tst
+++ b/tests/rows_cols_in-ex-clusions/t0002.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -n 6 -R3-5 -R1 -- t0002.in)
+\S[150]\s[10]OUT=$(smenu -n 6 -l -R3-5 -R1 -- t0002.in)
\S[150]\s[150]llljljljhkk\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/rows_cols_in-ex-clusions/t0003.good b/tests/rows_cols_in-ex-clusions/t0003.good
index 1fa62dc..4f3d693 100644
--- a/tests/rows_cols_in-ex-clusions/t0003.good
+++ b/tests/rows_cols_in-ex-clusions/t0003.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -n 6 -R3-5,1 -- t0003.in)
+$ OUT=$(smenu -n 6 -l -R3-5,1 -- t0003.in)
1 2 3 4 5
diff --git a/tests/rows_cols_in-ex-clusions/t0003.tst b/tests/rows_cols_in-ex-clusions/t0003.tst
index 0bf8f0b..c69834e 100644
--- a/tests/rows_cols_in-ex-clusions/t0003.tst
+++ b/tests/rows_cols_in-ex-clusions/t0003.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -n 6 -R3-5,1 -- t0003.in)
+\S[150]\s[10]OUT=$(smenu -n 6 -l -R3-5,1 -- t0003.in)
\S[150]\s[150]llljljljhkk\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/scrolling/t0005.good b/tests/scrolling/t0005.good
index fe06086..11b7c37 100644
--- a/tests/scrolling/t0005.good
+++ b/tests/scrolling/t0005.good
@@ -1,4 +1,4 @@
-$ OUT=$(LC_ALL=en_US smenu -R 7,13 -c t0005.in)
+$ OUT=$(LC_ALL=en_US smenu -c -R 7,13 -- t0005.in)
11 a a a a a ^
0:24 1:24 3:24 5:24 7:24 9:24 11:24 14:20
diff --git a/tests/scrolling/t0005.tst b/tests/scrolling/t0005.tst
index 02d1078..4376ef2 100644
--- a/tests/scrolling/t0005.tst
+++ b/tests/scrolling/t0005.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(LC_ALL=en_US smenu -R 7,13 -c t0005.in)
+\S[150]\s[10]OUT=$(LC_ALL=en_US smenu -c -R 7,13 -- t0005.in)
\S[150]\s[150]lljjjjjjjkkkkkkkjjjKKJJKJ\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/scrolling/t0006.good b/tests/scrolling/t0006.good
index 704583c..8c4a7d4 100644
--- a/tests/scrolling/t0006.good
+++ b/tests/scrolling/t0006.good
@@ -1,4 +1,4 @@
-$ OUT=$(LC_ALL=en_US smenu -R 6,18,20 -c t0006.in)
+$ OUT=$(LC_ALL=en_US smenu -c -R 6,18,20 -- t0006.in)
3 a a a a a a a a ^
0:24 1:24 3:24 5:24 7:24 9:24 11:24 13:24 15:24 17:24 20:20
diff --git a/tests/scrolling/t0006.tst b/tests/scrolling/t0006.tst
index d27d6f0..b034e11 100644
--- a/tests/scrolling/t0006.tst
+++ b/tests/scrolling/t0006.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(LC_ALL=en_US smenu -R 6,18,20 -c t0006.in)
+\S[150]\s[10]OUT=$(LC_ALL=en_US smenu -c -R 6,18,20 -- t0006.in)
\S[150]\s[150]lljjjjjjjkkkkkkkjjjKKKJJJKJKJjjjkkkJK\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
diff --git a/tests/scrolling/t0007.good b/tests/scrolling/t0007.good
index cbab0b8..da15886 100644
--- a/tests/scrolling/t0007.good
+++ b/tests/scrolling/t0007.good
@@ -1,4 +1,4 @@
-$ OUT=$(LC_ALL=en_US smenu -R 4,6,11,16 -c t0007.in)
+$ OUT=$(LC_ALL=en_US smenu -c -R 4,6,11,16 -- t0007.in)
5 a a a a a a a a ^
5:07 20:20
diff --git a/tests/scrolling/t0007.tst b/tests/scrolling/t0007.tst
index fcf0e8f..19299e7 100644
--- a/tests/scrolling/t0007.tst
+++ b/tests/scrolling/t0007.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(LC_ALL=en_US smenu -R 4,6,11,16 -c t0007.in)
+\S[150]\s[10]OUT=$(LC_ALL=en_US smenu -c -R 4,6,11,16 -- t0007.in)
\S[150]\s[150]lljjjjjjjkkkkkkkjjjKKKJJJKJKJjjjkkkJK\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0
--
cgit v1.2.3