From: Franck Bui Date: Tue, 2 Jul 2024 13:20:18 +0000 (+0200) Subject: test: preserve symlink in inst_recursive() X-Git-Tag: v257-rc1~993^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=855bad331e28a03d7ad5831caacd3481db938180;p=thirdparty%2Fsystemd.git test: preserve symlink in inst_recursive() On SUSE this function is used to copy symlinks installed in *.wants/ directories. --- diff --git a/test/test-functions b/test/test-functions index 16e9c9c12ae..03f188b0a25 100644 --- a/test/test-functions +++ b/test/test-functions @@ -2960,6 +2960,8 @@ inst_recursive() { while read -r item; do if [[ -d "$item" ]]; then inst_dir "$item" + elif [[ -L "$item" ]]; then + inst_symlink "$item" elif [[ -f "$item" ]]; then inst_simple "$item" fi