summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-08-26 21:30:04 +0200
committerpgen <p.gen.progs@gmail.com>2020-08-27 00:19:25 +0200
commit05dcbd8a903fe9f9e562f14205942830ba7f228c (patch)
tree16a3070133a54884d116a1e6b8ab81413a94fd8f /tests
parentb4215ab8fe2157db5ddf2b9034e1e685c3a9270a (diff)
Fix tests/ignored_input/t0003.tst
Diffstat (limited to 'tests')
-rw-r--r--tests/ignored_input/t0003.good6
-rw-r--r--tests/ignored_input/t0003.tst2
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/ignored_input/t0003.good b/tests/ignored_input/t0003.good
index 1b65fe8..d1f583c 100644
--- a/tests/ignored_input/t0003.good
+++ b/tests/ignored_input/t0003.good
@@ -1,4 +1,4 @@
-$ OUT=$(smenu -zap 02 t0003.in)
+$ OUT=$(smenu -zap 02 t0003.in|od -c|tr -d ' ')
\r 1\r 1\r 11\r 1\r 13\r 14\r 15\r 16\r 17\r 18\r 19\r \r \r 3\r 4\r 5\r 6\r
11:07 12:07 13:07 14:07
@@ -8,6 +8,8 @@ $
$ echo ":$OUT:"
-:11\r:
+:000000011\r
+
+0000004:
$ exit 0
diff --git a/tests/ignored_input/t0003.tst b/tests/ignored_input/t0003.tst
index a5a548e..a7b7c4e 100644
--- a/tests/ignored_input/t0003.tst
+++ b/tests/ignored_input/t0003.tst
@@ -1,4 +1,4 @@
-\S[150]\s[10]OUT=$(smenu -zap 02 t0003.in)
+\S[150]\s[10]OUT=$(smenu -zap 02 t0003.in|od -c|tr -d ' ')
\S[150]\s[150]lll\r
\S[150]\s[10]echo ":$\s[10]OUT:"
exit 0