On 12/21/24 04:53, Bruno Haible via Bug reports for GNU Tar wrote:
When the current directory is under a directory symlinked to a
different volume, the testsuite fails:

129: filename normalization                          FAILED (incr08.at:41)

Thanks for reporting that. I installed the attached, which fixes it here.
From 53f7e6aa62d8a71cd447178eb7410a0c82b674a4 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Fri, 27 Dec 2024 14:02:19 -0800
Subject: [PATCH] tests: port to test dirs where `pwd` != `pwd -P`

Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-tar/2024-12/msg00003.html
* tests/incr08.at: Use pwd -P, not plain pwd.
---
 tests/incr08.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/incr08.at b/tests/incr08.at
index 4cb85e6b..08a6fcb0 100644
--- a/tests/incr08.at
+++ b/tests/incr08.at
@@ -40,7 +40,7 @@ AT_KEYWORDS([incremental create incr08 chdir])
 
 AT_TAR_WITH_HOOK(
 [AT_CHECK([
-DIR=`pwd`/gnu/tartest
+DIR=`pwd -P`/gnu/tartest
 sed "s|$DIR|ABSPATH|" stdout
 ],
 [0],
-- 
2.34.1

Reply via email to