git: 6ef1bf8f3460 - main - stress2: Do not follow symbolic links
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Sep 2025 09:15:12 UTC
The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=6ef1bf8f34605c1ffce1e5643e95213a9943c7df commit 6ef1bf8f34605c1ffce1e5643e95213a9943c7df Author: Peter Holm <pho@FreeBSD.org> AuthorDate: 2025-09-21 09:12:46 +0000 Commit: Peter Holm <pho@FreeBSD.org> CommitDate: 2025-09-21 09:12:46 +0000 stress2: Do not follow symbolic links --- tools/test/stress2/misc/rsync.sh | 2 +- tools/test/stress2/misc/rsync3.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/test/stress2/misc/rsync.sh b/tools/test/stress2/misc/rsync.sh index fa52f98c6f02..1e677c7c1f6c 100755 --- a/tools/test/stress2/misc/rsync.sh +++ b/tools/test/stress2/misc/rsync.sh @@ -31,7 +31,7 @@ if [ $s -eq 0 ]; then fi if [ $s -eq 0 ]; then - diff -rq /usr/src/sys $mntpoint/usr/src/sys > $log; s=$? + diff --no-dereference -rq /usr/src/sys $mntpoint/usr/src/sys > $log; s=$? [ $s -ne 0 ] && { echo "/usr/src $mntpoint/usr/src differ!"; head -10 $log; } fi diff --git a/tools/test/stress2/misc/rsync3.sh b/tools/test/stress2/misc/rsync3.sh index 1d77bdfbcaa5..e5e4db128b0f 100755 --- a/tools/test/stress2/misc/rsync3.sh +++ b/tools/test/stress2/misc/rsync3.sh @@ -30,7 +30,7 @@ if [ $s -eq 0 ]; then fi if [ $s -eq 0 ]; then - diff -rq /usr/src/sys $mntpoint/usr/src/sys > $log; s=$? + diff --no-dereference -rq /usr/src/sys $mntpoint/usr/src/sys > $log; s=$? [ $s -ne 0 ] && { echo "/usr/src $mntpoint/usr/src differ!"; head -10 $log; } fi