Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ginsbach <brian.ginsbach@gmail.com>2020-04-08 23:55:45 +0300
committerBrian Ginsbach <brian.ginsbach@gmail.com>2020-04-08 23:55:45 +0300
commit95b1ae044bd6aec13d994a9d65106bae6a061e22 (patch)
tree8560aa8545fc72b40639e3a9aa501ce162926d52 /include/tests_kernel
parentc368846a08d12901e7de43b525d3e055c7f67508 (diff)
KRNL-5677 use platform instead of preqs-met
Diffstat (limited to 'include/tests_kernel')
-rw-r--r--include/tests_kernel3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tests_kernel b/include/tests_kernel
index 4948e0dd..c62fec91 100644
--- a/include/tests_kernel
+++ b/include/tests_kernel
@@ -102,8 +102,7 @@
# Description : Check CPU options and support (PAE, No eXecute, eXecute Disable)
# More info : pae and nx bit are both visible on AMD and Intel CPU's if supported
- if [ "${HARDWARE}" = "x86_64" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no KRNL-5677 --preqs-met "${PREQS_MET}" --os Linux --weight L --network NO --category security --description "Check CPU options and support"
+ Register --test-no KRNL-5677 --platform x86_64 --os Linux --weight L --network NO --category security --description "Check CPU options and support"
if [ ${SKIPTEST} -eq 0 ]; then
Display --indent 2 --text "- Checking CPU support (NX/PAE)"
LogText "Test: Checking /proc/cpuinfo"