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

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

commit 8ca7d870e412acfc30b81f352f93335d74c9727d
Author: Justin M. Forbes <jfor...@redhat.com>
Date:   Sun Jan 20 11:07:44 2013 -0600

    Documentation on overall return
---
 documentation.txt  |  4 +++-
 utils/mod-check.sh | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/documentation.txt b/documentation.txt
index f12213c..3d6fb9a 100644
--- a/documentation.txt
+++ b/documentation.txt
@@ -70,7 +70,9 @@ and stderr are both redirected to the log.  Any user running 
with default
 flags should see nothing but the name of the directory and pass/fail/skip.
 The runtest.sh should manage the full test run.  This includes compiling 
 any necessary source, checking for any specific dependencies, and skipping
-if they are not met.
+if they are not met. At the completion of the test set, a "Test suite complete"
+is printed with a pass/fail result, and the appropriate return code.
+
 
 Potential for harm:
 It is expected that these test will be run on real systems.  Any tests
diff --git a/utils/mod-check.sh b/utils/mod-check.sh
new file mode 100644
index 0000000..727569f
--- /dev/null
+++ b/utils/mod-check.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+check_mod() {
+       if [ $(lsmod | grep -wc $module ) -eq 0 ]
+       then
+               echo "Module not present, skipping"
+               return 3
+       fi
+       return 0
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
kernel mailing list
kernel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/kernel@lists.fedoraproject.org

Reply via email to