From ced4ab4b0a2db401108268a2c1232a0ef479871c Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 10 May 2022 20:40:53 +0300 Subject: [PATCH] zdtm: skip zdtm/static/shm-hugetlb when hugetlb is not supported Reported-by: Mr. Jenkins (ppc64le) Signed-off-by: Alexander Mikhalitsyn --- test/zdtm/static/shm-hugetlb.checkskip | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 test/zdtm/static/shm-hugetlb.checkskip diff --git a/test/zdtm/static/shm-hugetlb.checkskip b/test/zdtm/static/shm-hugetlb.checkskip new file mode 100755 index 000000000..df2370815 --- /dev/null +++ b/test/zdtm/static/shm-hugetlb.checkskip @@ -0,0 +1,4 @@ +#!/bin/bash + +# will fail with EOPNOTSUPP +cat /proc/sys/vm/nr_hugepages &> /dev/null