From 78bbc7d5d40506bc0b8e90c35ab89b02a904d13a Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sun, 18 Feb 2024 10:25:56 +0100 Subject: [PATCH] test: make testcase_owneridmap() compatible with coverage runs Follow-up for 614d09a. --- test/units/testsuite-13.nspawn.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/units/testsuite-13.nspawn.sh b/test/units/testsuite-13.nspawn.sh index 2e7a71f250b..69f21efd605 100755 --- a/test/units/testsuite-13.nspawn.sh +++ b/test/units/testsuite-13.nspawn.sh @@ -675,6 +675,7 @@ EOF -U \ --user=testuser \ --bind=/tmp/owneridmap/bind:/home/testuser:owneridmap \ + ${COVERAGE_BUILD_DIR:+--bind="$COVERAGE_BUILD_DIR"} \ /usr/bin/bash -c "$cmd" |& tee nspawn.out; then if grep -q "Failed to map ids for bind mount.*: Function not implemented" nspawn.out; then echo "idmapped mounts are not supported, skipping the test..." -- 2.47.3