From 446da1aabbebc949778fa91bfbf0e436cccc4c2e Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 18 2011 09:22:11 +0000 Subject: changed scripts to not rely on versions --- diff --git a/tests/p_firefox/firefox_test.sh b/tests/p_firefox/firefox_test.sh index 0b0fe82..43aeacb 100755 --- a/tests/p_firefox/firefox_test.sh +++ b/tests/p_firefox/firefox_test.sh @@ -11,4 +11,8 @@ VERSION="3.6" firefox -v | grep "${VERSION}" >/dev/null 2>&1 +# If checking versions is not desired +#firefox -v | grep "Firefox" >/dev/null 2>&1 +# Please choose the preferred method + t_CheckExitStatus $? diff --git a/tests/p_thunderbird/thunderbird_test.sh b/tests/p_thunderbird/thunderbird_test.sh index 9e9fb67..101f7fc 100755 --- a/tests/p_thunderbird/thunderbird_test.sh +++ b/tests/p_thunderbird/thunderbird_test.sh @@ -16,4 +16,8 @@ fi thunderbird -v | grep "${VERSION}" >/dev/null 2>&1 +# If Versions are not dedsired +#thunderbird -v | grep "Thunderbird" >/dev/null 2>&1 +# works on both C5 and C6; please choose prefered way + t_CheckExitStatus $? diff --git a/tests/p_wireshark/wireshark_test.sh b/tests/p_wireshark/wireshark_test.sh index e72bcf7..f29c242 100755 --- a/tests/p_wireshark/wireshark_test.sh +++ b/tests/p_wireshark/wireshark_test.sh @@ -10,6 +10,9 @@ then VERSION="wireshark 1.2" wireshark -v | grep "${VERSION}" >/dev/null 2>&1 + # if version checking is not desired + #wireshark -v | grep "wireshark.org" >/dev/null 2>&1 + # please choose the preferred method t_CheckExitStatus $? else echo "Skipped on CentOS 5"