From: Luca Boccassi Date: Fri, 4 Jul 2025 01:18:43 +0000 (+0100) Subject: test: /lib64 is not guaranteed to exist, do not try to copy it if not X-Git-Tag: v258-rc1~168^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4bffb45bb74ca34f9dc90dab7710898fcd9a097d;p=thirdparty%2Fsystemd.git test: /lib64 is not guaranteed to exist, do not try to copy it if not --- diff --git a/test/units/TEST-13-NSPAWN.nspawn.sh b/test/units/TEST-13-NSPAWN.nspawn.sh index a0fbb3637d6..db4a36ee3c9 100755 --- a/test/units/TEST-13-NSPAWN.nspawn.sh +++ b/test/units/TEST-13-NSPAWN.nspawn.sh @@ -1126,7 +1126,10 @@ testcase_check_os_release() { base="$(mktemp -d /var/lib/machines/TEST-13-NSPAWN.check_os_release_base.XXX)" root="$(mktemp -d /var/lib/machines/TEST-13-NSPAWN.check_os_release.XXX)" create_dummy_container "$base" - cp -d "$base"/{bin,sbin,lib,lib64} "$root/" + cp -d "$base"/{bin,sbin,lib} "$root/" + if [ -d "$base"/lib64 ]; then + cp -d "$base"/lib64 "$root/" + fi common_opts=( --boot --register=no