aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/linux.c
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2023-08-22 13:58:37 +0000
committerShuah Khan <[email protected]>2023-09-08 16:06:56 +0000
commit3f3f384139ed147c71e1d770accf610133d5309b (patch)
tree030b27a9e4b2bc6207c90512de83127c27f908b5 /tools/testing/radix-tree/linux.c
parentselftests: fix dependency checker script (diff)
downloadkernel-3f3f384139ed147c71e1d770accf610133d5309b.tar.gz
kernel-3f3f384139ed147c71e1d770accf610133d5309b.zip
selftests: Keep symlinks, when possible
When kselftest is built/installed with the 'gen_tar' target, rsync is used for the installation step to copy files. Extra care is needed for tests that have symlinks. Commit ae108c48b5d2 ("selftests: net: Fix cross-tree inclusion of scripts") added '-L' (transform symlink into referent file/dir) to rsync, to fix dangling links. However, that broke some tests where the symlink (being a symlink) is part of the test (e.g. exec:execveat). Use rsync's '--copy-unsafe-links' that does right thing. Fixes: ae108c48b5d2 ("selftests: net: Fix cross-tree inclusion of scripts") Signed-off-by: Björn Töpel <[email protected]> Reviewed-by: Benjamin Poirier <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux.c')
0 files changed, 0 insertions, 0 deletions