summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-07-27 23:11:22 +0200
committerpgen <p.gen.progs@gmail.com>2020-07-28 14:09:33 +0200
commit8f8eba0c1b5925bdbded1b74768fd0f89ebb977c (patch)
tree64115e350c4530b4a1c1c3d5f6df9ee01565b576 /tests
parent32f1d29575a6578b26cab4ff8e1e1d61304a3e65 (diff)
Add forgotten tests/data files under git control
Diffstat (limited to 'tests')
-rw-r--r--tests/direct_access/t0019.good15
l---------tests/direct_access/t0019.in1
-rw-r--r--tests/direct_access/t0019.tst4
-rw-r--r--tests/ignored_input/data21
-rw-r--r--tests/ignored_input/data36
5 files changed, 27 insertions, 0 deletions
diff --git a/tests/direct_access/t0019.good b/tests/direct_access/t0019.good
new file mode 100644
index 0000000..f28c46c
--- /dev/null
+++ b/tests/direct_access/t0019.good
@@ -0,0 +1,15 @@
+$ OUT=$(smenu -c -N -F -D i:1 n:2 s:100 m:n f:n w:3 -- t0019.in)
+
+ 5) a 4) b 10) c d
+0:01 1:01 2:01 3:01 4:01 6:07 8:01 9:01 10:01 11:01 12:01 16:01 17:01 18:01 19:01 20:01
+ 6) e f 11) g h
+0:01 1:01 2:01 3:01 4:01 16:01 17:01 18:01 19:01 20:01
+ 7) u j 12) k l
+0:01 1:01 2:01 3:01 4:01 16:01 17:01 18:01 19:01 20:01
+$
+
+$ echo ":$OUT:"
+
+:a:
+
+$ exit 0
diff --git a/tests/direct_access/t0019.in b/tests/direct_access/t0019.in
new file mode 120000
index 0000000..7c06dd2
--- /dev/null
+++ b/tests/direct_access/t0019.in
@@ -0,0 +1 @@
+data5 \ No newline at end of file
diff --git a/tests/direct_access/t0019.tst b/tests/direct_access/t0019.tst
new file mode 100644
index 0000000..9a7f5f1
--- /dev/null
+++ b/tests/direct_access/t0019.tst
@@ -0,0 +1,4 @@
+\S[150]\s[10]OUT=$(smenu -c -N -F -D i:1 n:2 s:100 m:n f:n w:3 -- t0019.in)
+\S[150]\s[150]\r
+\S[150]\s[10]echo ":$\s[10]OUT:"
+exit 0
diff --git a/tests/ignored_input/data2 b/tests/ignored_input/data2
new file mode 100644
index 0000000..3c91621
--- /dev/null
+++ b/tests/ignored_input/data2
@@ -0,0 +1 @@
+a±b«c »a¿« «««x»»» «×»
diff --git a/tests/ignored_input/data3 b/tests/ignored_input/data3
new file mode 100644
index 0000000..7e69e06
--- /dev/null
+++ b/tests/ignored_input/data3
@@ -0,0 +1,6 @@
+a
+b
+ c
+ d e , f
+ g h
+ i