extfs: hp48: add tests.

This commit is contained in:
Mooffie 2016-12-13 01:13:00 +02:00 committed by Yury V. Zaytsev
parent 4557ee3c7a
commit d376f0ca43
5 changed files with 22 additions and 0 deletions

View File

@ -22,6 +22,10 @@ mc_parse_ls_l_SOURCES = \
mc_parse_ls_l.c
data_files_to_distribute = \
data/hp48+.README \
data/hp48+.args \
data/hp48+.input \
data/hp48+.output \
data/lslR.1.spaces.args \
data/lslR.1.spaces.input \
data/lslR.1.spaces.output \

View File

@ -0,0 +1,8 @@
The input file was taken from a comment in the helper (after removing
the "Directory" line (which is tricky to test), and adding the
not-really-necessary "EOF").
The '--drop-mtime' argument is needed because the helper emits the
current date, which is always changing, whereas our output files have to
be constant.

View File

@ -0,0 +1 @@
--drop-mtime

View File

@ -0,0 +1,6 @@
{ HOME } 105617
YEN 30.5 Program 53391
JYTLIGHT 21848.5 String 62692
IOPAR 37.5 List 61074
EOF

View File

@ -0,0 +1,3 @@
-rw-r--r-- 1 0 0 30 /YEN
-rw-r--r-- 1 0 0 21848 /JYTLIGHT
-rw-r--r-- 1 0 0 37 /IOPAR