diff options
author | Franck Bui <fbui@suse.com> | 2024-07-02 15:20:18 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2024-07-02 19:06:21 +0200 |
commit | 855bad331e28a03d7ad5831caacd3481db938180 (patch) | |
tree | 529aa17127d7ab88fa1c45126e2846dbb5e05c62 /test/test-functions | |
parent | test: fix TEST-24-CRYPTSETUP on SUSE (diff) | |
download | systemd-855bad331e28a03d7ad5831caacd3481db938180.tar.xz systemd-855bad331e28a03d7ad5831caacd3481db938180.zip |
test: preserve symlink in inst_recursive()
On SUSE this function is used to copy symlinks installed in *.wants/
directories.
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions index 16e9c9c12a..03f188b0a2 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 |