summaryrefslogtreecommitdiffstats
path: root/tests/src/vfs/extfs/helpers-list/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/vfs/extfs/helpers-list/data')
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/config.sh.in9
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/dummy3
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/hp48+.README8
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/hp48+.args1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/hp48+.input6
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/hp48+.output3
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input23
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output9
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input23
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output9
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input17
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output6
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/lslR.README26
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.README24
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars3
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.custom.input261
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.custom.output41
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars3
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.glib.input264
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.glib.output27
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh52
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.README26
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.complex.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.complex.input74
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.complex.output27
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.input5
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.output3
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.input11
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.output9
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.simple.input64
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/u7z.simple.output42
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uace.README15
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uace.input148
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uace.output136
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uarc.README19
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uarc.input7
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uarc.output3
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.README17
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.input29
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.output9
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.input102
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.output9
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.README16
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.input45
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.output42
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.input2
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.output2
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.env_vars1
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.input42
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.output42
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzoo.README8
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzoo.input18
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/uzoo.output18
62 files changed, 1819 insertions, 0 deletions
diff --git a/tests/src/vfs/extfs/helpers-list/data/config.sh.in b/tests/src/vfs/extfs/helpers-list/data/config.sh.in
new file mode 100644
index 0000000..05aca06
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/config.sh.in
@@ -0,0 +1,9 @@
+#
+# Configure-time parameters that may be useful in tests.
+#
+# See README for how to use this file.
+#
+PERL="@PERL@"
+AWK="@AWK@"
+PYTHON="@PYTHON@"
+RUBY="@RUBY@"
diff --git a/tests/src/vfs/extfs/helpers-list/data/dummy b/tests/src/vfs/extfs/helpers-list/data/dummy
new file mode 100644
index 0000000..e9c581d
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/dummy
@@ -0,0 +1,3 @@
+This is a dummy file meant to ensure this directory isn't empty so that git always creates it.
+
+Otherwise our 'test_all' script will fail complaining the directory doesn't exist.
diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.README b/tests/src/vfs/extfs/helpers-list/data/hp48+.README
new file mode 100644
index 0000000..d87ee97
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.README
@@ -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.
diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.args b/tests/src/vfs/extfs/helpers-list/data/hp48+.args
new file mode 100644
index 0000000..990629a
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.args
@@ -0,0 +1 @@
+--drop-mtime
diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.input b/tests/src/vfs/extfs/helpers-list/data/hp48+.input
new file mode 100644
index 0000000..2204139
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.input
@@ -0,0 +1,6 @@
+{ HOME } 105617
+YEN 30.5 Program 53391
+JYTLIGHT 21848.5 String 62692
+IOPAR 37.5 List 61074
+
+EOF
diff --git a/tests/src/vfs/extfs/helpers-list/data/hp48+.output b/tests/src/vfs/extfs/helpers-list/data/hp48+.output
new file mode 100644
index 0000000..3a24e4e
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/hp48+.output
@@ -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
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args
new file mode 100644
index 0000000..2308cee
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.args
@@ -0,0 +1 @@
+--drop-ids --drop-mtime
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input
new file mode 100644
index 0000000..908077a
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.input
@@ -0,0 +1,23 @@
+.:
+total 12
+drwxr-xr-x 3 serhiy serhiy 4096 Dec 29 19:12 1 2
+drwxr-xr-x 2 serhiy serhiy 4096 Dec 29 19:08 1 2
+drwxr-xr-x 2 serhiy serhiy 4096 Dec 29 19:12 1 2
+
+./ 1 2:
+total 4
+-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:08 b
+drwxr-xr-x 2 serhiy serhiy 4096 Dec 29 19:12 z
+
+./ 1 2/z:
+total 0
+
+./1 2:
+total 0
+-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:08 a
+
+./1 2 :
+total 0
+-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:09 d
+-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:08 c
+-rw-r--r-- 1 serhiy serhiy 0 Dec 29 19:09 x:
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output
new file mode 100644
index 0000000..dd6e5f1
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.1.spaces.output
@@ -0,0 +1,9 @@
+drwxr-xr-x 3 4096 ./ 1 2
+drwxr-xr-x 2 4096 ./1 2
+drwxr-xr-x 2 4096 ./1 2
+-rw-r--r-- 1 0 ./ 1 2/b
+drwxr-xr-x 2 4096 ./ 1 2/z
+-rw-r--r-- 1 0 ./1 2/a
+-rw-r--r-- 1 0 ./1 2 / d
+-rw-r--r-- 1 0 ./1 2 /c
+-rw-r--r-- 1 0 ./1 2 /x:
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args
new file mode 100644
index 0000000..9f52292
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.args
@@ -0,0 +1 @@
+--drop-ids
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input
new file mode 100644
index 0000000..569586d
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.input
@@ -0,0 +1,23 @@
+.:
+total 12
+drwxr-xr-x 3 serhiy serhiy 4096 2009-12-29 19:12 1 2
+drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:08 1 2
+drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:12 1 2
+
+./ 1 2:
+total 4
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 b
+drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:12 z
+
+./ 1 2/z:
+total 0
+
+./1 2:
+total 0
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 a
+
+./1 2 :
+total 0
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 c
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 d
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 x:
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output
new file mode 100644
index 0000000..60f0bdd
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.2.spaces-iso.output
@@ -0,0 +1,9 @@
+drwxr-xr-x 3 4096 2009-12-29 19:12:00 ./ 1 2
+drwxr-xr-x 2 4096 2009-12-29 19:08:00 ./1 2
+drwxr-xr-x 2 4096 2009-12-29 19:12:00 ./1 2
+-rw-r--r-- 1 0 2009-12-29 19:08:00 ./ 1 2/b
+drwxr-xr-x 2 4096 2009-12-29 19:12:00 ./ 1 2/z
+-rw-r--r-- 1 0 2009-12-29 19:08:00 ./1 2/a
+-rw-r--r-- 1 0 2009-12-29 19:08:00 ./1 2 /c
+-rw-r--r-- 1 0 2009-12-29 19:09:00 ./1 2 / d
+-rw-r--r-- 1 0 2009-12-29 19:09:00 ./1 2 /x:
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args
new file mode 100644
index 0000000..9f52292
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.args
@@ -0,0 +1 @@
+--drop-ids
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input
new file mode 100644
index 0000000..28e5c22
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.input
@@ -0,0 +1,17 @@
+ 1 2:
+total 4
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 b
+drwxr-xr-x 2 serhiy serhiy 4096 2009-12-29 19:12 z
+
+ 1 2/z:
+total 0
+
+1 2:
+total 0
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 a
+
+1 2 :
+total 0
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:08 c
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 d
+-rw-r--r-- 1 serhiy serhiy 0 2009-12-29 19:09 x:
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output
new file mode 100644
index 0000000..d32336e
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.3.spaces-iso-noslash.output
@@ -0,0 +1,6 @@
+-rw-r--r-- 1 0 2009-12-29 19:08:00 ./ 1 2/b
+drwxr-xr-x 2 4096 2009-12-29 19:12:00 ./ 1 2/z
+-rw-r--r-- 1 0 2009-12-29 19:08:00 1 2/a
+-rw-r--r-- 1 0 2009-12-29 19:08:00 1 2 /c
+-rw-r--r-- 1 0 2009-12-29 19:09:00 1 2 / d
+-rw-r--r-- 1 0 2009-12-29 19:09:00 1 2 /x:
diff --git a/tests/src/vfs/extfs/helpers-list/data/lslR.README b/tests/src/vfs/extfs/helpers-list/data/lslR.README
new file mode 100644
index 0000000..6b1f73b
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/lslR.README
@@ -0,0 +1,26 @@
+
+The inputs were taken from:
+
+ https://www.midnight-commander.org/ticket/1921
+
+These inputs are supposed to cover:
+
+- "spaces": spaces in dir/file names.
+
+- "iso": ISO date. The ticket claims this is enabled in en_US.UTF-8
+ locale, but that's untrue. Nevertheless, it's a useful format (the
+ default 'ls' dates are relative and therefore somewhat useless in lslR
+ files) so we don't mind covering it here.
+
+- "noshalsh": directories not starting with "./".
+
+Argument files:
+
+The output produced must be constant anytime. Therefore:
+
+- For the one input using non-ISO date we must use --drop-mtime.
+ Otherwise, because these are relative dates, next year the output
+ will show a different year.
+
+- For all inputs we use --drop-ids for the case we have user "serhiy" on
+ our system (and we aren't running as that user).
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.README b/tests/src/vfs/extfs/helpers-list/data/rpm.README
new file mode 100644
index 0000000..78c55bc
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.README
@@ -0,0 +1,24 @@
+
+The *.input files for the tests are what we call "tags files". They are
+generated by rpm2tags.
+
+The tests:
+
+- rpm.glib.input:
+
+ Generated from glib2-2.46.2-4.el7.i686.rpm (downloadable from
+ rpmfind.net).
+
+- rpm.custom.input:
+
+ Generated from our own custom package (see test.spec in this
+ distribution). The advantage of this custom package is that it lets us
+ test the helper with almost all the tags it's supposed to support.
+
+--
+
+The way we test this helper is a bit unconventional:
+
+We aren't overriding one or two variables in the helper but, instead,
+inject a code snippet into it (see 'rpm.rewrite.sh'). This lets us
+override a couple of functions to imitate the 'rpm' binary.
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars
new file mode 100644
index 0000000..a740c64
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.env_vars
@@ -0,0 +1,3 @@
+MC_TEST_RPM_REWRITE="$MC_TEST_EXTFS_DATA_DIR/rpm.rewrite.sh"
+
+MCFASTRPM= # disable "fast mode".
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input
new file mode 100644
index 0000000..e8cc464
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input
@@ -0,0 +1,261 @@
+# -*- mode: perl -*-
+# vim: filetype=perl
+#
+# This "tags file" was created by running the following command:
+#
+# $ perl rpm2tags.pl ~/rpmbuild/RPMS/noarch/test-2.3-4.noarch.rpm
+#
+# This file is used in our tests instead of the corresponding RPM file.
+# This lets us run the tests on systems where 'rpm' is not installed.
+
+$tags = {
+ 'PROVIDEVERSION' => '1:2.3-4',
+ 'PATCHESNAME' => '(none)',
+ 'REQUIREFLAGS' => '288',
+ 'NAME' => 'test',
+ 'FILEDEPENDSN' => '0',
+ 'POSTTRANS' => 'echo "Post-transaction script"',
+ 'SUGGESTNEVRS' => '(none)',
+ 'CONFLICTFLAGS' => '0',
+ 'VERIFYSCRIPT' => 'echo "Verify script"',
+ '_INFO' => 'Name : test
+Epoch : 1
+Version : 2.3
+Release : 4
+Architecture: noarch
+Install Date: (not installed)
+Group : Development/System
+Size : 5
+License : MIT
+Signature : (none)
+Source RPM : test-2.3-4.src.rpm
+Build Date : Thu Jan 5 13:46:18 2017
+Build Host : mooffie-desktop
+Relocations : (not relocatable)
+Packager : Test Packager
+Vendor : Test Vendor
+URL : http://example.com
+Summary : Testing
+Description :
+Multi-line description field
+with "double", \'single quotes\', and $weird | \\characters i\\n = i\\\\t, empty line...
+
+...and a tab: [ ].
+',
+ 'DBINSTANCE' => '0',
+ 'FILECOLORS' => '0',
+ 'POSTUNFLAGS' => '(none)',
+ 'POLICYTYPESINDEXES' => '(none)',
+ 'PACKAGER' => 'Test Packager',
+ 'SIGSIZE' => '2408',
+ 'PREINPROG' => '/bin/sh',
+ 'CLASSDICT' => 'ASCII text',
+ 'FILEINODES' => '1',
+ 'EXCLUSIVEARCH' => '(none)',
+ 'ICON' => '(none)',
+ 'OBSOLETEFLAGS' => '0',
+ 'CHANGELOGNAME' => 'Jiri Tyr <jiri.tyr at gmail.com> 1:2.3-4',
+ 'V' => '2.3',
+ 'VERIFYSCRIPTFLAGS' => '(none)',
+ 'SUPPLEMENTFLAGS' => '(none)',
+ 'FILECLASS' => 'ASCII text',
+ 'COOKIE' => '(none)',
+ 'OLDENHANCESNAME' => '(none)',
+ 'FILEDEPENDSX' => '0',
+ 'ORDERNAME' => '(none)',
+ 'TRIGGERSCRIPTS' => '(none)',
+ 'OLDFILENAMES' => '(none)',
+ 'PAYLOADFORMAT' => 'cpio',
+ 'CHANGELOGTIME' => '1483099200',
+ 'DIRINDEXES' => '0',
+ 'OLDENHANCESVERSION' => '(none)',
+ 'OLDENHANCES' => '(none)',
+ 'SIZE' => '5',
+ 'SUMMARY' => 'Testing',
+ 'POLICYFLAGS' => '(none)',
+ 'SOURCERPM' => 'test-2.3-4.src.rpm',
+ 'OBSOLETEVERSION' => '',
+ 'FILEUSERNAME' => 'root',
+ 'EPOCH' => '1',
+ 'ORIGDIRNAMES' => '(none)',
+ 'LICENSE' => 'MIT',
+ 'OLDSUGGESTS' => '(none)',
+ 'PATCHESVERSION' => '(none)',
+ 'FILEMD5S' => 'd8e8fca2dc0f896fd7cb4cb0031ba249',
+ 'POLICIES' => '(none)',
+ 'DSAHEADER' => '(none)',
+ 'LONGSIGSIZE' => '2408',
+ 'ENHANCENEVRS' => '(none)',
+ 'ENHANCEFLAGS' => '(none)',
+ 'PROVIDENEVRS' => 'test = 1:2.3-4',
+ 'OLDSUGGESTSFLAGS' => '(none)',
+ 'NVRA' => 'test-2.3-4.noarch',
+ 'TRIGGERINDEX' => '(none)',
+ 'HEADERI18NTABLE' => 'C',
+ 'PATCHESFLAGS' => '(none)',
+ 'BUILDARCHS' => '(none)',
+ 'ENHANCEVERSION' => '(none)',
+ 'REQUIREFLAGS:depflags' => '',
+ 'RECOMMENDS' => '(none)',
+ 'VERSION' => '2.3',
+ 'FILELINKTOS' => '',
+ 'CONFLICTNEVRS' => 'notest',
+ 'OBSOLETENEVRS' => 'testing',
+ 'E' => '1',
+ 'CHANGELOGTEXT' => '- Initial build.',
+ 'PRETRANSFLAGS' => '(none)',
+ 'REQUIRENAME' => '/bin/sh',
+ 'HEADERREGIONS' => '(none)',
+ 'NOPATCH' => '(none)',
+ 'FILEREQUIRE' => '',
+ 'BUILDTIME' => '1483616778',
+ 'FILEFLAGS' => '0',
+ 'OLDSUGGESTSVERSION' => '(none)',
+ 'PROVIDEFLAGS' => '8',
+ 'O' => 'testing',
+ 'SHA1HEADER' => '94826dbc4976a5c54a494a0591553b972edcf235',
+ 'ARCHIVESIZE' => '264',
+ 'FILENAMES' => '/var/tmp/test.txt',
+ 'FILERDEVS' => '0',
+ 'INSTALLCOLOR' => '(none)',
+ 'REQUIRENEVRS' => '/bin/sh',
+ 'FILEDIGESTS' => 'd8e8fca2dc0f896fd7cb4cb0031ba249',
+ 'EXCLUSIVEOS' => '(none)',
+ 'CHANGELOGTIME:date' => 'Fri Dec 30 14:00:00 2016',
+ 'PREFIXES' => '(none)',
+ 'POLICYNAMES' => '(none)',
+ 'FILEVERIFYFLAGS' => '4294967295',
+ 'TRIGGERNAME' => '(none)',
+ 'PROVIDES' => 'test',
+ 'RELEASE' => '4',
+ 'SOURCEPACKAGE' => '(none)',
+ 'FSCONTEXTS' => '(none)',
+ 'GROUP' => 'Development/System',
+ 'HDRID' => '94826dbc4976a5c54a494a0591553b972edcf235',
+ 'SOURCEPKGID' => '(none)',
+ 'SUGGESTVERSION' => '(none)',
+ 'SIGGPG' => '(none)',
+ 'FILELANGS' => '',
+ 'ORDERFLAGS' => '(none)',
+ 'GIF' => '(none)',
+ 'OBSOLETES' => 'testing',
+ 'REQUIREVERSION' => '',
+ 'PAYLOADFLAGS' => '9',
+ 'TRIGGERTYPE' => '(none)',
+ 'REMOVETID' => '(none)',
+ 'OBSOLETEFLAGS:depflags' => '',
+ 'FILEMTIMES' => '1483616778',
+ 'POSTUN' => 'echo "Post-uninstallation script"',
+ 'PROVIDEFLAGS:depflags' => '=',
+ 'POSTINPROG' => '/bin/sh',
+ 'OLDSUGGESTSNAME' => '(none)',
+ 'BUGURL' => '(none)',
+ 'INSTALLTIME' => '(none)',
+ 'PREINFLAGS' => '(none)',
+ 'LONGARCHIVESIZE' => '264',
+ 'ENHANCES' => '(none)',
+ 'VENDOR' => 'Test Vendor',
+ 'URL' => 'http://example.com',
+ 'RSAHEADER' => '(none)',
+ 'VCS' => '(none)',
+ 'POSTTRANSPROG' => '/bin/sh',
+ 'TRIGGERVERSION' => '(none)',
+ 'ORIGBASENAMES' => '(none)',
+ 'TRIGGERFLAGS' => '(none)',
+ 'RECOMMENDFLAGS' => '(none)',
+ 'ARCH' => 'noarch',
+ 'SUGGESTFLAGS' => '(none)',
+ 'OS' => 'linux',
+ 'PREUNPROG' => '/bin/sh',
+ 'P' => 'test',
+ 'SUPPLEMENTNAME' => '(none)',
+ 'CONFLICTFLAGS:depflags' => '',
+ 'DEPENDSDICT' => '(none)',
+ 'PREUNFLAGS' => '(none)',
+ 'PLATFORM' => 'noarch-debian-linux',
+ 'DIRNAMES' => '/var/tmp/',
+ 'POSTTRANSFLAGS' => '(none)',
+ 'NVR' => 'test-2.3-4',
+ 'SIGPGP' => '(none)',
+ 'INSTFILENAMES' => '(none)',
+ 'CONFLICTS' => 'notest',
+ 'NEVRA' => 'test-1:2.3-4.noarch',
+ 'RECONTEXTS' => '(none)',
+ 'NEVR' => 'test-1:2.3-4',
+ 'REQUIRES' => '/bin/sh',
+ 'PATCH' => '(none)',
+ 'SOURCE' => '(none)',
+ 'LONGSIZE' => '5',
+ 'FILECAPS' => '(none)',
+ 'DISTURL' => '(none)',
+ 'RECOMMENDVERSION' => '(none)',
+ 'FILEMODES' => '33188',
+ 'BUILDHOST' => 'mooffie-desktop',
+ 'PUBKEYS' => '(none)',
+ 'PREUN' => 'echo "Pre-uninstallation script"',
+ 'FILEPROVIDE' => '',
+ 'OPTFLAGS' => '-O2 -g -march=i386 -mtune=i686',
+ 'ORIGFILENAMES' => '(none)',
+ 'CONFLICTNAME' => 'notest',
+ 'TRIGGERSCRIPTFLAGS' => '(none)',
+ 'TRIGGERCONDS' => '(none)',
+ 'HEADERIMAGE' => '(none)',
+ 'SUPPLEMENTVERSION' => '(none)',
+ 'BASENAMES' => 'test.txt',
+ 'SUPPLEMENTS' => '(none)',
+ 'SUGGESTS' => '(none)',
+ 'PREIN' => 'echo "Pre-installation script"',
+ 'OLDENHANCESFLAGS' => '(none)',
+ 'DESCRIPTION' => 'Multi-line description field
+with "double", \'single quotes\', and $weird | \\characters i\\n = i\\\\t, empty line...
+
+...and a tab: [ ].',
+ 'FILESTATES' => '(none)',
+ 'CONFLICTVERSION' => '',
+ 'PROVIDENAME' => 'test',
+ 'HEADERCOLOR' => '0',
+ 'FILECONTEXTS' => '(none)',
+ 'EPOCHNUM' => '1',
+ 'LONGFILESIZES' => '5',
+ 'DISTRIBUTION' => 'Test Distro',
+ 'SUGGESTNAME' => '(none)',
+ 'RPMVERSION' => '4.12.0.1',
+ 'POLICYTYPES' => '(none)',
+ 'HEADERSIGNATURES' => '(none)',
+ 'VERBOSE' => '(none)',
+ 'R' => '4',
+ 'PKGID' => 'e8150d00f05b3becbc59c4a31becfab6',
+ 'NOSOURCE' => '(none)',
+ 'EXCLUDEARCH' => '(none)',
+ 'FILEDIGESTALGO' => '(none)',
+ 'N' => 'test',
+ 'RECOMMENDNAME' => '(none)',
+ 'FILESIZES' => '5',
+ 'FILEDEVICES' => '1',
+ 'EXCLUDEOS' => '(none)',
+ 'C' => 'notest',
+ 'PRETRANSPROG' => '/bin/sh',
+ 'PRETRANS' => 'echo "Pre-transaction script"',
+ 'ORIGDIRINDEXES' => '(none)',
+ 'FILENLINKS' => '1',
+ 'TRIGGERSCRIPTPROG' => '(none)',
+ 'VERIFYSCRIPTPROG' => '/bin/sh',
+ 'OBSOLETENAME' => 'testing',
+ 'RECOMMENDNEVRS' => '(none)',
+ 'POSTINFLAGS' => '(none)',
+ 'BUILDTIME:date' => 'Thu Jan 5 13:46:18 2017',
+ 'SIGMD5' => 'e8150d00f05b3becbc59c4a31becfab6',
+ 'SUPPLEMENTNEVRS' => '(none)',
+ 'FILEGROUPNAME' => 'root',
+ 'POSTUNPROG' => '/bin/sh',
+ 'INSTPREFIXES' => '(none)',
+ 'ORDERVERSION' => '(none)',
+ 'XPM' => '(none)',
+ 'INSTALLTID' => '(none)',
+ 'POSTIN' => 'echo "Post-installation script"',
+ 'DISTTAG' => '(none)',
+ 'PAYLOADCOMPRESSOR' => 'gzip',
+ 'ENHANCENAME' => '(none)',
+ 'EVR' => '1:2.3-4'
+}
+;
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.output b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.output
new file mode 100644
index 0000000..c4f7b7b
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.output
@@ -0,0 +1,41 @@
+-r--r--r-- 1 0 0 597 2017-01-05 00:00:00 HEADER
+-r-xr-xr-x 1 0 0 0 2017-01-05 00:00:00 INSTALL
+-r-xr-xr-x 1 0 0 0 2017-01-05 00:00:00 UPGRADE
+dr-xr-xr-x 3 0 0 0 2017-01-05 00:00:00 INFO
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/NAME-EPOCH:VERSION-RELEASE
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/GROUP
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/BUILDHOST
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SOURCERPM
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/BUILDTIME
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/RPMVERSION
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/OS
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SIZE
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/DISTRIBUTION
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/VENDOR
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/DESCRIPTION
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SUMMARY
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PRETRANS
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTTRANS
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREIN
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTIN
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREUN
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTUN
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/VERIFYSCRIPT
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/ALL
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PRETRANSPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTTRANSPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREINPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTINPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/PREUNPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/POSTUNPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/SCRIPTS/VERIFYSCRIPTPROG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/PACKAGER
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/URL
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/EPOCH
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/LICENSE
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/REQUIRES
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/OBSOLETES
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/PROVIDES
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/CONFLICTS
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 INFO/CHANGELOG
+-r--r--r-- 1 0 0 0 2017-01-05 00:00:00 CONTENTS.cpio
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars
new file mode 100644
index 0000000..a740c64
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.env_vars
@@ -0,0 +1,3 @@
+MC_TEST_RPM_REWRITE="$MC_TEST_EXTFS_DATA_DIR/rpm.rewrite.sh"
+
+MCFASTRPM= # disable "fast mode".
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.input b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.input
new file mode 100644
index 0000000..23233d5
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.input
@@ -0,0 +1,264 @@
+# -*- mode: perl -*-
+# vim: filetype=perl
+#
+# This "tags file" was created by running the following command:
+#
+# $ perl rpm2tags.pl glib2-2.46.2-4.el7.i686.rpm
+#
+# This file is used in our tests instead of the corresponding RPM file.
+# This lets us run the tests on systems where 'rpm' is not installed.
+
+$tags = {
+ 'CONFLICTFLAGS:depflags' => '(none)',
+ 'P' => 'glib2',
+ 'FILELANGS' => '',
+ 'VERSION' => '2.46.2',
+ 'CHANGELOGTEXT' => '- Backport a patch to fix a segfault in file monitor code
+- Resolves: #1375753',
+ 'POSTIN' => '/sbin/ldconfig
+gio-querymodules-32 /usr/lib/gio/modules',
+ 'FILECONTEXTS' => '(none)',
+ 'TRIGGERTYPE' => '(none)',
+ 'GROUP' => 'System Environment/Libraries',
+ 'DESCRIPTION' => 'GLib is the low-level core library that forms the basis for projects
+such as GTK+ and GNOME. It provides data structure handling for C,
+portability wrappers, and interfaces for such runtime functionality
+as an event loop, threads, dynamic loading, and an object system.',
+ 'NEVR' => 'glib2-2.46.2-4.el7',
+ 'NOPATCH' => '(none)',
+ 'SOURCEPACKAGE' => '(none)',
+ 'VERBOSE' => '(none)',
+ 'REQUIRENEVRS' => '/bin/sh',
+ 'TRIGGERSCRIPTFLAGS' => '(none)',
+ 'VENDOR' => 'CentOS',
+ 'DSAHEADER' => '(none)',
+ 'PRETRANSPROG' => '(none)',
+ 'PROVIDES' => 'glib2',
+ 'EXCLUSIVEOS' => '(none)',
+ 'NVRA' => 'glib2-2.46.2-4.el7.i686',
+ 'URL' => 'http://www.gtk.org',
+ 'DISTRIBUTION' => '(none)',
+ 'OBSOLETENEVRS' => '(none)',
+ 'O' => '(none)',
+ 'SIGPGP' => '8902150305005831e31824c6a8a7f4a80eb50108452c0ff9011ff528bd335c28b6dab1b1b783cde246b3ca8df41216124a66c86bb13d864fb68fcaffaff69a7c0638c20445cef0d8712b66430ef959b823b7c48253b46e9646fc15bb07024abcd160df2c42be0a3aed81b79ebce4779eee5510148683e10ae0da26959abe5c0df821b18a64a9d0f0c87e4be02c7644999c4dc735aaf36f88e652b12fe786a2fc22e9e9ecee1156681d8ac6f5b088b9593ea5fd0c1c62e14b5b1863d019ab04ab6008ab736e9643bd45fcab373a407b669c4efd4973d36b59411146bf21f1b1caca15ea36616ee510e0a57e5ac412fbc5094637f9bdb3bdb07cf0a5a84a560aeed5b92e99ef796025fdfe25a1dd1ea58e24f7218d2b2a76286c4859feb02c6b1221055a3ba4f61dd997c9a240a7127439c5184f18432da6c9588e5166a665d10d78673067fe006411171eee32e28ff548c1500376b4851691925f0d5fa855c62312d71c8444077a397cfda03e4e026ba065fef29bf5922fc68522e4a394e1e851049b965c9d1a680df8c94c41b703667ff84db43e45a1508916d76ac45928d00fe60643366484d5215cb9e08c4737f0c9d27c3f812fecd72aef6195e07badeab549f1f57adcd860e3e3ea7006faa32d63b9dc65d46a06c0f9ce6d15541e612b76bc2d61d154c18700fe92be41e78dff5679f7cfb69fb430edf873dd8a7adf9e4214ff6d09d814314be641408c073d3a17da631463a8ea6522',
+ 'PREINPROG' => '(none)',
+ 'ENHANCENAME' => '(none)',
+ 'INSTALLCOLOR' => '(none)',
+ 'OLDENHANCESNAME' => '(none)',
+ 'OBSOLETES' => '(none)',
+ 'ARCH' => 'i686',
+ 'RECOMMENDVERSION' => '(none)',
+ 'OBSOLETEFLAGS:depflags' => '(none)',
+ 'POSTUNPROG' => '/bin/sh',
+ 'POLICYTYPES' => '(none)',
+ 'RECOMMENDFLAGS' => '(none)',
+ 'CLASSDICT' => 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=1171bf18928201e1c6ec8e190e64303762a1f4d9, stripped',
+ 'CONFLICTS' => '(none)',
+ 'NOSOURCE' => '(none)',
+ 'EXCLUDEOS' => '(none)',
+ 'FILEMTIMES' => '1478898094',
+ 'DBINSTANCE' => '0',
+ 'ORIGBASENAMES' => '(none)',
+ 'ENHANCEVERSION' => '(none)',
+ 'FILEFLAGS' => '0',
+ 'FSCONTEXTS' => '(none)',
+ 'PROVIDEVERSION' => '2.46.2-4.el7',
+ 'FILEMD5S' => 'f64bee32e178161f3340ebd97e83193f9302ef5dc22a83608e3923bf450c847d',
+ 'BASENAMES' => 'gapplication',
+ 'POLICYTYPESINDEXES' => '(none)',
+ 'PROVIDENEVRS' => 'glib2 = 2.46.2-4.el7',
+ 'OS' => 'linux',
+ 'POSTINPROG' => '/bin/sh',
+ 'OLDSUGGESTSVERSION' => '(none)',
+ 'INSTALLTID' => '(none)',
+ 'PROVIDEFLAGS:depflags' => '=',
+ 'PREUNFLAGS' => '(none)',
+ 'OLDFILENAMES' => '(none)',
+ 'BUILDARCHS' => '(none)',
+ 'ORIGDIRNAMES' => '(none)',
+ 'SUGGESTFLAGS' => '(none)',
+ 'INSTFILENAMES' => '(none)',
+ 'FILEUSERNAME' => 'root',
+ 'CONFLICTNEVRS' => '(none)',
+ 'PROVIDENAME' => 'glib2',
+ 'LICENSE' => 'LGPLv2+',
+ 'OLDSUGGESTS' => '(none)',
+ 'RECOMMENDNAME' => '(none)',
+ 'PATCHESVERSION' => '(none)',
+ 'DISTTAG' => '(none)',
+ 'FILEDIGESTS' => 'f64bee32e178161f3340ebd97e83193f9302ef5dc22a83608e3923bf450c847d',
+ 'EXCLUSIVEARCH' => '(none)',
+ 'V' => '2.46.2',
+ 'OLDENHANCESVERSION' => '(none)',
+ 'POSTTRANSFLAGS' => '(none)',
+ 'SUPPLEMENTNEVRS' => '(none)',
+ 'XPM' => '(none)',
+ 'PREUN' => '(none)',
+ 'ORDERFLAGS' => '(none)',
+ 'ORIGFILENAMES' => '(none)',
+ 'GIF' => '(none)',
+ 'ORIGDIRINDEXES' => '(none)',
+ 'SOURCERPM' => 'glib2-2.46.2-4.el7.src.rpm',
+ 'OBSOLETEFLAGS' => '(none)',
+ 'PRETRANSFLAGS' => '(none)',
+ 'POSTUNFLAGS' => '(none)',
+ 'ICON' => '(none)',
+ 'PREINFLAGS' => '(none)',
+ 'PREIN' => '(none)',
+ 'DIRINDEXES' => '0',
+ 'HEADERI18NTABLE' => 'C',
+ 'POSTTRANS' => '(none)',
+ 'BUILDTIME:date' => 'Fri Nov 11 23:01:44 2016',
+ 'ORDERVERSION' => '(none)',
+ 'SUPPLEMENTNAME' => '(none)',
+ 'CHANGELOGTIME' => '1473854400',
+ 'FILECAPS' => '(none)',
+ 'RECOMMENDS' => '(none)',
+ 'PAYLOADFORMAT' => 'cpio',
+ 'RPMVERSION' => '4.11.3',
+ 'SIZE' => '11147850',
+ 'FILEINODES' => '1',
+ 'SUPPLEMENTVERSION' => '(none)',
+ 'N' => 'glib2',
+ 'PROVIDEFLAGS' => '8',
+ 'FILECOLORS' => '1',
+ 'REMOVETID' => '(none)',
+ 'INSTPREFIXES' => '(none)',
+ 'PATCHESFLAGS' => '(none)',
+ 'HDRID' => '60af3b40a992bea6f874a1ebde5a2abecfe729ab',
+ 'OBSOLETEVERSION' => '(none)',
+ 'EXCLUDEARCH' => '(none)',
+ 'ENHANCEFLAGS' => '(none)',
+ 'REQUIRENAME' => '/bin/sh',
+ 'LONGSIGSIZE' => '2374912',
+ 'C' => '(none)',
+ 'TRIGGERINDEX' => '(none)',
+ 'SOURCE' => '(none)',
+ 'SUGGESTNAME' => '(none)',
+ 'BUILDHOST' => 'c1bm.rdu2.centos.org',
+ 'VERIFYSCRIPT' => '(none)',
+ 'HEADERIMAGE' => '(none)',
+ 'POSTTRANSPROG' => '(none)',
+ 'SUPPLEMENTS' => '(none)',
+ 'FILELINKTOS' => '',
+ 'EVR' => '2.46.2-4.el7',
+ 'SUPPLEMENTFLAGS' => '(none)',
+ 'VCS' => '(none)',
+ 'SIGSIZE' => '2374912',
+ 'NAME' => 'glib2',
+ 'SIGGPG' => '(none)',
+ 'RECOMMENDNEVRS' => '(none)',
+ 'NVR' => 'glib2-2.46.2-4.el7',
+ 'TRIGGERCONDS' => '(none)',
+ 'OLDENHANCES' => '(none)',
+ 'VERIFYSCRIPTFLAGS' => '(none)',
+ 'EPOCH' => '(none)',
+ 'PLATFORM' => 'i686-redhat-linux-gnu',
+ 'REQUIREFLAGS:depflags' => '',
+ 'CONFLICTFLAGS' => '(none)',
+ 'POLICYFLAGS' => '(none)',
+ 'SOURCEPKGID' => '(none)',
+ 'CHANGELOGNAME' => 'Kalev Lember <klember@redhat.com> - 2.46.2-4',
+ 'BUGURL' => '(none)',
+ 'POSTINFLAGS' => '(none)',
+ 'RECONTEXTS' => '(none)',
+ 'INSTALLTIME' => '(none)',
+ 'HEADERCOLOR' => '1',
+ 'PATCH' => '(none)',
+ 'TRIGGERFLAGS' => '(none)',
+ 'PAYLOADFLAGS' => '2',
+ 'REQUIREVERSION' => '',
+ 'DEPENDSDICT' => '1375731723',
+ 'POLICIES' => '(none)',
+ 'ORDERNAME' => '(none)',
+ '_INFO' => 'Name : glib2
+Version : 2.46.2
+Release : 4.el7
+Architecture: i686
+Install Date: (not installed)
+Group : System Environment/Libraries
+Size : 11147850
+License : LGPLv2+
+Signature : RSA/SHA256, Sun Nov 20 19:53:28 2016, Key ID 24c6a8a7f4a80eb5
+Source RPM : glib2-2.46.2-4.el7.src.rpm
+Build Date : Fri Nov 11 23:01:44 2016
+Build Host : c1bm.rdu2.centos.org
+Relocations : (not relocatable)
+Packager : CentOS BuildSystem <http://bugs.centos.org>
+Vendor : CentOS
+URL : http://www.gtk.org
+Summary : A library of handy utility functions
+Description :
+GLib is the low-level core library that forms the basis for projects
+such as GTK+ and GNOME. It provides data structure handling for C,
+portability wrappers, and interfaces for such runtime functionality
+as an event loop, threads, dynamic loading, and an object system.
+',
+ 'LONGARCHIVESIZE' => '11168196',
+ 'OLDSUGGESTSFLAGS' => '(none)',
+ 'RELEASE' => '4.el7',
+ 'FILENLINKS' => '1',
+ 'NEVRA' => 'glib2-2.46.2-4.el7.i686',
+ 'POSTUN' => '/sbin/ldconfig
+[ ! -x /usr/bin/gio-querymodules-32 ] || \\
+gio-querymodules-32 /usr/lib/gio/modules',
+ 'BUILDTIME' => '1478898104',
+ 'LONGFILESIZES' => '14936',
+ 'OLDSUGGESTSNAME' => '(none)',
+ 'POLICYNAMES' => '(none)',
+ 'PREFIXES' => '(none)',
+ 'TRIGGERSCRIPTS' => '(none)',
+ 'PUBKEYS' => '(none)',
+ 'SHA1HEADER' => '60af3b40a992bea6f874a1ebde5a2abecfe729ab',
+ 'SUGGESTVERSION' => '(none)',
+ 'E' => '(none)',
+ 'COOKIE' => '(none)',
+ 'FILEDIGESTALGO' => '8',
+ 'PRETRANS' => '(none)',
+ 'FILEGROUPNAME' => 'root',
+ 'DIRNAMES' => '/usr/bin/',
+ 'R' => '4.el7',
+ 'CONFLICTVERSION' => '(none)',
+ 'FILEMODES' => '33261',
+ 'TRIGGERVERSION' => '(none)',
+ 'HEADERREGIONS' => '(none)',
+ 'SUGGESTS' => '(none)',
+ 'OLDENHANCESFLAGS' => '(none)',
+ 'TRIGGERSCRIPTPROG' => '(none)',
+ 'FILEVERIFYFLAGS' => '4294967295',
+ 'FILEDEPENDSN' => '15',
+ 'FILEREQUIRE' => 'libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.0) libgio-2.0.so.0 libgobject-2.0.so.0 libgmodule-2.0.so.0 libz.so.1 libselinux.so.1 libresolv.so.2 libffi.so.6 libdl.so.2 libglib-2.0.so.0 libpthread.so.0 libc.so.6 rtld(GNU_HASH)',
+ 'FILERDEVS' => '0',
+ 'PKGID' => 'd8300bd6ae89fd3d471b823d4da55e5e',
+ 'FILEDEVICES' => '1',
+ 'FILENAMES' => '/usr/bin/gapplication',
+ 'ENHANCES' => '(none)',
+ 'EPOCHNUM' => '0',
+ 'VERIFYSCRIPTPROG' => '(none)',
+ 'PREUNPROG' => '(none)',
+ 'CONFLICTNAME' => '(none)',
+ 'FILESIZES' => '14936',
+ 'FILEPROVIDE' => '',
+ 'ARCHIVESIZE' => '11168196',
+ 'RSAHEADER' => '8902150305005831e31824c6a8a7f4a80eb50108cdf90ffc09656e816376ef5f32f146d136999f958f3e1338f21e0cac90bac97795d92c29301478a97f8b72afee0505896fa7c31195612542ba972da405323e3ec910ecc45350459220f39f2437a9ccbc3f9052b3d042d0e4a6d687f9be827b9c766d7fc680b2d99aebafe5134a54e64f0452be09b5592360d940ed3f3f3b14de7b0b124f510cfbdbd118e1638ee280edcbf6a9f916925f1b0bda0980935aedab1f9bfc342dceae437fa14736cdff2fe330ad37ab2719f6a3de84aaf3982a575a6f4980bc8a8e10a7ba51f53ed967a6c99638565147bbb0b2427c176ffbb8be5774b45f79388ff1407e6976608c3592784b971b791f0eca73a8a2ddafa70f656e3e565c9523aa1f4e78a56acdf39a91ebd90a481c0f02186f4bca965ecf889d075a87922830ed2c701d39ce627c362b222ed153c07b532a875744e1c54e9245c1044cf93520b208384d15413aba6b3425c457781862efd215a24c0c37c32c3ab29af785adfe418d5e86af53662163a9fed16dbac3ff4704120af67e0eb584a4f8766e510e6366eb5fcce0938253962b03972eca392e61f0f979f0dd7a554273d5ca463933033d67be82c7b31bcc2ef5c477907d3734aa596aefb7988a259d48d160413590243b56850eeab96ffa76d06b86faa0b6c9fd6fe43e902669444284e1947aa652673eb58214db9d19d0447de5bd036a45e9746ab4039f4dab7c73481a1bfb5a4d',
+ 'FILESTATES' => '(none)',
+ 'PACKAGER' => 'CentOS BuildSystem <http://bugs.centos.org>',
+ 'SUMMARY' => 'A library of handy utility functions',
+ 'OPTFLAGS' => '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables',
+ 'OBSOLETENAME' => '(none)',
+ 'REQUIRES' => '/bin/sh',
+ 'FILECLASS' => 'ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=1171bf18928201e1c6ec8e190e64303762a1f4d9, stripped',
+ 'PAYLOADCOMPRESSOR' => 'xz',
+ 'HEADERSIGNATURES' => '(none)',
+ 'PATCHESNAME' => '(none)',
+ 'CHANGELOGTIME:date' => 'Wed Sep 14 15:00:00 2016',
+ 'ENHANCENEVRS' => '(none)',
+ 'SIGMD5' => 'd8300bd6ae89fd3d471b823d4da55e5e',
+ 'FILEDEPENDSX' => '0',
+ 'DISTURL' => '(none)',
+ 'REQUIREFLAGS' => '1280',
+ 'TRIGGERNAME' => '(none)',
+ 'LONGSIZE' => '11147850',
+ 'SUGGESTNEVRS' => '(none)'
+}
+;
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.glib.output b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.output
new file mode 100644
index 0000000..ab012ac
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.glib.output
@@ -0,0 +1,27 @@
+-r--r--r-- 1 0 0 868 2016-11-11 00:00:00 HEADER
+-r-xr-xr-x 1 0 0 0 2016-11-11 00:00:00 INSTALL
+-r-xr-xr-x 1 0 0 0 2016-11-11 00:00:00 UPGRADE
+dr-xr-xr-x 3 0 0 0 2016-11-11 00:00:00 INFO
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/NAME-VERSION-RELEASE
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/GROUP
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/BUILDHOST
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SOURCERPM
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/BUILDTIME
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/RPMVERSION
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/OS
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SIZE
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/VENDOR
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/DESCRIPTION
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SUMMARY
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTIN
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTUN
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/ALL
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTINPROG
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/SCRIPTS/POSTUNPROG
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/PACKAGER
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/URL
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/LICENSE
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/REQUIRES
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/PROVIDES
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 INFO/CHANGELOG
+-r--r--r-- 1 0 0 0 2016-11-11 00:00:00 CONTENTS.cpio
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh b/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh
new file mode 100644
index 0000000..08867fa
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.rewrite.sh
@@ -0,0 +1,52 @@
+#
+# This file gets source'd into our rpm helper.
+#
+# It imitates the 'rpm' program by overriding a few functions.
+#
+
+# The tags file.
+TAGSF="$MC_TEST_EXTFS_INPUT"
+
+. "$MC_TEST_EXTFS_CONFIG_SH" # Gain access to $PERL.
+
+# ----------------------------------------------------------------------------
+
+#
+# Imitates 'rpm -qp --qf <TEMPLATE> <PACKAGE_FILE>'.
+#
+# (It ignores <PACKAGE_FILE>, using our input instead.)
+#
+# E.g.: given "Name: %{NAME} Ver: %{VERSION}",
+# prints "Name: php-pear-Twig Ver: 1.0.0".
+#
+rpm_qf()
+{
+ $PERL -w -e '
+ $tagsf = $ARGV[0];
+ $tmplt = $ARGV[1];
+
+ do $tagsf or die("$tagsf: $!");
+ $tmplt =~ s/\\n/\n/g;
+ $tmplt =~ s/%\{(.*?)\}/
+ (my $tag = $1) =~ s,^RPMTAG_,,; # Tag names may be specified with or without this prefix.
+ exists $tags->{$tag} ? $tags->{$tag} : "(none)"
+ /eg;
+ print $tmplt;
+ ' \
+ "$TAGSF" "$1"
+}
+RPM_QUERY_FMT=rpm_qf # Tell the helper to use it instead of the 'rpm' binary.
+
+# ----------------------------------------------------------------------------
+
+#
+# Overrides helper's.
+#
+# @Mock
+#
+mcrpmfs_getDesription()
+{
+ rpm_qf "%{_INFO}"
+}
+
+# ----------------------------------------------------------------------------
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.README b/tests/src/vfs/extfs/helpers-list/data/u7z.README
new file mode 100644
index 0000000..45ae720
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.README
@@ -0,0 +1,26 @@
+
+We have 4 inputs:
+
+- u7z.simple.input
+
+ Simplest input: no abnormalities.
+ (One line has a filename with spaces in it.)
+
+- u7z.missing-date.input
+
+ Date field is missing (see #2707).
+
+- u7z.missing-size-and-date.input
+
+ Size field is missing, and in some rows the date is missing too (see #2707).
+
+- u7z.complex.input
+
+ Downloaded from #2707. It's 'list.txt' plus three bottom lines from
+ 'listing2.txt'. It demonstrates all the above: missing date, missing
+ uncompressed and compressed size.
+
+
+Output files must be constant. Therefore in our '*.env_var' files we
+define a command that sets missing dates to some fixed date (instead of
+being the archive's date).
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.complex.env_vars b/tests/src/vfs/extfs/helpers-list/data/u7z.complex.env_vars
new file mode 100644
index 0000000..4521908
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.complex.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_U7Z_STAT="echo 2007-07-07 07:07:07"
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.complex.input b/tests/src/vfs/extfs/helpers-list/data/u7z.complex.input
new file mode 100644
index 0000000..4842ffd
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.complex.input
@@ -0,0 +1,74 @@
+
+7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
+p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
+
+Listing archive: Geekbench-2.2.3-WindowsSetup.exe
+
+--
+Path = Geekbench-2.2.3-WindowsSetup.exe
+Type = PE
+CPU = x86
+Characteristics = Executable 32-bit NoRelocs NoLineNums NoLocalSyms
+Created = 2009-12-06 03:50:52
+Physical Size = 5649208
+Headers Size = 1024
+Checksum = 5651922
+Image Size = 327680
+Section Alignment = 4096
+File Alignment = 512
+Code Size = 24064
+Initialized Data Size = 164864
+Uninitialized Data Size = 1024
+Linker Version = 6.0
+OS Version = 4.0
+Image Version = 6.0
+Subsystem Version = 4.0
+Subsystem = Windows GUI
+DLL Characteristics = TerminalServerAware
+Stack Reserve = 1048576
+Stack Commit = 4096
+Heap Reserve = 1048576
+Heap Commit = 4096
+Image Base = 4194304
+----
+Path = [0]
+Size = 5519272
+Packed Size = 5519272
+Offset = 123904
+--
+Path = [0]
+Type = Nsis
+Method = Deflate
+Solid = -
+
+ Date Time Attr Size Compressed Name
+------------------- ----- ------------ ------------ ------------------------
+ ..... 8005 $PLUGINSDIR/InstallOptions.dll
+ ..... 3328 $PLUGINSDIR/StartMenu.dll
+2007-11-15 01:12:38 ..... 134 $PLUGINSDIR/ioSpecial.ini
+2003-09-24 00:34:00 ..... 1886 $PLUGINSDIR/modern-wizard.bmp
+2011-11-03 02:33:04 ..... 1178084 Geekbench22.exe
+2011-11-03 02:33:04 ..... 101652 geekbench.exe
+2011-11-03 02:33:06 ..... 1058731 geekbench_x86_32.exe
+2011-11-03 02:33:06 ..... 1192155 geekbench_x86_64.exe
+2011-11-03 02:33:04 ..... 445814 cpuidsdk.dll
+2011-11-03 02:33:04 ..... 469920 cpuidsdk64.dll
+2011-11-03 02:33:04 ..... 737580 geekbench.plar
+2011-11-03 02:23:16 ..... 4014 $_OUTDIR/html/ui/bg-repeat.gif
+2011-11-03 02:23:16 ..... 12817 12817 $_OUTDIR/html/ui/callout-bg-bottom.gif
+2011-11-03 02:23:16 ..... 14648 $_OUTDIR/html/ui/callout-bg-top.gif
+2011-11-03 02:23:16 ..... 120 $_OUTDIR/html/ui/graph-background.png
+2011-11-03 02:23:16 ..... 861 861 $_OUTDIR/html/ui/heading-bg-left.gif
+2011-11-03 02:23:16 ..... 9854 $_OUTDIR/html/ui/heading-bg.gif
+2011-11-03 02:23:16 ..... 30401 $_OUTDIR/html/ui/logo.gif
+2011-11-03 02:23:16 ..... 1431 1431 $_OUTDIR/html/ui/nav-arrow-down.gif
+2011-11-03 02:23:16 ..... 1446 1446 $_OUTDIR/html/ui/nav-arrow-up.gif
+2011-11-03 02:23:16 ..... 1425 1425 $_OUTDIR/html/ui/nav-arrows-bg.gif
+2011-11-03 02:23:16 ..... 3841 $_OUTDIR/html/ui/table-wrapper-bg-repeat-x.gif
+2011-11-03 02:23:16 ..... 2885 2885 $_OUTDIR/html/ui/table-wrapper-bg-repeat.gif
+2011-11-03 02:23:16 ..... 142162 142162 $_OUTDIR/ux/splash-screen.png
+2006-08-11 23:49:28 ..... 28016 $PLUGINSDIR/splash.bmp
+ ..... 6144 $PLUGINSDIR/AdvSplash.dll
+ ..... plugins/shared memory/uninstall.exe
+------------------- ----- ------------ ------------ ------------------------
+ 163027 5423194 27 files, 0 folders
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.complex.output b/tests/src/vfs/extfs/helpers-list/data/u7z.complex.output
new file mode 100644
index 0000000..93012b1
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.complex.output
@@ -0,0 +1,27 @@
+-rw-r--r-- 1 <<uid>> <<gid>> 6144 2007-07-07 07:07:07 $PLUGINSDIR/AdvSplash.dll
+-rw-r--r-- 1 <<uid>> <<gid>> 8005 2007-07-07 07:07:07 $PLUGINSDIR/InstallOptions.dll
+-rw-r--r-- 1 <<uid>> <<gid>> 3328 2007-07-07 07:07:07 $PLUGINSDIR/StartMenu.dll
+-rw-r--r-- 1 <<uid>> <<gid>> 134 2007-11-15 01:12:38 $PLUGINSDIR/ioSpecial.ini
+-rw-r--r-- 1 <<uid>> <<gid>> 1886 2003-09-24 00:34:00 $PLUGINSDIR/modern-wizard.bmp
+-rw-r--r-- 1 <<uid>> <<gid>> 28016 2006-08-11 23:49:28 $PLUGINSDIR/splash.bmp
+-rw-r--r-- 1 <<uid>> <<gid>> 4014 2011-11-03 02:23:16 $_OUTDIR/html/ui/bg-repeat.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 12817 2011-11-03 02:23:16 $_OUTDIR/html/ui/callout-bg-bottom.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 14648 2011-11-03 02:23:16 $_OUTDIR/html/ui/callout-bg-top.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 120 2011-11-03 02:23:16 $_OUTDIR/html/ui/graph-background.png
+-rw-r--r-- 1 <<uid>> <<gid>> 861 2011-11-03 02:23:16 $_OUTDIR/html/ui/heading-bg-left.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 9854 2011-11-03 02:23:16 $_OUTDIR/html/ui/heading-bg.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 30401 2011-11-03 02:23:16 $_OUTDIR/html/ui/logo.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 1431 2011-11-03 02:23:16 $_OUTDIR/html/ui/nav-arrow-down.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 1446 2011-11-03 02:23:16 $_OUTDIR/html/ui/nav-arrow-up.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 1425 2011-11-03 02:23:16 $_OUTDIR/html/ui/nav-arrows-bg.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 3841 2011-11-03 02:23:16 $_OUTDIR/html/ui/table-wrapper-bg-repeat-x.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 2885 2011-11-03 02:23:16 $_OUTDIR/html/ui/table-wrapper-bg-repeat.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 142162 2011-11-03 02:23:16 $_OUTDIR/ux/splash-screen.png
+-rw-r--r-- 1 <<uid>> <<gid>> 1178084 2011-11-03 02:33:04 Geekbench22.exe
+-rw-r--r-- 1 <<uid>> <<gid>> 445814 2011-11-03 02:33:04 cpuidsdk.dll
+-rw-r--r-- 1 <<uid>> <<gid>> 469920 2011-11-03 02:33:04 cpuidsdk64.dll
+-rw-r--r-- 1 <<uid>> <<gid>> 101652 2011-11-03 02:33:04 geekbench.exe
+-rw-r--r-- 1 <<uid>> <<gid>> 737580 2011-11-03 02:33:04 geekbench.plar
+-rw-r--r-- 1 <<uid>> <<gid>> 1058731 2011-11-03 02:33:06 geekbench_x86_32.exe
+-rw-r--r-- 1 <<uid>> <<gid>> 1192155 2011-11-03 02:33:06 geekbench_x86_64.exe
+-rw-r--r-- 1 <<uid>> <<gid>> 0 2007-07-07 07:07:07 plugins/shared memory/uninstall.exe
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.env_vars b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.env_vars
new file mode 100644
index 0000000..4521908
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_U7Z_STAT="echo 2007-07-07 07:07:07"
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.input b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.input
new file mode 100644
index 0000000..a8156e2
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.input
@@ -0,0 +1,5 @@
+ Date Time Attr Size Compressed Name
+------------------- ----- ------------ ------------ ------------------------
+ D.... 0 0 $PLUGINSDIR
+ ..... 11024 8005 $PLUGINSDIR/InstallOptions.dll
+2007-11-15 01:12:38 ..... 235 134 $PLUGINSDIR/ioSpecial.ini
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.output b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.output
new file mode 100644
index 0000000..9fea879
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-date.output
@@ -0,0 +1,3 @@
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2007-07-07 07:07:07 $PLUGINSDIR
+-rw-r--r-- 1 <<uid>> <<gid>> 11024 2007-07-07 07:07:07 $PLUGINSDIR/InstallOptions.dll
+-rw-r--r-- 1 <<uid>> <<gid>> 235 2007-11-15 01:12:38 $PLUGINSDIR/ioSpecial.ini
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.env_vars b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.env_vars
new file mode 100644
index 0000000..4521908
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_U7Z_STAT="echo 2007-07-07 07:07:07"
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.input b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.input
new file mode 100644
index 0000000..f9ee9b5
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.input
@@ -0,0 +1,11 @@
+ Date Time Attr Size Compressed Name
+------------------- ----- ------------ ------------ ------------------------
+2011-11-01 01:33:04 ..... 469920 cpuidsdk64.dll
+2011-11-02 02:23:16 D.... 0 $_OUTDIR/html/ui
+2011-11-03 03:33:04 ..... test.dll
+2011-11-04 04:23:16 D.... test
+ ..... 17770090 no-date-cpuidsdk64.dll
+ D.... 0 no-date-$_OUTDIR/html/ui
+ ..... no-date-test.dll
+ D.... no-date-test
+2011-11-05 05:23:16 ..... 17897 12817 $_OUTDIR/html/ui/callout-bg-bottom.gif
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.output b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.output
new file mode 100644
index 0000000..260b705
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.missing-size-and-date.output
@@ -0,0 +1,9 @@
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2011-11-02 02:23:16 $_OUTDIR/html/ui
+-rw-r--r-- 1 <<uid>> <<gid>> 17897 2011-11-05 05:23:16 $_OUTDIR/html/ui/callout-bg-bottom.gif
+-rw-r--r-- 1 <<uid>> <<gid>> 469920 2011-11-01 01:33:04 cpuidsdk64.dll
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2007-07-07 07:07:07 no-date-$_OUTDIR/html/ui
+-rw-r--r-- 1 <<uid>> <<gid>> 17770090 2007-07-07 07:07:07 no-date-cpuidsdk64.dll
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2007-07-07 07:07:07 no-date-test
+-rw-r--r-- 1 <<uid>> <<gid>> 0 2007-07-07 07:07:07 no-date-test.dll
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2011-11-04 04:23:16 test
+-rw-r--r-- 1 <<uid>> <<gid>> 0 2011-11-03 03:33:04 test.dll
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.simple.input b/tests/src/vfs/extfs/helpers-list/data/u7z.simple.input
new file mode 100644
index 0000000..69835fb
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.simple.input
@@ -0,0 +1,64 @@
+
+7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
+p7zip Version 16.02 (locale=en_GB.utf8,Utf16=on,HugeFiles=on,32 bits,1 CPU Intel(R) Pentium(R) 4 CPU 1.80GHz (F27),ASM)
+
+Scanning the drive for archives:
+1 file, 7597 bytes (8 KiB)
+
+Listing archive: all.7z
+
+--
+Path = all.7z
+Type = 7z
+Physical Size = 7597
+Headers Size = 882
+Method = LZMA2:24k
+Solid = +
+Blocks = 1
+
+ Date Time Attr Size Compressed Name
+------------------- ----- ------------ ------------ ------------------------
+2016-10-26 08:35:48 D.... 0 0 x
+2009-05-03 21:01:33 D.... 0 0 x/etc
+2009-05-03 21:02:13 D.... 0 0 x/etc/X11
+2006-05-02 10:12:38 D.... 0 0 x/etc/X11/xinit
+2005-09-24 02:11:27 D.... 0 0 x/etc/X11/xinit/Xclients.d
+2005-12-04 19:15:47 D.... 0 0 x/etc/X11/xinit/xinitrc.d
+2009-05-03 21:07:38 D.... 0 0 x/etc/X11/xkb
+2016-12-18 22:30:42 ....A 0 0 with spaces.txt
+2002-08-01 23:21:47 ....A 143 6715 alert
+2004-05-19 20:42:38 ....A 363 atime
+2005-11-09 01:36:31 ....A 71 fv
+2003-10-18 20:37:07 ....A 59 fvd
+2006-10-22 22:26:05 ....A 83 magdev
+2006-10-19 16:56:16 ....A 72 maghelp
+2004-03-14 12:25:27 ....A 37 ml
+2004-07-06 18:02:03 ....A 28 modernize
+2004-04-02 03:05:30 ....A 138 pxml
+2004-12-08 20:42:44 ....A 725 s
+2002-07-29 11:58:15 ....A 803 ser
+2004-08-04 14:29:00 ....A 40 title
+2002-08-01 23:21:41 ....A 156 ualert
+2004-06-28 16:49:03 ....A 17 ucopy
+2004-06-28 16:49:10 ....A 18 upaste
+2003-08-25 19:08:11 ....A 2146 utf8_to_cp1255.perl
+2006-05-16 21:00:06 ....A 63 utf8_to_cp1255.sh
+2003-08-11 17:40:25 ....A 846 vimspell.sh
+2002-03-28 01:20:12 ....A 819 vimspell.txt
+2005-11-14 04:41:01 ....A 233 vp
+2010-01-31 23:04:48 ....A 340 x/.xsession
+2005-09-24 02:11:27 ....A 1856 x/etc/X11/xinit/Xclients
+2005-09-24 02:11:27 ....A 1270 x/etc/X11/xinit/xinitrc
+2005-09-24 02:11:27 ....A 2161 x/etc/X11/xinit/xinitrc-common
+2005-09-24 02:11:27 ....A 1579 x/etc/X11/xinit/xinitrc.d/xinput.sh
+2005-09-02 17:36:13 ....A 81 x/etc/X11/xinit/xinitrc.d/xmbind.sh
+2009-05-03 21:07:38 ....A 71 x/etc/X11/xkb/note.txt
+2003-08-03 01:46:40 ....A 489 x/setxkb
+2003-03-09 14:08:01 ....A 142 x/setxkb2
+2002-11-08 13:28:37 ....A 158 x/x
+2006-12-07 11:30:57 ....A 3746 x/xinitrc
+2006-12-07 11:28:18 ....A 42 x/xs
+2003-02-17 15:11:46 ....A 58 xcopy
+2003-02-17 15:10:46 ....A 58 xpaste
+------------------- ----- ------------ ------------ ------------------------
+2016-12-18 22:30:42 18911 6715 35 files, 7 folders
diff --git a/tests/src/vfs/extfs/helpers-list/data/u7z.simple.output b/tests/src/vfs/extfs/helpers-list/data/u7z.simple.output
new file mode 100644
index 0000000..009d8fd
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/u7z.simple.output
@@ -0,0 +1,42 @@
+-rw-r--r-- 1 <<uid>> <<gid>> 143 2002-08-01 23:21:47 alert
+-rw-r--r-- 1 <<uid>> <<gid>> 363 2004-05-19 20:42:38 atime
+-rw-r--r-- 1 <<uid>> <<gid>> 71 2005-11-09 01:36:31 fv
+-rw-r--r-- 1 <<uid>> <<gid>> 59 2003-10-18 20:37:07 fvd
+-rw-r--r-- 1 <<uid>> <<gid>> 83 2006-10-22 22:26:05 magdev
+-rw-r--r-- 1 <<uid>> <<gid>> 72 2006-10-19 16:56:16 maghelp
+-rw-r--r-- 1 <<uid>> <<gid>> 37 2004-03-14 12:25:27 ml
+-rw-r--r-- 1 <<uid>> <<gid>> 28 2004-07-06 18:02:03 modernize
+-rw-r--r-- 1 <<uid>> <<gid>> 138 2004-04-02 03:05:30 pxml
+-rw-r--r-- 1 <<uid>> <<gid>> 725 2004-12-08 20:42:44 s
+-rw-r--r-- 1 <<uid>> <<gid>> 803 2002-07-29 11:58:15 ser
+-rw-r--r-- 1 <<uid>> <<gid>> 40 2004-08-04 14:29:00 title
+-rw-r--r-- 1 <<uid>> <<gid>> 156 2002-08-01 23:21:41 ualert
+-rw-r--r-- 1 <<uid>> <<gid>> 17 2004-06-28 16:49:03 ucopy
+-rw-r--r-- 1 <<uid>> <<gid>> 18 2004-06-28 16:49:10 upaste
+-rw-r--r-- 1 <<uid>> <<gid>> 2146 2003-08-25 19:08:11 utf8_to_cp1255.perl
+-rw-r--r-- 1 <<uid>> <<gid>> 63 2006-05-16 21:00:06 utf8_to_cp1255.sh
+-rw-r--r-- 1 <<uid>> <<gid>> 846 2003-08-11 17:40:25 vimspell.sh
+-rw-r--r-- 1 <<uid>> <<gid>> 819 2002-03-28 01:20:12 vimspell.txt
+-rw-r--r-- 1 <<uid>> <<gid>> 233 2005-11-14 04:41:01 vp
+-rw-r--r-- 1 <<uid>> <<gid>> 0 2016-12-18 22:30:42 with spaces.txt
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2016-10-26 08:35:48 x
+-rw-r--r-- 1 <<uid>> <<gid>> 340 2010-01-31 23:04:48 x/.xsession
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2009-05-03 21:01:33 x/etc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2009-05-03 21:02:13 x/etc/X11
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2006-05-02 10:12:38 x/etc/X11/xinit
+-rw-r--r-- 1 <<uid>> <<gid>> 1856 2005-09-24 02:11:27 x/etc/X11/xinit/Xclients
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2005-09-24 02:11:27 x/etc/X11/xinit/Xclients.d
+-rw-r--r-- 1 <<uid>> <<gid>> 1270 2005-09-24 02:11:27 x/etc/X11/xinit/xinitrc
+-rw-r--r-- 1 <<uid>> <<gid>> 2161 2005-09-24 02:11:27 x/etc/X11/xinit/xinitrc-common
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2005-12-04 19:15:47 x/etc/X11/xinit/xinitrc.d
+-rw-r--r-- 1 <<uid>> <<gid>> 1579 2005-09-24 02:11:27 x/etc/X11/xinit/xinitrc.d/xinput.sh
+-rw-r--r-- 1 <<uid>> <<gid>> 81 2005-09-02 17:36:13 x/etc/X11/xinit/xinitrc.d/xmbind.sh
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2009-05-03 21:07:38 x/etc/X11/xkb
+-rw-r--r-- 1 <<uid>> <<gid>> 71 2009-05-03 21:07:38 x/etc/X11/xkb/note.txt
+-rw-r--r-- 1 <<uid>> <<gid>> 489 2003-08-03 01:46:40 x/setxkb
+-rw-r--r-- 1 <<uid>> <<gid>> 142 2003-03-09 14:08:01 x/setxkb2
+-rw-r--r-- 1 <<uid>> <<gid>> 158 2002-11-08 13:28:37 x/x
+-rw-r--r-- 1 <<uid>> <<gid>> 3746 2006-12-07 11:30:57 x/xinitrc
+-rw-r--r-- 1 <<uid>> <<gid>> 42 2006-12-07 11:28:18 x/xs
+-rw-r--r-- 1 <<uid>> <<gid>> 58 2003-02-17 15:11:46 xcopy
+-rw-r--r-- 1 <<uid>> <<gid>> 58 2003-02-17 15:10:46 xpaste
diff --git a/tests/src/vfs/extfs/helpers-list/data/uace.README b/tests/src/vfs/extfs/helpers-list/data/uace.README
new file mode 100644
index 0000000..1f53df0
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uace.README
@@ -0,0 +1,15 @@
+
+The input file was created by doing "unace l test.ace" on an archive
+created with WinAce (run under Wine; there's no native Linux ACE packer).
+One date was then changed by hand to "17.04.94" to test the 1900/2000
+boundary.
+
+Known issues with our uace:
+
+- It doesn't support filenames with spaces. (For the benefit of those
+ wishing to fix this, the input file intentionally contains such files.)
+
+- It reports '0' gid.
+
+- See note in the source about using Debian's 'unace-nonfree' package,
+ not 'unace'.
diff --git a/tests/src/vfs/extfs/helpers-list/data/uace.input b/tests/src/vfs/extfs/helpers-list/data/uace.input
new file mode 100644
index 0000000..af722db
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uace.input
@@ -0,0 +1,148 @@
+
+UNACE v2.5 Copyright by ACE Compression Software May 7 2015 03:22:29
+
+processing archive /..ive_c/Program Files/test.ace
+created on 11.12.2016 with ver 2.0 by
+*UNREGISTERED VERSION*
+Contents of archive test.ace
+
+ Date Time Packed Size Ratio File
+
+08.11.07 02:06 168 256 65% WinAce/find.add
+08.11.07 02:06 1796 5655 31% WinAce/winace.cnt
+08.11.07 02:06 580 1943 29% WinAce/winace_enu.cnt
+17.04.94 02:06 13968 31232 44% WinAce/arcext.de
+08.11.07 02:06 4484 26624 16% WinAce/sxuninst.de
+08.11.07 02:06 528 883 59% WinAce/file_id.diz
+08.11.07 02:06 463204 1446400 32% WinAce/acetools.dll
+08.11.07 02:06 137536 235008 58% WinAce/acev2.dll
+08.11.07 02:06 59604 166912 35% WinAce/arcext.dll
+08.11.07 02:06 8852 61440 14% WinAce/arcicons.dll
+08.11.07 02:06 31868 65536 48% WinAce/cabinet.dll
+08.11.07 02:06 327564 335360 97% WinAce/find.dll
+08.11.07 02:06 53588 119808 44% WinAce/sfxlib.dll
+23.10.07 01:06 74148 160256 46% WinAce/unrar3.dll
+08.11.07 02:06 3080 16384 18% WinAce/zficons.dll
+08.11.07 02:06 748 1938 38% WinAce/license.doc
+08.11.07 02:06 3208 11895 27% WinAce/technote.doc
+08.11.07 02:06 75240 439296 17% WinAce/acetools.enu
+08.11.07 02:06 6800 48128 14% WinAce/find.enu
+08.11.07 02:06 39852 104960 38% WinAce/order.enu
+08.11.07 02:06 1068 29696 3% WinAce/wb_setup.enu
+08.11.07 02:06 82952 594432 14% WinAce/winace.enu
+08.11.07 02:06 30148 36864 81% WinAce/ccrypt.exe
+08.11.07 02:06 35072 93696 37% WinAce/helpinst.exe
+11.12.16 22:17 74828 88092 84% Internet Explorer/iexplore.exe
+08.11.07 02:06 242496 252928 95% WinAce/order.exe
+08.11.07 02:06 24744 165376 15% WinAce/sxuninst.exe
+08.11.07 02:06 146988 401408 36% WinAce/wb_setup.exe
+08.11.07 02:06 1169036 1207296 96% WinAce/winace.exe
+08.11.07 02:06 504140 839956 60% WinAce/winace.hlp
+08.11.07 02:06 98852 137589 71% WinAce/winace_enu.hlp
+08.11.07 02:06 4896 20278 24% WinAce/menuimg.imf
+08.11.07 02:06 6232 20278 30% WinAce/menu256.imf
+08.11.07 02:06 12652 77878 16% WinAce/tool256.imf
+08.11.07 02:06 10144 77878 13% WinAce/toolimg.imf
+08.11.07 02:06 6460 80464 8% WinAce/menuimg.img
+08.11.07 02:06 15012 321254 4% WinAce/toolimg.img
+08.11.07 02:06 208 356 58% WinAce/outbar.ini
+08.11.07 02:06 320 1304 24% WinAce/products.ini
+08.11.07 02:06 256 409 62% WinAce/sfxopt.ini
+08.11.07 02:06 912 4215 21% WinAce/sxuninst.ini
+08.11.07 02:06 124 155 80% WinAce/toolimg.ini
+08.11.07 02:06 476 854 55% WinAce/volume.ini
+08.11.07 02:06 156 235 66% WinAce/order.ord
+08.11.07 02:06 298 298 100% WinAce/html/images/abort.png
+08.11.07 02:06 128 211 60% WinAce/html/images/added.png
+08.11.07 02:06 156 230 67% WinAce/html/images/back.png
+08.11.07 02:06 104 184 56% WinAce/html/images/backimg.png
+08.11.07 02:06 8184 8573 95% WinAce/html/images/banner_bg.png
+08.11.07 02:06 724 1488 48% WinAce/html/images/bar.png
+08.11.07 02:06 1148 1846 62% WinAce/html/images/bar1.png
+08.11.07 02:06 100 191 52% WinAce/html/images/bg2.png
+08.11.07 02:06 224 1001 22% WinAce/html/images/bug.png
+08.11.07 02:06 124 223 55% WinAce/html/images/check.png
+08.11.07 02:06 22632 23049 98% WinAce/html/images/compare.png
+08.11.07 02:06 220 278 79% WinAce/html/images/contact.png
+08.11.07 02:06 32 278 11% WinAce/html/images/email.png
+08.11.07 02:06 336 385 87% WinAce/html/images/fillout.png
+08.11.07 02:06 636 943 67% WinAce/html/images/fwd.png
+08.11.07 02:06 64 176 36% WinAce/html/images/infoback.png
+08.11.07 02:06 88 145 60% WinAce/html/images/line.png
+08.11.07 02:06 7852 7911 99% WinAce/html/images/logo.png
+08.11.07 02:06 5020 5595 89% WinAce/html/images/logotop.png
+08.11.07 02:06 1928 2551 75% WinAce/html/images/logoarc.png
+08.11.07 02:06 756 1108 68% WinAce/html/images/master.png
+08.11.07 02:06 372 1090 34% WinAce/html/images/new.png
+08.11.07 02:06 140 235 59% WinAce/html/images/nexttip.png
+08.11.07 02:06 64 211 30% WinAce/html/images/plus.png
+08.11.07 02:06 416 1015 41% WinAce/html/images/preview.png
+08.11.07 02:06 164 960 17% WinAce/html/images/redo.png
+08.11.07 02:06 124 201 61% WinAce/html/images/side.png
+08.11.07 02:06 316 382 82% WinAce/html/images/sysinfo.png
+08.11.07 02:06 448 482 92% WinAce/html/images/tip.png
+08.11.07 02:06 276 345 80% WinAce/html/images/tip1.png
+08.11.07 02:06 520 1264 41% WinAce/html/images/top.png
+08.11.07 02:06 300 993 30% WinAce/html/images/top_r.png
+08.11.07 02:06 112 992 11% WinAce/html/images/top_l.png
+08.11.07 02:06 212 1012 20% WinAce/html/images/visa.png
+08.11.07 02:06 76 132 57% WinAce/html/images/vline.png
+08.11.07 02:06 188 263 71% WinAce/html/images/w.png
+08.11.07 02:06 424 1186 35% WinAce/html/images/waceico.png
+08.11.07 02:06 4236 4824 87% WinAce/html/images/winacelogo.png
+08.11.07 02:06 332 406 81% WinAce/html/images/winace.png
+08.11.07 02:06 61840 64933 95% WinAce/sfxfiles/dos32.sfx
+08.11.07 02:06 40800 79937 51% WinAce/sfxfiles/os2cl.sfx
+08.11.07 02:06 57588 68877 83% WinAce/sfxfiles/wgui_hu.sfx
+08.11.07 02:06 7540 68834 11% WinAce/sfxfiles/wgui_plk.sfx
+08.11.07 02:06 6660 68824 9% WinAce/sfxfiles/wgui_cz.sfx
+08.11.07 02:06 6748 68781 9% WinAce/sfxfiles/wgui_fr.sfx
+08.11.07 02:06 6964 68692 10% WinAce/sfxfiles/wgui_nld.sfx
+08.11.07 02:06 3636 68621 5% WinAce/sfxfiles/wgui_it.sfx
+08.11.07 02:06 6824 68478 10% WinAce/sfxfiles/wgui_de.sfx
+08.11.07 02:06 6052 68215 8% WinAce/sfxfiles/wgui_en.sfx
+08.11.07 02:06 35912 46936 76% WinAce/sfxfiles/win32cl.sfx
+08.11.07 02:06 1020 2249 45% WinAce/html/english/infotip.txt
+08.11.07 02:06 984 2234 44% WinAce/html/deutsch/infotip.txt
+08.11.07 02:06 476 960 49% WinAce/infodeu.txt
+08.11.07 02:06 32 256 12% WinAce/language.txt
+08.11.07 02:06 920 3138 29% WinAce/register.txt
+08.11.07 02:06 424 1117 38% WinAce/regsites.txt
+08.11.07 02:06 344 960 35% WinAce/techinfo.txt
+08.11.07 02:06 44 47 93% WinAce/winace.url
+08.11.07 02:06 1260 3538 35% WinAce/html/english/av.whf
+08.11.07 02:06 40 3538 1% WinAce/html/deutsch/av.whf
+08.11.07 02:06 1564 13100 11% WinAce/html/deutsch/commands.whf
+08.11.07 02:06 1100 10299 10% WinAce/html/english/commands.whf
+08.11.07 02:06 200 1157 17% WinAce/html/deutsch/compare.whf
+08.11.07 02:06 48 1155 4% WinAce/html/english/compare.whf
+08.11.07 02:06 13200 85468 15% WinAce/html/deutsch/history.whf
+08.11.07 02:06 10804 69151 15% WinAce/html/english/history.whf
+08.11.07 02:06 1532 10208 15% WinAce/html/deutsch/info.whf
+08.11.07 02:06 1128 7971 14% WinAce/html/english/info.whf
+08.11.07 02:06 584 3193 18% WinAce/html/deutsch/infotip.whf
+08.11.07 02:06 272 2518 10% WinAce/html/english/infotip.whf
+08.11.07 02:06 336 2271 14% WinAce/html/deutsch/menu.whf
+08.11.07 02:06 116 2239 5% WinAce/html/english/menu.whf
+08.11.07 02:06 140 1256 11% WinAce/html/english/menuex.whf
+08.11.07 02:06 100 1245 8% WinAce/html/deutsch/menuex.whf
+08.11.07 02:06 264 1945 13% WinAce/html/english/nav.whf
+08.11.07 02:06 88 1930 4% WinAce/html/deutsch/nav.whf
+08.11.07 02:06 1792 12471 14% WinAce/html/deutsch/order.whf
+08.11.07 02:06 1480 12426 11% WinAce/html/english/order.whf
+08.11.07 02:06 460 2158 21% WinAce/html/deutsch/share.whf
+08.11.07 02:06 332 1745 19% WinAce/html/english/share.whf
+08.11.07 02:06 376 1547 24% WinAce/html/english/system.whf
+08.11.07 02:06 220 1462 15% WinAce/html/deutsch/system.whf
+08.11.07 02:06 300 2282 13% WinAce/html/english/top.whf
+08.11.07 02:06 68 2256 3% WinAce/html/deutsch/top.whf
+08.11.07 02:06 176 602 29% WinAce/html/deutsch/usage.whf
+08.11.07 02:06 44 601 7% WinAce/html/english/usage.whf
+08.11.07 02:06 220 889 24% WinAce/html/english/welcome.whf
+08.11.07 02:06 40 881 4% WinAce/html/deutsch/welcome.whf
+08.11.07 02:06 228 374 61% WinAce/projects/backup fast.wpf
+08.11.07 02:06 68 354 19% WinAce/projects/backup maximum.wpf
+08.11.07 02:06 68 126 54% WinAce/projects/multivolume.wpf
+08.11.07 02:06 52 94 55% WinAce/projects/zip compression.wpf
+
+listed: 136 files, totaling 8.613K bytes (compressed 4.021K)
diff --git a/tests/src/vfs/extfs/helpers-list/data/uace.output b/tests/src/vfs/extfs/helpers-list/data/uace.output
new file mode 100644
index 0000000..a2cedea
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uace.output
@@ -0,0 +1,136 @@
+-rw-r--r-- 1 <<uid>> 0 256 2007-11-08 02:06:00 WinAce/find.add
+-rw-r--r-- 1 <<uid>> 0 5655 2007-11-08 02:06:00 WinAce/winace.cnt
+-rw-r--r-- 1 <<uid>> 0 1943 2007-11-08 02:06:00 WinAce/winace_enu.cnt
+-rw-r--r-- 1 <<uid>> 0 31232 1994-04-17 02:06:00 WinAce/arcext.de
+-rw-r--r-- 1 <<uid>> 0 26624 2007-11-08 02:06:00 WinAce/sxuninst.de
+-rw-r--r-- 1 <<uid>> 0 883 2007-11-08 02:06:00 WinAce/file_id.diz
+-rw-r--r-- 1 <<uid>> 0 1446400 2007-11-08 02:06:00 WinAce/acetools.dll
+-rw-r--r-- 1 <<uid>> 0 235008 2007-11-08 02:06:00 WinAce/acev2.dll
+-rw-r--r-- 1 <<uid>> 0 166912 2007-11-08 02:06:00 WinAce/arcext.dll
+-rw-r--r-- 1 <<uid>> 0 61440 2007-11-08 02:06:00 WinAce/arcicons.dll
+-rw-r--r-- 1 <<uid>> 0 65536 2007-11-08 02:06:00 WinAce/cabinet.dll
+-rw-r--r-- 1 <<uid>> 0 335360 2007-11-08 02:06:00 WinAce/find.dll
+-rw-r--r-- 1 <<uid>> 0 119808 2007-11-08 02:06:00 WinAce/sfxlib.dll
+-rw-r--r-- 1 <<uid>> 0 160256 2007-10-23 01:06:00 WinAce/unrar3.dll
+-rw-r--r-- 1 <<uid>> 0 16384 2007-11-08 02:06:00 WinAce/zficons.dll
+-rw-r--r-- 1 <<uid>> 0 1938 2007-11-08 02:06:00 WinAce/license.doc
+-rw-r--r-- 1 <<uid>> 0 11895 2007-11-08 02:06:00 WinAce/technote.doc
+-rw-r--r-- 1 <<uid>> 0 439296 2007-11-08 02:06:00 WinAce/acetools.enu
+-rw-r--r-- 1 <<uid>> 0 48128 2007-11-08 02:06:00 WinAce/find.enu
+-rw-r--r-- 1 <<uid>> 0 104960 2007-11-08 02:06:00 WinAce/order.enu
+-rw-r--r-- 1 <<uid>> 0 29696 2007-11-08 02:06:00 WinAce/wb_setup.enu
+-rw-r--r-- 1 <<uid>> 0 594432 2007-11-08 02:06:00 WinAce/winace.enu
+-rw-r--r-- 1 <<uid>> 0 36864 2007-11-08 02:06:00 WinAce/ccrypt.exe
+-rw-r--r-- 1 <<uid>> 0 93696 2007-11-08 02:06:00 WinAce/helpinst.exe
+-rw-r--r-- 1 <<uid>> 0 88092 2016-12-11 22:17:00 Internet
+-rw-r--r-- 1 <<uid>> 0 252928 2007-11-08 02:06:00 WinAce/order.exe
+-rw-r--r-- 1 <<uid>> 0 165376 2007-11-08 02:06:00 WinAce/sxuninst.exe
+-rw-r--r-- 1 <<uid>> 0 401408 2007-11-08 02:06:00 WinAce/wb_setup.exe
+-rw-r--r-- 1 <<uid>> 0 1207296 2007-11-08 02:06:00 WinAce/winace.exe
+-rw-r--r-- 1 <<uid>> 0 839956 2007-11-08 02:06:00 WinAce/winace.hlp
+-rw-r--r-- 1 <<uid>> 0 137589 2007-11-08 02:06:00 WinAce/winace_enu.hlp
+-rw-r--r-- 1 <<uid>> 0 20278 2007-11-08 02:06:00 WinAce/menuimg.imf
+-rw-r--r-- 1 <<uid>> 0 20278 2007-11-08 02:06:00 WinAce/menu256.imf
+-rw-r--r-- 1 <<uid>> 0 77878 2007-11-08 02:06:00 WinAce/tool256.imf
+-rw-r--r-- 1 <<uid>> 0 77878 2007-11-08 02:06:00 WinAce/toolimg.imf
+-rw-r--r-- 1 <<uid>> 0 80464 2007-11-08 02:06:00 WinAce/menuimg.img
+-rw-r--r-- 1 <<uid>> 0 321254 2007-11-08 02:06:00 WinAce/toolimg.img
+-rw-r--r-- 1 <<uid>> 0 356 2007-11-08 02:06:00 WinAce/outbar.ini
+-rw-r--r-- 1 <<uid>> 0 1304 2007-11-08 02:06:00 WinAce/products.ini
+-rw-r--r-- 1 <<uid>> 0 409 2007-11-08 02:06:00 WinAce/sfxopt.ini
+-rw-r--r-- 1 <<uid>> 0 4215 2007-11-08 02:06:00 WinAce/sxuninst.ini
+-rw-r--r-- 1 <<uid>> 0 155 2007-11-08 02:06:00 WinAce/toolimg.ini
+-rw-r--r-- 1 <<uid>> 0 854 2007-11-08 02:06:00 WinAce/volume.ini
+-rw-r--r-- 1 <<uid>> 0 235 2007-11-08 02:06:00 WinAce/order.ord
+-rw-r--r-- 1 <<uid>> 0 298 2007-11-08 02:06:00 WinAce/html/images/abort.png
+-rw-r--r-- 1 <<uid>> 0 211 2007-11-08 02:06:00 WinAce/html/images/added.png
+-rw-r--r-- 1 <<uid>> 0 230 2007-11-08 02:06:00 WinAce/html/images/back.png
+-rw-r--r-- 1 <<uid>> 0 184 2007-11-08 02:06:00 WinAce/html/images/backimg.png
+-rw-r--r-- 1 <<uid>> 0 8573 2007-11-08 02:06:00 WinAce/html/images/banner_bg.png
+-rw-r--r-- 1 <<uid>> 0 1488 2007-11-08 02:06:00 WinAce/html/images/bar.png
+-rw-r--r-- 1 <<uid>> 0 1846 2007-11-08 02:06:00 WinAce/html/images/bar1.png
+-rw-r--r-- 1 <<uid>> 0 191 2007-11-08 02:06:00 WinAce/html/images/bg2.png
+-rw-r--r-- 1 <<uid>> 0 1001 2007-11-08 02:06:00 WinAce/html/images/bug.png
+-rw-r--r-- 1 <<uid>> 0 223 2007-11-08 02:06:00 WinAce/html/images/check.png
+-rw-r--r-- 1 <<uid>> 0 23049 2007-11-08 02:06:00 WinAce/html/images/compare.png
+-rw-r--r-- 1 <<uid>> 0 278 2007-11-08 02:06:00 WinAce/html/images/contact.png
+-rw-r--r-- 1 <<uid>> 0 278 2007-11-08 02:06:00 WinAce/html/images/email.png
+-rw-r--r-- 1 <<uid>> 0 385 2007-11-08 02:06:00 WinAce/html/images/fillout.png
+-rw-r--r-- 1 <<uid>> 0 943 2007-11-08 02:06:00 WinAce/html/images/fwd.png
+-rw-r--r-- 1 <<uid>> 0 176 2007-11-08 02:06:00 WinAce/html/images/infoback.png
+-rw-r--r-- 1 <<uid>> 0 145 2007-11-08 02:06:00 WinAce/html/images/line.png
+-rw-r--r-- 1 <<uid>> 0 7911 2007-11-08 02:06:00 WinAce/html/images/logo.png
+-rw-r--r-- 1 <<uid>> 0 5595 2007-11-08 02:06:00 WinAce/html/images/logotop.png
+-rw-r--r-- 1 <<uid>> 0 2551 2007-11-08 02:06:00 WinAce/html/images/logoarc.png
+-rw-r--r-- 1 <<uid>> 0 1108 2007-11-08 02:06:00 WinAce/html/images/master.png
+-rw-r--r-- 1 <<uid>> 0 1090 2007-11-08 02:06:00 WinAce/html/images/new.png
+-rw-r--r-- 1 <<uid>> 0 235 2007-11-08 02:06:00 WinAce/html/images/nexttip.png
+-rw-r--r-- 1 <<uid>> 0 211 2007-11-08 02:06:00 WinAce/html/images/plus.png
+-rw-r--r-- 1 <<uid>> 0 1015 2007-11-08 02:06:00 WinAce/html/images/preview.png
+-rw-r--r-- 1 <<uid>> 0 960 2007-11-08 02:06:00 WinAce/html/images/redo.png
+-rw-r--r-- 1 <<uid>> 0 201 2007-11-08 02:06:00 WinAce/html/images/side.png
+-rw-r--r-- 1 <<uid>> 0 382 2007-11-08 02:06:00 WinAce/html/images/sysinfo.png
+-rw-r--r-- 1 <<uid>> 0 482 2007-11-08 02:06:00 WinAce/html/images/tip.png
+-rw-r--r-- 1 <<uid>> 0 345 2007-11-08 02:06:00 WinAce/html/images/tip1.png
+-rw-r--r-- 1 <<uid>> 0 1264 2007-11-08 02:06:00 WinAce/html/images/top.png
+-rw-r--r-- 1 <<uid>> 0 993 2007-11-08 02:06:00 WinAce/html/images/top_r.png
+-rw-r--r-- 1 <<uid>> 0 992 2007-11-08 02:06:00 WinAce/html/images/top_l.png
+-rw-r--r-- 1 <<uid>> 0 1012 2007-11-08 02:06:00 WinAce/html/images/visa.png
+-rw-r--r-- 1 <<uid>> 0 132 2007-11-08 02:06:00 WinAce/html/images/vline.png
+-rw-r--r-- 1 <<uid>> 0 263 2007-11-08 02:06:00 WinAce/html/images/w.png
+-rw-r--r-- 1 <<uid>> 0 1186 2007-11-08 02:06:00 WinAce/html/images/waceico.png
+-rw-r--r-- 1 <<uid>> 0 4824 2007-11-08 02:06:00 WinAce/html/images/winacelogo.png
+-rw-r--r-- 1 <<uid>> 0 406 2007-11-08 02:06:00 WinAce/html/images/winace.png
+-rw-r--r-- 1 <<uid>> 0 64933 2007-11-08 02:06:00 WinAce/sfxfiles/dos32.sfx
+-rw-r--r-- 1 <<uid>> 0 79937 2007-11-08 02:06:00 WinAce/sfxfiles/os2cl.sfx
+-rw-r--r-- 1 <<uid>> 0 68877 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_hu.sfx
+-rw-r--r-- 1 <<uid>> 0 68834 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_plk.sfx
+-rw-r--r-- 1 <<uid>> 0 68824 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_cz.sfx
+-rw-r--r-- 1 <<uid>> 0 68781 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_fr.sfx
+-rw-r--r-- 1 <<uid>> 0 68692 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_nld.sfx
+-rw-r--r-- 1 <<uid>> 0 68621 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_it.sfx
+-rw-r--r-- 1 <<uid>> 0 68478 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_de.sfx
+-rw-r--r-- 1 <<uid>> 0 68215 2007-11-08 02:06:00 WinAce/sfxfiles/wgui_en.sfx
+-rw-r--r-- 1 <<uid>> 0 46936 2007-11-08 02:06:00 WinAce/sfxfiles/win32cl.sfx
+-rw-r--r-- 1 <<uid>> 0 2249 2007-11-08 02:06:00 WinAce/html/english/infotip.txt
+-rw-r--r-- 1 <<uid>> 0 2234 2007-11-08 02:06:00 WinAce/html/deutsch/infotip.txt
+-rw-r--r-- 1 <<uid>> 0 960 2007-11-08 02:06:00 WinAce/infodeu.txt
+-rw-r--r-- 1 <<uid>> 0 256 2007-11-08 02:06:00 WinAce/language.txt
+-rw-r--r-- 1 <<uid>> 0 3138 2007-11-08 02:06:00 WinAce/register.txt
+-rw-r--r-- 1 <<uid>> 0 1117 2007-11-08 02:06:00 WinAce/regsites.txt
+-rw-r--r-- 1 <<uid>> 0 960 2007-11-08 02:06:00 WinAce/techinfo.txt
+-rw-r--r-- 1 <<uid>> 0 47 2007-11-08 02:06:00 WinAce/winace.url
+-rw-r--r-- 1 <<uid>> 0 3538 2007-11-08 02:06:00 WinAce/html/english/av.whf
+-rw-r--r-- 1 <<uid>> 0 3538 2007-11-08 02:06:00 WinAce/html/deutsch/av.whf
+-rw-r--r-- 1 <<uid>> 0 13100 2007-11-08 02:06:00 WinAce/html/deutsch/commands.whf
+-rw-r--r-- 1 <<uid>> 0 10299 2007-11-08 02:06:00 WinAce/html/english/commands.whf
+-rw-r--r-- 1 <<uid>> 0 1157 2007-11-08 02:06:00 WinAce/html/deutsch/compare.whf
+-rw-r--r-- 1 <<uid>> 0 1155 2007-11-08 02:06:00 WinAce/html/english/compare.whf
+-rw-r--r-- 1 <<uid>> 0 85468 2007-11-08 02:06:00 WinAce/html/deutsch/history.whf
+-rw-r--r-- 1 <<uid>> 0 69151 2007-11-08 02:06:00 WinAce/html/english/history.whf
+-rw-r--r-- 1 <<uid>> 0 10208 2007-11-08 02:06:00 WinAce/html/deutsch/info.whf
+-rw-r--r-- 1 <<uid>> 0 7971 2007-11-08 02:06:00 WinAce/html/english/info.whf
+-rw-r--r-- 1 <<uid>> 0 3193 2007-11-08 02:06:00 WinAce/html/deutsch/infotip.whf
+-rw-r--r-- 1 <<uid>> 0 2518 2007-11-08 02:06:00 WinAce/html/english/infotip.whf
+-rw-r--r-- 1 <<uid>> 0 2271 2007-11-08 02:06:00 WinAce/html/deutsch/menu.whf
+-rw-r--r-- 1 <<uid>> 0 2239 2007-11-08 02:06:00 WinAce/html/english/menu.whf
+-rw-r--r-- 1 <<uid>> 0 1256 2007-11-08 02:06:00 WinAce/html/english/menuex.whf
+-rw-r--r-- 1 <<uid>> 0 1245 2007-11-08 02:06:00 WinAce/html/deutsch/menuex.whf
+-rw-r--r-- 1 <<uid>> 0 1945 2007-11-08 02:06:00 WinAce/html/english/nav.whf
+-rw-r--r-- 1 <<uid>> 0 1930 2007-11-08 02:06:00 WinAce/html/deutsch/nav.whf
+-rw-r--r-- 1 <<uid>> 0 12471 2007-11-08 02:06:00 WinAce/html/deutsch/order.whf
+-rw-r--r-- 1 <<uid>> 0 12426 2007-11-08 02:06:00 WinAce/html/english/order.whf
+-rw-r--r-- 1 <<uid>> 0 2158 2007-11-08 02:06:00 WinAce/html/deutsch/share.whf
+-rw-r--r-- 1 <<uid>> 0 1745 2007-11-08 02:06:00 WinAce/html/english/share.whf
+-rw-r--r-- 1 <<uid>> 0 1547 2007-11-08 02:06:00 WinAce/html/english/system.whf
+-rw-r--r-- 1 <<uid>> 0 1462 2007-11-08 02:06:00 WinAce/html/deutsch/system.whf
+-rw-r--r-- 1 <<uid>> 0 2282 2007-11-08 02:06:00 WinAce/html/english/top.whf
+-rw-r--r-- 1 <<uid>> 0 2256 2007-11-08 02:06:00 WinAce/html/deutsch/top.whf
+-rw-r--r-- 1 <<uid>> 0 602 2007-11-08 02:06:00 WinAce/html/deutsch/usage.whf
+-rw-r--r-- 1 <<uid>> 0 601 2007-11-08 02:06:00 WinAce/html/english/usage.whf
+-rw-r--r-- 1 <<uid>> 0 889 2007-11-08 02:06:00 WinAce/html/english/welcome.whf
+-rw-r--r-- 1 <<uid>> 0 881 2007-11-08 02:06:00 WinAce/html/deutsch/welcome.whf
+-rw-r--r-- 1 <<uid>> 0 374 2007-11-08 02:06:00 WinAce/projects/backup
+-rw-r--r-- 1 <<uid>> 0 354 2007-11-08 02:06:00 WinAce/projects/backup
+-rw-r--r-- 1 <<uid>> 0 126 2007-11-08 02:06:00 WinAce/projects/multivolume.wpf
+-rw-r--r-- 1 <<uid>> 0 94 2007-11-08 02:06:00 WinAce/projects/zip
diff --git a/tests/src/vfs/extfs/helpers-list/data/uarc.README b/tests/src/vfs/extfs/helpers-list/data/uarc.README
new file mode 100644
index 0000000..8a463a3
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uarc.README
@@ -0,0 +1,19 @@
+
+The input file was created by doing "arc v test.arc" on archive created
+with "arc a test.arc ...". We then made sure to have:
+
+- One date prior to year 2000 (to test the 1900/2000 boundary).
+- Both AM and PM times.
+
+Our 'uarc' doesn't support spaces in filenames but that's no biggie:
+
+ Man page: "Full compatibility with PC ARC files is maintained, the
+ price for which is that arc doesn't like long filenames, and can only
+ archive files with names of up to 12 characters. [...] I suggest you
+ put long-winded filenames in a 'shar' before arcing them."
+
+ Wikipedia: "ARC is incapable of compressing entire directory trees"
+
+Known issues with our uarc:
+
+- It reports '0' gid.
diff --git a/tests/src/vfs/extfs/helpers-list/data/uarc.input b/tests/src/vfs/extfs/helpers-list/data/uarc.input
new file mode 100644
index 0000000..eeb2161
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uarc.input
@@ -0,0 +1,7 @@
+Name Length Stowage SF Size now Date Time CRC
+============ ======== ======== ==== ======== ========= ====== ====
+README.html 9799 Crunched 50% 4922 23 Nov 16 11:48a 40ba
+extfs.c 49679 Crunched 67% 16874 18 Apr 94 3:05p 38ff
+run.log 1051 Crunched 50% 536 23 Nov 16 10:36a 6184
+ ==== ======== ==== ========
+Total 3 60529 64% 22332
diff --git a/tests/src/vfs/extfs/helpers-list/data/uarc.output b/tests/src/vfs/extfs/helpers-list/data/uarc.output
new file mode 100644
index 0000000..133e4cb
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uarc.output
@@ -0,0 +1,3 @@
+-rw-r--r-- 1 <<uid>> 0 9799 2016-11-23 11:48:00 README.html
+-rw-r--r-- 1 <<uid>> 0 49679 1994-04-18 15:05:00 extfs.c
+-rw-r--r-- 1 <<uid>> 0 1051 2016-11-23 10:36:00 run.log
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.README b/tests/src/vfs/extfs/helpers-list/data/urar.README
new file mode 100644
index 0000000..8ff5b1d
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.README
@@ -0,0 +1,17 @@
+
+The archive was created thus:
+
+ echo hello > 'filename with spaces.txt'
+ rar a archive.rar 'filename with spaces.txt' ...
+
+Our 'urar' supports two listing formats: that of versions 6 and 5, and that of
+versions 4 and 3.
+
+'urar.v6,v5.input' was created with "unrar vt -c- -cfg- archive.rar" using
+unrar 5.30.
+
+'urar.v4,v3.input' was created with "unrar v -c- -cfg- archive.rar" using
+unrar 3.80 for DOS (google "unrar dos"), via DOSBox (and then the "\" was
+changed to "/" by hand). An inspection of our urar's source code should
+lead us to conclude that this format is compatible with that of version
+4.
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.env_vars b/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.env_vars
new file mode 100644
index 0000000..475a847
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_UNRAR_VERSION=4
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.input b/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.input
new file mode 100644
index 0000000..ac525bd
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.input
@@ -0,0 +1,29 @@
+
+UNRAR 3.80 freeware Copyright (c) 1993-2008 Alexander Roshal
+
+Archive ARCHIVE.RAR
+
+Pathname/Comment
+ Size Packed Ratio Date Time Attr CRC Meth Ver
+-------------------------------------------------------------------------------
+ .viminfo
+ 11032 2468 22% 23-11-16 07:10 -rw------- 295ED9AB m3g 2.9
+ .wget-hsts
+ 205 181 88% 26-10-16 13:14 -rw-rw-r-- 58429CA4 m3g 2.9
+ .xboardrc
+ 7527 2964 39% 17-04-16 01:21 -rw-rw-r-- 1DA6AD04 m3g 2.9
+ .xchm
+ 559 382 68% 29-09-16 01:08 -rw-rw-r-- 73DBF2B9 m3g 2.9
+ .xinputrc
+ 130 123 94% 27-12-15 17:08 -rw-rw-r-- 70CD8EF3 m3g 2.9
+ .dosbox/dosbox-0.74.conf
+ 10730 4005 37% 07-06-16 20:43 -rw-rw-r-- 1D5A9AA6 m3g 2.9
+ log.txt
+ 5869937 42114 0% 23-11-16 07:43 -rw-rw-r-- E63DE4A6 m3g 2.9
+ filename with spaces.txt
+ 6 16 266% 23-11-16 07:39 -rw-r--r-- 363A3020 m3g 2.9
+ .dosbox
+ 0 0 0% 07-06-16 20:43 drwx------ 00000000 m0 2.0
+-------------------------------------------------------------------------------
+ 9 5900126 52253 0%
+
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.output b/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.output
new file mode 100644
index 0000000..9568598
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.v4,v3.output
@@ -0,0 +1,9 @@
+drwx------ 1 <<uid>> <<gid>> 0 2016-06-07 20:43:00 ./.dosbox
+-rw-rw-r-- 1 <<uid>> <<gid>> 10730 2016-06-07 20:43:00 ./.dosbox/dosbox-0.74.conf
+-rw------- 1 <<uid>> <<gid>> 11032 2016-11-23 07:10:00 ./.viminfo
+-rw-rw-r-- 1 <<uid>> <<gid>> 205 2016-10-26 13:14:00 ./.wget-hsts
+-rw-rw-r-- 1 <<uid>> <<gid>> 7527 2016-04-17 01:21:00 ./.xboardrc
+-rw-rw-r-- 1 <<uid>> <<gid>> 559 2016-09-29 01:08:00 ./.xchm
+-rw-rw-r-- 1 <<uid>> <<gid>> 130 2015-12-27 17:08:00 ./.xinputrc
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:39:00 ./filename with spaces.txt
+-rw-rw-r-- 1 <<uid>> <<gid>> 5869937 2016-11-23 07:43:00 ./log.txt
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.env_vars b/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.env_vars
new file mode 100644
index 0000000..abdefcc
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_UNRAR_VERSION=5
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.input b/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.input
new file mode 100644
index 0000000..5039076
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.input
@@ -0,0 +1,102 @@
+
+UNRAR 5.30 beta 2 freeware Copyright (c) 1993-2015 Alexander Roshal
+
+Archive: archive.rar
+Details: RAR 4
+
+ Name: .viminfo
+ Type: File
+ Size: 11032
+ Packed size: 2468
+ Ratio: 22%
+ mtime: 2016-11-23 07:10:39,000
+ Attributes: -rw-------
+ CRC32: 295ED9AB
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: .wget-hsts
+ Type: File
+ Size: 205
+ Packed size: 181
+ Ratio: 88%
+ mtime: 2016-10-26 13:14:09,000
+ Attributes: -rw-rw-r--
+ CRC32: 58429CA4
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: .xboardrc
+ Type: File
+ Size: 7527
+ Packed size: 2964
+ Ratio: 39%
+ mtime: 2016-04-17 01:21:46,000
+ Attributes: -rw-rw-r--
+ CRC32: 1DA6AD04
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: .xchm
+ Type: File
+ Size: 559
+ Packed size: 382
+ Ratio: 68%
+ mtime: 2016-09-29 01:08:46,000
+ Attributes: -rw-rw-r--
+ CRC32: 73DBF2B9
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: .xinputrc
+ Type: File
+ Size: 130
+ Packed size: 123
+ Ratio: 94%
+ mtime: 2015-12-27 17:08:35,000
+ Attributes: -rw-rw-r--
+ CRC32: 70CD8EF3
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: .dosbox/dosbox-0.74.conf
+ Type: File
+ Size: 10730
+ Packed size: 4005
+ Ratio: 37%
+ mtime: 2016-06-07 20:43:58,000
+ Attributes: -rw-rw-r--
+ CRC32: 1D5A9AA6
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: log.txt
+ Type: File
+ Size: 5869937
+ Packed size: 42114
+ Ratio: 0%
+ mtime: 2016-11-23 07:43:18,000
+ Attributes: -rw-rw-r--
+ CRC32: E63DE4A6
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: filename with spaces.txt
+ Type: File
+ Size: 6
+ Packed size: 16
+ Ratio: 266%
+ mtime: 2016-11-23 07:39:15,000
+ Attributes: -rw-r--r--
+ CRC32: 363A3020
+ Host OS: Unix
+ Compression: RAR 3.0(v29) -m3 -md=4M
+
+ Name: .dosbox
+ Type: Directory
+ mtime: 2016-06-07 20:43:58,000
+ Attributes: drwx------
+ CRC32: 00000000
+ Host OS: Unix
+ Compression: RAR 3.0(v20) -m0 -md=0K
+
diff --git a/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.output b/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.output
new file mode 100644
index 0000000..9568598
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/urar.v6,v5.output
@@ -0,0 +1,9 @@
+drwx------ 1 <<uid>> <<gid>> 0 2016-06-07 20:43:00 ./.dosbox
+-rw-rw-r-- 1 <<uid>> <<gid>> 10730 2016-06-07 20:43:00 ./.dosbox/dosbox-0.74.conf
+-rw------- 1 <<uid>> <<gid>> 11032 2016-11-23 07:10:00 ./.viminfo
+-rw-rw-r-- 1 <<uid>> <<gid>> 205 2016-10-26 13:14:00 ./.wget-hsts
+-rw-rw-r-- 1 <<uid>> <<gid>> 7527 2016-04-17 01:21:00 ./.xboardrc
+-rw-rw-r-- 1 <<uid>> <<gid>> 559 2016-09-29 01:08:00 ./.xchm
+-rw-rw-r-- 1 <<uid>> <<gid>> 130 2015-12-27 17:08:00 ./.xinputrc
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:39:00 ./filename with spaces.txt
+-rw-rw-r-- 1 <<uid>> <<gid>> 5869937 2016-11-23 07:43:00 ./log.txt
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.README b/tests/src/vfs/extfs/helpers-list/data/uzip.README
new file mode 100644
index 0000000..01a7c1c
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.README
@@ -0,0 +1,16 @@
+
+The input files were created thus:
+
+ cd ~/.gimp-2.8
+ echo hello > 'filename with spaces.txt'
+ echo hello > ' filename with leading space.txt'
+ echo hello > '-filename with leading dash.txt'
+ zip a.zip *
+ unzip -Z -l -T a.zip > uzip.with-zipinfo.input
+ unzip -qq -v a.zip > uzip.without-zipinfo--ymd.input
+ rm a.zip
+
+uzip supports two date formats for "without-zipinfo" mode: ymd
+(YYYY-MM-DD) and mdy (MM-DD-YY). To create the
+'uzip.without-zipinfo--mdy.input' file, with MM-DD-YY dates, I simply
+altered two dates with an editor (one with year before 70, one after).
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.env_vars b/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.env_vars
new file mode 100644
index 0000000..0192895
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_HAVE_ZIPINFO=1
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.input b/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.input
new file mode 100644
index 0000000..568f224
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.input
@@ -0,0 +1,45 @@
+Archive: a.zip
+Zip file size: 75234 bytes, number of entries: 42
+-rw-r--r-- 3.0 unx 6 tx 6 stor 20161123.071336 -filename with leading dash.txt
+-rw-r--r-- 3.0 unx 6 tx 6 stor 20161123.071336 filename with leading space.txt
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 brushes/
+-rw------- 3.0 unx 739 tx 164 defN 20160918.164557 colorrc
+-rw------- 3.0 unx 1863 tx 441 defN 20160918.164558 controllerrc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 curves/
+-rw------- 3.0 unx 1982 tx 423 defN 20160918.164557 dockrc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 dynamics/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 environ/
+-rw-r--r-- 3.0 unx 6 tx 6 stor 20161123.071336 filename with spaces.txt
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 fonts/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 fractalexplorer/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 gfig/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 gflare/
+-rw------- 3.0 unx 355 tx 223 defN 20160108.011031 gimprc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 gimpressionist/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 gradients/
+-rw-r--r-- 3.0 unx 430 tx 251 defN 20151225.001514 gtkrc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 interpreters/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 levels/
+-rw-r--r-- 3.0 unx 76873 tx 8770 defN 20160918.164558 menurc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 modules/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 palettes/
+-rw------- 3.0 unx 102 tx 86 defN 20160918.164559 parasiterc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 patterns/
+-rw-r--r-- 3.0 unx 277486 tx 48556 defN 20151225.001526 pluginrc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 plug-ins/
+-rw-rw-r-- 3.0 unx 209 tx 143 defN 20160918.164437 print-page-setup
+-rw-rw-r-- 3.0 unx 506 tx 295 defN 20160918.164437 print-settings
+-rw------- 3.0 unx 62 tx 43 defN 20160108.010813 profilerc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 scripts/
+-rw------- 3.0 unx 2370 tx 685 defN 20160918.164557 sessionrc
+-rw-rw-r-- 3.0 unx 34747 tx 7545 defN 20160918.164559 tags.xml
+-rw------- 3.0 unx 4817 tx 589 defN 20160918.164559 templaterc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 templates/
+-rw-rw-r-- 3.0 unx 310 tx 204 defN 20160918.164204 themerc
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 themes/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 tmp/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20160403.000739 tool-options/
+drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 tool-presets/
+-rw------- 3.0 unx 3996 tx 528 defN 20160918.164558 toolrc
+-rw------- 3.0 unx 1178 tx 388 defN 20160918.164559 unitrc
+40 files, 408031 bytes uncompressed, 69340 bytes compressed: 83.0%
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.output b/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.output
new file mode 100644
index 0000000..dcf37d0
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.with-zipinfo.output
@@ -0,0 +1,42 @@
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:36 ./-filename with leading dash.txt
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:36 ./ filename with leading space.txt
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./brushes/
+-rw------- 1 <<uid>> <<gid>> 739 2016-09-18 16:45:57 ./colorrc
+-rw------- 1 <<uid>> <<gid>> 1863 2016-09-18 16:45:58 ./controllerrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./curves/
+-rw------- 1 <<uid>> <<gid>> 1982 2016-09-18 16:45:57 ./dockrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./dynamics/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./environ/
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:36 ./filename with spaces.txt
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./fonts/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./fractalexplorer/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./gfig/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./gflare/
+-rw------- 1 <<uid>> <<gid>> 355 2016-01-08 01:10:31 ./gimprc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./gimpressionist/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./gradients/
+-rw-r--r-- 1 <<uid>> <<gid>> 430 2015-12-25 00:15:14 ./gtkrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./interpreters/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./levels/
+-rw-r--r-- 1 <<uid>> <<gid>> 76873 2016-09-18 16:45:58 ./menurc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./modules/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./palettes/
+-rw------- 1 <<uid>> <<gid>> 102 2016-09-18 16:45:59 ./parasiterc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./patterns/
+-rw-r--r-- 1 <<uid>> <<gid>> 277486 2015-12-25 00:15:26 ./pluginrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./plug-ins/
+-rw-rw-r-- 1 <<uid>> <<gid>> 209 2016-09-18 16:44:37 ./print-page-setup
+-rw-rw-r-- 1 <<uid>> <<gid>> 506 2016-09-18 16:44:37 ./print-settings
+-rw------- 1 <<uid>> <<gid>> 62 2016-01-08 01:08:13 ./profilerc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./scripts/
+-rw------- 1 <<uid>> <<gid>> 2370 2016-09-18 16:45:57 ./sessionrc
+-rw-rw-r-- 1 <<uid>> <<gid>> 34747 2016-09-18 16:45:59 ./tags.xml
+-rw------- 1 <<uid>> <<gid>> 4817 2016-09-18 16:45:59 ./templaterc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./templates/
+-rw-rw-r-- 1 <<uid>> <<gid>> 310 2016-09-18 16:42:04 ./themerc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./themes/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./tmp/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2016-04-03 00:07:39 ./tool-options/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./tool-presets/
+-rw------- 1 <<uid>> <<gid>> 3996 2016-09-18 16:45:58 ./toolrc
+-rw------- 1 <<uid>> <<gid>> 1178 2016-09-18 16:45:59 ./unitrc
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.env_vars b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.env_vars
new file mode 100644
index 0000000..9c8ce7f
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_HAVE_ZIPINFO=0
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.input b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.input
new file mode 100644
index 0000000..2eb60ef
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.input
@@ -0,0 +1,2 @@
+ 0 Stored 0 0% 12-25-15 00:15 00000000 brushes/
+ 739 Defl:N 164 78% 09-16-78 16:45 2d7277eb colorrc
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.output b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.output
new file mode 100644
index 0000000..18c113e
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--mdy.output
@@ -0,0 +1,2 @@
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./brushes/
+-rw-r--r-- 1 <<uid>> <<gid>> 739 1978-09-16 16:45:00 ./colorrc
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.env_vars b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.env_vars
new file mode 100644
index 0000000..9c8ce7f
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.env_vars
@@ -0,0 +1 @@
+MC_TEST_EXTFS_HAVE_ZIPINFO=0
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.input b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.input
new file mode 100644
index 0000000..9e7e16a
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.input
@@ -0,0 +1,42 @@
+ 6 Stored 6 0% 2016-11-23 07:13 363a3020 -filename with leading dash.txt
+ 6 Stored 6 0% 2016-11-23 07:13 363a3020 filename with leading space.txt
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 brushes/
+ 739 Defl:N 164 78% 2016-09-18 16:45 2d7277eb colorrc
+ 1863 Defl:N 441 76% 2016-09-18 16:45 4a229bae controllerrc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 curves/
+ 1982 Defl:N 423 79% 2016-09-18 16:45 0f21e877 dockrc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 dynamics/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 environ/
+ 6 Stored 6 0% 2016-11-23 07:13 363a3020 filename with spaces.txt
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 fonts/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 fractalexplorer/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 gfig/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 gflare/
+ 355 Defl:N 223 37% 2016-01-08 01:10 05197193 gimprc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 gimpressionist/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 gradients/
+ 430 Defl:N 251 42% 2015-12-25 00:15 a3ed42bc gtkrc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 interpreters/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 levels/
+ 76873 Defl:N 8770 89% 2016-09-18 16:45 7d9cb346 menurc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 modules/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 palettes/
+ 102 Defl:N 86 16% 2016-09-18 16:45 62252c7b parasiterc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 patterns/
+ 277486 Defl:N 48556 83% 2015-12-25 00:15 f846b075 pluginrc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 plug-ins/
+ 209 Defl:N 143 32% 2016-09-18 16:44 1c6688d4 print-page-setup
+ 506 Defl:N 295 42% 2016-09-18 16:44 ce580111 print-settings
+ 62 Defl:N 43 31% 2016-01-08 01:08 d149fa62 profilerc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 scripts/
+ 2370 Defl:N 685 71% 2016-09-18 16:45 b31b0c93 sessionrc
+ 34747 Defl:N 7545 78% 2016-09-18 16:45 6f219ddd tags.xml
+ 4817 Defl:N 589 88% 2016-09-18 16:45 edb121a1 templaterc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 templates/
+ 310 Defl:N 204 34% 2016-09-18 16:42 0b2c424e themerc
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 themes/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 tmp/
+ 0 Stored 0 0% 2016-04-03 00:07 00000000 tool-options/
+ 0 Stored 0 0% 2015-12-25 00:15 00000000 tool-presets/
+ 3996 Defl:N 528 87% 2016-09-18 16:45 f51984ae toolrc
+ 1178 Defl:N 388 67% 2016-09-18 16:45 b8420722 unitrc
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.output b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.output
new file mode 100644
index 0000000..ef3c8fc
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzip.without-zipinfo--ymd.output
@@ -0,0 +1,42 @@
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:00 ./-filename with leading dash.txt
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:00 ./ filename with leading space.txt
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./brushes/
+-rw-r--r-- 1 <<uid>> <<gid>> 739 2016-09-18 16:45:00 ./colorrc
+-rw-r--r-- 1 <<uid>> <<gid>> 1863 2016-09-18 16:45:00 ./controllerrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./curves/
+-rw-r--r-- 1 <<uid>> <<gid>> 1982 2016-09-18 16:45:00 ./dockrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./dynamics/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./environ/
+-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:00 ./filename with spaces.txt
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./fonts/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./fractalexplorer/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./gfig/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./gflare/
+-rw-r--r-- 1 <<uid>> <<gid>> 355 2016-01-08 01:10:00 ./gimprc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./gimpressionist/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./gradients/
+-rw-r--r-- 1 <<uid>> <<gid>> 430 2015-12-25 00:15:00 ./gtkrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./interpreters/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./levels/
+-rw-r--r-- 1 <<uid>> <<gid>> 76873 2016-09-18 16:45:00 ./menurc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./modules/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./palettes/
+-rw-r--r-- 1 <<uid>> <<gid>> 102 2016-09-18 16:45:00 ./parasiterc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./patterns/
+-rw-r--r-- 1 <<uid>> <<gid>> 277486 2015-12-25 00:15:00 ./pluginrc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./plug-ins/
+-rw-r--r-- 1 <<uid>> <<gid>> 209 2016-09-18 16:44:00 ./print-page-setup
+-rw-r--r-- 1 <<uid>> <<gid>> 506 2016-09-18 16:44:00 ./print-settings
+-rw-r--r-- 1 <<uid>> <<gid>> 62 2016-01-08 01:08:00 ./profilerc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./scripts/
+-rw-r--r-- 1 <<uid>> <<gid>> 2370 2016-09-18 16:45:00 ./sessionrc
+-rw-r--r-- 1 <<uid>> <<gid>> 34747 2016-09-18 16:45:00 ./tags.xml
+-rw-r--r-- 1 <<uid>> <<gid>> 4817 2016-09-18 16:45:00 ./templaterc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./templates/
+-rw-r--r-- 1 <<uid>> <<gid>> 310 2016-09-18 16:42:00 ./themerc
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./themes/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./tmp/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2016-04-03 00:07:00 ./tool-options/
+drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./tool-presets/
+-rw-r--r-- 1 <<uid>> <<gid>> 3996 2016-09-18 16:45:00 ./toolrc
+-rw-r--r-- 1 <<uid>> <<gid>> 1178 2016-09-18 16:45:00 ./unitrc
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzoo.README b/tests/src/vfs/extfs/helpers-list/data/uzoo.README
new file mode 100644
index 0000000..4c21006
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzoo.README
@@ -0,0 +1,8 @@
+
+The input file was created by running "zoo lq" on the archive at:
+
+ https://www.midnight-commander.org/ticket/3696
+
+Known bugs in our uzoo:
+- It doesn't support filenames with spaces.
+- It reports '0' gid.
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzoo.input b/tests/src/vfs/extfs/helpers-list/data/uzoo.input
new file mode 100644
index 0000000..4659744
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzoo.input
@@ -0,0 +1,18 @@
+ 4 0% 4 26 Sep 16 12:56:02+61 тест/тест3/тест2.txt
+ 4 0% 4 26 Sep 16 12:56:00+61 тест/тест3/тест1.txt
+ 4 0% 4 26 Sep 16 12:56:08+61 тест/тест3/тест3.txt
+ 4 0% 4 26 Sep 16 12:56:02+61 тест/тест1/тест2.txt
+ 4 0% 4 26 Sep 16 12:56:00+61 тест/тест1/тест1.txt
+ 4 0% 4 26 Sep 16 12:56:08+61 тест/тест1/тест3.txt
+ 4 0% 4 26 Sep 16 12:56:02+61 тест/тест2/тест2.txt
+ 4 0% 4 26 Sep 16 12:56:00+61 тест/тест2/тест1.txt
+ 4 0% 4 26 Sep 16 12:56:08+61 тест/тест2/тест3.txt
+ 4 0% 4 26 Sep 16 12:56:02+61 тест/test1/тест2.txt
+ 4 0% 4 26 Sep 16 12:56:00+61 тест/test1/тест1.txt
+ 4 0% 4 26 Sep 16 12:56:08+61 тест/test1/тест3.txt
+ 4 0% 4 26 Sep 16 12:56:02+61 тест/test3/тест2.txt
+ 4 0% 4 26 Sep 16 12:56:00+61 тест/test3/тест1.txt
+ 4 0% 4 26 Sep 16 12:56:08+61 тест/test3/тест3.txt
+ 4 0% 4 26 Sep 16 12:56:02+61 тест/test2/тест2.txt
+ 4 0% 4 26 Sep 16 12:56:00+61 тест/test2/тест1.txt
+ 4 0% 4 26 Sep 16 12:56:08+61 тест/test2/тест3.txt
diff --git a/tests/src/vfs/extfs/helpers-list/data/uzoo.output b/tests/src/vfs/extfs/helpers-list/data/uzoo.output
new file mode 100644
index 0000000..2e9ad9a
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/uzoo.output
@@ -0,0 +1,18 @@
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест3/тест2.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест3/тест1.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест3/тест3.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест1/тест2.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест1/тест1.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест1/тест3.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест2/тест2.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест2/тест1.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/тест2/тест3.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test1/тест2.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test1/тест1.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test1/тест3.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test3/тест2.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test3/тест1.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test3/тест3.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test2/тест2.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test2/тест1.txt
+-rw-r--r-- 1 <<uid>> 0 4 2016-09-26 12:56:00 тест/test2/тест3.txt