Repository : http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
commit 8118a1e821c8613114f68ff3777857e380c8a353 Author: Justin M. Forbes jforbes@redhat.com Date: Tue Mar 4 13:47:38 2014 -0600
skip stack-randomness on 32bit
default/stack-randomness/runtest.sh | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/default/stack-randomness/runtest.sh b/default/stack-randomness/runtest.sh index 77d17de..4fa9b42 100755 --- a/default/stack-randomness/runtest.sh +++ b/default/stack-randomness/runtest.sh @@ -2,7 +2,14 @@ # # Licensed under the terms of the GNU GPL License version 2
-COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done | sort -u | uniq -c | wc -l) +ARCH=$(uname -m) + +if [ "$ARCH" == "x86_64" ]; then + COUNT=$(for i in `seq 1 1000` ; do grep stack /proc/self/maps; done | sort -u | uniq -c | wc -l) +else + exit 3 +fi +
if [ $COUNT -lt 950 ]; then echo "Stack randomness changes < 95% of the time ($COUNT)"
kernel@lists.fedoraproject.org