aboutsummaryrefslogtreecommitdiff
path: root/tests/shm-fork.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shm-fork.sh')
-rwxr-xr-xtests/shm-fork.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/shm-fork.sh b/tests/shm-fork.sh
deleted file mode 100755
index 174c543..0000000
--- a/tests/shm-fork.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-. wrapper-utils.sh
-
-#shm-fork will fail if the hugepage size is different from the system default
-
-def_hpage_size=`grep 'Hugepagesize:' /proc/meminfo | awk '{print $2}'`
-let "def_hpage_size *= 1024"
-
-if [ -z "$HUGETLB_DEFAULT_PAGE_SIZE" ]; then
- EXP_RC=$RC_PASS
-elif [ "$def_hpage_size" -eq "$HUGETLB_DEFAULT_PAGE_SIZE" ]; then
- EXP_RC=$RC_PASS
-else
- EXP_RC=$RC_FAIL
-fi
-
-exec_and_check $EXP_RC shm-fork "$@"