mirror of
https://github.com/systemd/systemd.git
synced 2025-02-27 01:57:35 +03:00
test: skip the test on systems without NUMA support
This commit is contained in:
parent
56425e54a2
commit
b030847163
@ -123,7 +123,18 @@ systemctlCheckNUMAProperties() {
|
||||
fi
|
||||
}
|
||||
|
||||
checkNUMA
|
||||
if ! checkNUMA; then
|
||||
echo >&2 "NUMA is not supported on this machine, skipping the test"
|
||||
|
||||
# FIXME: add some sanity checks to verify systemd behaves correctly with
|
||||
# NUMA disabled together with NUMAPolicy= and NUMAMask=
|
||||
|
||||
systemd-analyze log-level info
|
||||
echo OK > /testok
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
writeTestUnit
|
||||
|
||||
# Create systemd config drop-in directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user