]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
tests: port to test dirs where `pwd` != `pwd -P`
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2024 22:02:19 +0000 (14:02 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2024 22:06:14 +0000 (14:06 -0800)
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

index 4cb85e6bd639198c401c0924336f05af059fef55..08a6fcb0000078fd608cab2719d2b79642534e95 100644 (file)
@@ -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],