bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] 1.23: link -> ln in tests?


From: Christian Weisgerber
Subject: [Bug-tar] 1.23: link -> ln in tests?
Date: Thu, 25 Mar 2010 16:46:58 +0100
User-agent: Mutt/1.4.2.3i

For 1.23, the link02 and link03 regression tests misleadingly fail
on OpenBSD, because that platform doesn't provide a link(8) command.
Is there a good reason not to use ln(1)?

--- tests/link02.at.orig        Thu Mar 25 16:17:52 2010
+++ tests/link02.at     Thu Mar 25 16:18:07 2010
@@ -34,9 +34,9 @@ AT_KEYWORDS([hardlinks link02])
 
 AT_TAR_CHECK([
 genfile -l 64 -f file1
-link file1 file2
-link file2 file3
-link file3 file4
+ln file1 file2
+ln file2 file3
+ln file3 file4
 tar -c -f archive --remove-files file1 file2 file3 file4
 tar tfv archive | sed -n 's/.*file[[2-4]] link to //p'
 ],
--- tests/link03.at.orig        Thu Mar 25 16:17:54 2010
+++ tests/link03.at     Thu Mar 25 16:18:21 2010
@@ -26,9 +26,9 @@ AT_KEYWORDS([hardlinks link03])
 
 m4_define([create_files],[
 genfile -l 64 -f file1
-link file1 file2
-link file2 file3
-link file3 file4
+ln file1 file2
+ln file2 file3
+ln file3 file4
 ])
 
 AT_TAR_CHECK([
-- 
Christian "naddy" Weisgerber                          address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]