X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=tests%2Flink04.at;h=2c6045ee9389faa6ccda14f60bf123b9cf3f6fca;hb=6e08ab76949954eccd059db0d5da90e011a11c27;hp=a950476b66a981ff96fc04dda73b5e6bc589e551;hpb=37ddfb0b7eb41cc3f58bce686d389b1e965e9ccf;p=chaz%2Ftar diff --git a/tests/link04.at b/tests/link04.at index a950476..2c6045e 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])