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:
authorMichael Boelen <michael.boelen@cisofy.com>2020-04-09 10:55:28 +0300
committerGitHub <noreply@github.com>2020-04-09 10:55:28 +0300
commit0019cf329774d984b1ac369d57ee9ed9e3a7e7c0 (patch)
tree1dd744b6e8ad2b0b832e69ffafc828abbae2703c
parent110cc5a264f1ffa72b7cd09ce16a5f0976c13de8 (diff)
parent95b1ae044bd6aec13d994a9d65106bae6a061e22 (diff)
Merge pull request #904 from bginsbach/krnl-5677
KRNL-5677 use platform instead of preqs-met
-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"