[kernel-tests] 42/73: Allow the actual test to skip if modsign is not enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an automated email from the git hooks/post-receive script.

jforbes pushed a commit to branch master
in repository kernel-tests.

commit 0ab7c9db4130983b91d13b9f5771d8096f89acc4
Author: Justin M. Forbes <jforbes@xxxxxxxxxx>
Date:   Fri Jul 26 11:32:09 2013 -0500

    Allow the actual test to skip if modsign is not enabled
---
 default/modsign/runtest.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/default/modsign/runtest.sh b/default/modsign/runtest.sh
index ea87a07..c6e2451 100755
--- a/default/modsign/runtest.sh
+++ b/default/modsign/runtest.sh
@@ -10,7 +10,8 @@ fi
 
 # Run
 ./modsign_tests.sh
-if [ "$?" -ne "0" ]; then
+result=$?
+if [ "$result" -ne "0" ]; then
 	echo "Could not run tests"
-	exit -1
+	exit $result
 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




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux