summaryrefslogtreecommitdiff
path: root/tests/link04.at
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-08-24 08:17:21 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2010-08-24 08:18:37 -0700
commitfbcadc959231bc6b96a8901c22c2666888f186d4 (patch)
tree51425499a41f424be4d858078e20f6962205a279 /tests/link04.at
parent3b219f943e6b0b14c8f30176951b9339ae3ebaf4 (diff)
downloadtar-fbcadc959231bc6b96a8901c22c2666888f186d4.tar.gz
tar: add comment to link04.at test
* tests/link04.at: Add explanatory comment at head.
Diffstat (limited to 'tests/link04.at')
-rw-r--r--tests/link04.at6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/link04.at b/tests/link04.at
index a950476b..2c6045ee 100644
--- a/tests/link04.at
+++ b/tests/link04.at
@@ -20,6 +20,12 @@
# written by Paul Eggert
+# Make sure that tar -c correctly handles the case where a file is
+# encountered multiple times, even though it has a link count of 1.
+# This can occur when "tar -c FOO FOO" is used; it can also occur when
+# "tar -ch FOO" is used, if FOO contains symbolic links that point to
+# the same file.
+
AT_SETUP([link count is 1 but multiple occurrences])
AT_KEYWORDS([hardlinks link04])