diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-12-28 17:53:35 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-12-28 17:53:35 +0200 |
commit | 1ed62596cf859b73612abe8eb35616413ec5613c (patch) | |
tree | d21a437c06193eadba0cabb013711c303ed2875f | |
parent | 9d1993f651d72f78b2afe416c72b1aeb0c1215ab (diff) | |
download | tar-1ed62596cf859b73612abe8eb35616413ec5613c.tar.gz tar-1ed62596cf859b73612abe8eb35616413ec5613c.tar.bz2 |
Fix the difflink test
Hardlinking a symlink produces hardlink on BSD and symlink
on GNU/Linux. Avoid the ambiguity.
* tests/difflink.at: Create hard link from a regular file.
-rw-r--r-- | tests/difflink.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/difflink.at b/tests/difflink.at index 4e011760..5d86ba0f 100644 --- a/tests/difflink.at +++ b/tests/difflink.at @@ -20,14 +20,14 @@ AT_TAR_CHECK([ mkdir a genfile -f a/x ln -s x a/y -ln a/y a/z +ln a/x a/z tar cf a.tar a/x a/y a/z rm a/z ln -s x a/z tar df a.tar ], [1], -[a/z: Not linked to a/y +[a/z: Not linked to a/x ], [], [],[],[ustar]) # Testing one format is enough |