summaryrefslogtreecommitdiffstats
path: root/test/TEST-36-NUMAPOLICY
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:00:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:00:47 +0000
commit2cb7e0aaedad73b076ea18c6900b0e86c5760d79 (patch)
treeda68ca54bb79f4080079bf0828acda937593a4e1 /test/TEST-36-NUMAPOLICY
parentInitial commit. (diff)
downloadsystemd-2cb7e0aaedad73b076ea18c6900b0e86c5760d79.tar.xz
systemd-2cb7e0aaedad73b076ea18c6900b0e86c5760d79.zip
Adding upstream version 247.3.upstream/247.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/TEST-36-NUMAPOLICY')
l---------test/TEST-36-NUMAPOLICY/Makefile1
-rw-r--r--test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x0
-rwxr-xr-xtest/TEST-36-NUMAPOLICY/test.sh13
3 files changed, 14 insertions, 0 deletions
diff --git a/test/TEST-36-NUMAPOLICY/Makefile b/test/TEST-36-NUMAPOLICY/Makefile
new file mode 120000
index 0000000..e9f93b1
--- /dev/null
+++ b/test/TEST-36-NUMAPOLICY/Makefile
@@ -0,0 +1 @@
+../TEST-01-BASIC/Makefile \ No newline at end of file
diff --git a/test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x b/test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x
diff --git a/test/TEST-36-NUMAPOLICY/test.sh b/test/TEST-36-NUMAPOLICY/test.sh
new file mode 100755
index 0000000..a08ad6c
--- /dev/null
+++ b/test/TEST-36-NUMAPOLICY/test.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+set -e
+
+TEST_DESCRIPTION="test MUMAPolicy= and NUMAMask= options"
+TEST_NO_NSPAWN=1
+. $TEST_BASE_DIR/test-functions
+if qemu_min_version "5.2.0"; then
+ QEMU_OPTIONS="-object memory-backend-ram,id=mem0,size=512M -numa node,memdev=mem0,nodeid=0"
+else
+ QEMU_OPTIONS="-numa node,nodeid=0"
+fi
+
+do_test "$@" 36