2014-11-05 14:05:22 +00:00
|
|
|
var path = require('path')
|
2013-12-21 00:03:48 +00:00
|
|
|
|
2014-11-05 14:05:22 +00:00
|
|
|
exports.ONE_FILE_TAR = path.join(__dirname, 'one-file.tar')
|
|
|
|
exports.MULTI_FILE_TAR = path.join(__dirname, 'multi-file.tar')
|
2016-04-05 14:40:00 +00:00
|
|
|
exports.PAX_TAR = path.join(__dirname, 'pax.tar')
|
2014-11-05 14:05:22 +00:00
|
|
|
exports.TYPES_TAR = path.join(__dirname, 'types.tar')
|
|
|
|
exports.LONG_NAME_TAR = path.join(__dirname, 'long-name.tar')
|
|
|
|
exports.UNICODE_BSD_TAR = path.join(__dirname, 'unicode-bsd.tar')
|
|
|
|
exports.UNICODE_TAR = path.join(__dirname, 'unicode.tar')
|
|
|
|
exports.NAME_IS_100_TAR = path.join(__dirname, 'name-is-100.tar')
|
|
|
|
exports.INVALID_TGZ = path.join(__dirname, 'invalid.tgz')
|
|
|
|
exports.SPACE_TAR_GZ = path.join(__dirname, 'space.tar')
|
2015-10-15 15:56:44 +00:00
|
|
|
exports.GNU_LONG_PATH = path.join(__dirname, 'gnu-long-path.tar')
|
2016-02-17 02:34:42 +00:00
|
|
|
exports.BASE_256_UID_GID = path.join(__dirname, 'base-256-uid-gid.tar')
|
2016-04-21 05:48:51 +00:00
|
|
|
exports.LARGE_UID_GID = path.join(__dirname, 'large-uid-gid.tar')
|
2017-05-11 13:09:44 +00:00
|
|
|
exports.BASE_256_SIZE = path.join(__dirname, 'base-256-size.tar')
|
2018-03-16 20:13:57 +00:00
|
|
|
exports.HUGE = path.join(__dirname, 'huge.tar.gz')
|
2018-03-16 23:22:49 +00:00
|
|
|
exports.LATIN1_TAR = path.join(__dirname, 'latin1.tar')
|
2018-04-26 15:00:57 +00:00
|
|
|
exports.INCOMPLETE_TAR = path.join(__dirname, 'incomplete.tar')
|
2019-05-30 20:29:05 +00:00
|
|
|
// Created using gnu tar: tar cf gnu-incremental.tar --format gnu --owner=myuser:12345 --group=mygroup:67890 test.txt
|
|
|
|
exports.GNU_TAR = path.join(__dirname, 'gnu.tar')
|
|
|
|
// Created using gnu tar: tar cf gnu-incremental.tar -G --format gnu --owner=myuser:12345 --group=mygroup:67890 test.txt
|
|
|
|
exports.GNU_INCREMENTAL_TAR = path.join(__dirname, 'gnu-incremental.tar')
|
2020-12-29 10:22:18 +00:00
|
|
|
// Created from multi-file.tar, removing the magic and recomputing the checksum
|
|
|
|
exports.UNKNOWN_FORMAT = path.join(__dirname, 'unknown-format.tar')
|
2019-05-30 20:29:05 +00:00
|
|
|
// Created using gnu tar: tar cf v7.tar --format v7 test.txt
|
|
|
|
exports.V7_TAR = path.join(__dirname, 'v7.tar')
|