diff --git a/tests/p_firefox/0-install_firefox.sh b/tests/p_firefox/0-install_firefox.sh new file mode 100755 index 0000000..02e6acc --- /dev/null +++ b/tests/p_firefox/0-install_firefox.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Author: Christoph Galuschka + +# Install firefox +t_InstallPackage firefox diff --git a/tests/p_firefox/firefox_test.sh b/tests/p_firefox/firefox_test.sh new file mode 100755 index 0000000..a11927d --- /dev/null +++ b/tests/p_firefox/firefox_test.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# Author: Athmane Madjoudj +# Author: Christoph Galuschka + +t_Log "Running $0 - basic firefox test." + +# Only checking for correct output of '-v' +# both C5/C6 use V3.6 + +VERSION="3.6" + +firefox -v | grep "${VERSION}" >/dev/null 2>&1 + +t_CheckExitStatus $? diff --git a/tests/p_minicom/minicom_test.sh b/tests/p_minicom/minicom_test.sh index 71183c3..f7c8da4 100755 --- a/tests/p_minicom/minicom_test.sh +++ b/tests/p_minicom/minicom_test.sh @@ -1,6 +1,6 @@ #!/bin/sh # Author: Athmane Madjoudj -# Author: Christph Galuschka +# Author: Christoph Galuschka t_Log "Running $0 - very basic minicom test." diff --git a/tests/p_rrdtool/rrdtool_test.sh b/tests/p_rrdtool/rrdtool_test.sh index d2dbbfe..44da773 100755 --- a/tests/p_rrdtool/rrdtool_test.sh +++ b/tests/p_rrdtool/rrdtool_test.sh @@ -1,6 +1,6 @@ #!/bin/sh # Author: Athmane Madjoudj -# Author: Christph Galuschka +# Author: Christoph Galuschka # RRD-sample from http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html if (t_GetPkgRel basesystem | grep -q el6) diff --git a/tests/p_thunderbird/0-install_thunderbird.sh b/tests/p_thunderbird/0-install_thunderbird.sh new file mode 100755 index 0000000..b5d7d58 --- /dev/null +++ b/tests/p_thunderbird/0-install_thunderbird.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Author: Christoph Galuschka + +# Install thunderbird +t_InstallPackage thunderbird diff --git a/tests/p_thunderbird/thunderbird_test.sh b/tests/p_thunderbird/thunderbird_test.sh new file mode 100755 index 0000000..d3a9ec0 --- /dev/null +++ b/tests/p_thunderbird/thunderbird_test.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Author: Athmane Madjoudj +# Author: Christoph Galuschka + +t_Log "Running $0 - basic thunderbird test." + +# Only checking for correct output of '-v' +# with respect to different versions on C5 and C6 + +if (t_GetPkgRel basesystem | grep -q el6) +then + VERSION="3.1" +else + VERSION="2.0" +fi + +thunderbird -v | grep "${VERSION}" >/dev/null 2>&1 + +t_CheckExitStatus $?