summaryrefslogtreecommitdiff
path: root/progs/quicktest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'progs/quicktest.sh')
-rwxr-xr-xprogs/quicktest.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/quicktest.sh b/progs/quicktest.sh
index 6aa2598..aaabbca 100755
--- a/progs/quicktest.sh
+++ b/progs/quicktest.sh
@@ -259,4 +259,11 @@ else
fi
rm -f compare-cap
+echo "attempt to exploit kernel bug"
+./uns_test
+if [ $? -ne 0 ]; then
+ echo "upgrade your kernel"
+ exit 1
+fi
+
echo "ALL TESTS PASSED!"