# Description: Tar versions from 1.15.92 to 1.25 would incorrectly
# store sparse file names longer than 100 characters in pax mode.
-# Namely, the `path' keyword of the produced PAX header would contain the
+# Namely, the 'path' keyword of the produced PAX header would contain the
# crafted name of the header itself, instead of that of the file.
# Reported by: Kamil Dudka <kdudka@redhat.com>
# References: <201011250026.44908.kdudka@redhat.com>,
AT_TAR_CHECK([
genfile --sparse --file NAME_111 --block-size 512 8M A || AT_SKIP_TEST
-tar -c --sparse --posix NAME_111 | tar t
+tar -f - -c --sparse --posix NAME_111 | tar tf -
],
[0],
[NAME_111