This is an automated email from the git hooks/post-receive script. jforbes pushed a commit to branch master in repository kernel-tests. commit e3ca1f81398a10a45bc5c4d8158da7ef9871232f Author: Justin M. Forbes <jforbes@xxxxxxxxxx> Date: Mon Feb 23 09:57:07 2015 -0600 Add rcutorture to stress tests --- stress/rcutorture/runtest.sh | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/stress/rcutorture/runtest.sh b/stress/rcutorture/runtest.sh new file mode 100755 index 0000000..045192d --- /dev/null +++ b/stress/rcutorture/runtest.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# +# Licensed under the terms of the GNU GPL License version 2 + +# RCU Torture test for 10 minutes + +# Test paramaters +if [ -z "$TORTURE_FOR" ]; then + TORTURE_FOR=600 +fi + +# any extra kernel module parameters +if [ -z "$TORTURE_PARAMS" ]; then + TORTURE_PARAMS="" +fi + +# Make sure the rcutorture module is available to test +insmod rcutorture $TORTURE_PARAMS +if [ $? -eq 0 ]; then + echo "insmod rcutorture $TORTURE_PARAMS passed" +else + echo "insmod rcutorture $TORTURE_PARAMS failed" + exit 3 +fi + +source ../../utils/mod-check.sh +module=rcutorture +check_mod +has_mod=$? + +if [ "$has_mod" -ne "0" ]; then + exit 3 +fi + +# Test for $TORTURE_FOR time +sleep $TORTURE_FOR +rmmod rcutorture +if [ $? -eq 0 ]; then + echo "rmmod rcutorture $TORTURE_PARAMS passed" +else + echo "rmmod rcutorture $TORTURE_PARAMS failed" +fi + +# Check Results +dmesg | grep -i rcu | grep -i end | grep -i success > /dev/null +if [ $? -ne 0 ]; then + exit -1 +fi -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx