aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tar.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tar.test b/tests/tar.test
index 985cea5f..523faa67 100644
--- a/tests/tar.test
+++ b/tests/tar.test
@@ -148,6 +148,9 @@ testing "pass broken absolute symlink" "$TAR dir/linkabsbrok | LST" \
testing "pass /dev/null" \
"tar c --mtime @0 /dev/null 2>/dev/null | LST" \
"crw-rw-rw- root/root 1,3 1970-01-01 00:00 dev/null\n" "" ""
+testing "--absolute-names" \
+ "tar c --mtime @0 --absolute-names /dev/null 2>/dev/null | LST" \
+ "crw-rw-rw- root/root 1,3 1970-01-01 00:00 /dev/null\n" "" ""
# compression types
testing "autodetect gzip" 'LST -f "$FILES"/tar/tar.tgz' \