mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test: make testcase_owneridmap() compatible with coverage runs
Follow-up for 614d09a.
This commit is contained in:
committed by
Luca Boccassi
parent
8d2a38ef6c
commit
78bbc7d5d4
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user