test: skip fdstore tests if test-fdstore is not available
When the test suite is run in the "standalone" mode, the minimal container might not contain the test-fdstore binary that's needed for a couple of tests. Since installing systemd-tests into the minimal container pulls in a lot of other dependencies, let's just skip the affected tests instead to avoid this.
This commit is contained in:
committed by
Luca Boccassi
parent
1e8d527f68
commit
926bf65359
@@ -24,4 +24,6 @@ elif [[ -x "$BUILDROOT/usr/lib/systemd/tests/unit-tests/manual/test-fdstore" ]];
|
||||
cp "$BUILDROOT/usr/lib/systemd/tests/unit-tests/manual/test-fdstore" "$BUILDROOT/usr/bin/test-fdstore"
|
||||
elif [[ -x /usr/lib/systemd/tests/unit-tests/manual/test-fdstore ]]; then
|
||||
cp /usr/lib/systemd/tests/unit-tests/manual/test-fdstore "$BUILDROOT/usr/bin/test-fdstore"
|
||||
else
|
||||
echo >&2 "WARNING: test-fdstore binary not found, fdstore container tests will be skipped"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user