mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
Fix testsuite error on hurd and BSD related to ln
* find/testsuite/find.gnu/samefile-p-brokenlink.exp: Pass "-P" option to enforce generation of hard link to symlink. link() behavior is "implementation-defined" by POSIX and BSD/hurd chose a different behavior than Linux. This fixes http://bugs.debian.org/826357, https://savannah.gnu.org/bugs/index.php?48135 Also fix ln -s invocation to generate a valid symlink. * NEWS: Mention that Savannah bug #48135 is fixed.
This commit is contained in:
parent
13c1d7faa5
commit
c31ef28989
3
NEWS
3
NEWS
@ -2,6 +2,9 @@ GNU findutils NEWS - User visible changes. -*- outline -*- (allout)
|
||||
|
||||
* Major changes in release ?.?.?, YYYY-MM-DD
|
||||
|
||||
** Bug Fixes
|
||||
|
||||
#48135: Fix testsuite error on Hurd and BSD related to ln
|
||||
|
||||
* Major changes in release 4.7.0, 2019-08-29
|
||||
|
||||
|
||||
@ -3,9 +3,9 @@ exec rm -rf tmp
|
||||
exec mkdir tmp
|
||||
exec touch tmp/file1
|
||||
exec ln tmp/file1 tmp/link
|
||||
exec ln -s tmp/file1 tmp/symlink
|
||||
exec ln -s file1 tmp/symlink
|
||||
exec ln -s tmp/file2 tmp/broken
|
||||
exec ln tmp/broken tmp/blink
|
||||
exec ln -P tmp/broken tmp/blink
|
||||
|
||||
find_start p { -P tmp -samefile tmp/broken -print}
|
||||
exec rm -rf tmp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user