diff --git a/test/test-functions b/test/test-functions index bc72ba43fef..de553afb505 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1186,7 +1186,7 @@ install_suse_systemd() { ddebug "Install files from package $p" while read -r f; do [ -e "$f" ] || continue - [ ! -L "$file" ] && [ -d "$file" ] && continue + [ ! -L "$f" ] && [ -d "$f" ] && continue inst "$f" done < <(rpm -ql "$p") done