From b543b4ed380bd3571f23225b216ad82860d281ee Mon Sep 17 00:00:00 2001 From: dcashman Date: Tue, 22 Mar 2016 16:08:26 -0700 Subject: aslr_test: Fix typo. Bug: 26512380 Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6 --- tests/kernel.config/aslr_rec_test.cpp | 2 +- tests/kernel.config/aslr_test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/kernel.config/aslr_rec_test.cpp b/tests/kernel.config/aslr_rec_test.cpp index 3dc61e6e..e154424a 100644 --- a/tests/kernel.config/aslr_rec_test.cpp +++ b/tests/kernel.config/aslr_rec_test.cpp @@ -17,7 +17,7 @@ #include "aslr_test.h" /* run tests if on supported arch */ -#if defined(__x86__64__) || defined(__i386__) || defined(__aarch64__) || defined(__arm__) +#if defined(__x86_64__) || defined(__i386__) || defined(__aarch64__) || defined(__arm__) /* make sure the default entropy values matches what we expect */ TEST_F(AslrMmapTest, match_default) { diff --git a/tests/kernel.config/aslr_test.cpp b/tests/kernel.config/aslr_test.cpp index ff19a109..ef47f4f8 100644 --- a/tests/kernel.config/aslr_test.cpp +++ b/tests/kernel.config/aslr_test.cpp @@ -145,7 +145,7 @@ unsigned int AslrMmapTest::def_cmpt, AslrMmapTest::min_cmpt, AslrMmapTest::max_c void AslrMmapTest::SetUpTestCase() { /* set up per-arch values */ -#if defined(__x86__64__) +#if defined(__x86_64__) def = 32; min = 28; max = 32; @@ -211,7 +211,7 @@ void AslrMmapTest::TearDown() { } /* run tests only if on supported arch */ -#if defined(__x86__64__) || defined(__i386__) || defined(__aarch64__) || defined(__arm__) +#if defined(__x86_64__) || defined(__i386__) || defined(__aarch64__) || defined(__arm__) TEST_F(AslrMmapTest, entropy_min_def) { if (user32) { -- cgit v1.2.3