1#!/bin/sh 2 3./tests/logcrawler_tests $* 4result=$? 5 6ICON_OK=gtk-apply 7ICON_ERROR=gtk-cancel 8 9if [ `which notify-send` ]; then 10 if [ "$result" != "0" ]; then 11 notify-send -i $ICON_ERROR "glogg" "Tests failed!" 12 else 13 notify-send -i $ICON_OK "glogg" "Tests passed!" 14 fi 15fi 16 17exit $result 18