Blame tests/p_firefox/firefox_test.sh

Christoph Galuschka 1525a9
#!/bin/sh
Christoph Galuschka 1525a9
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka dae1aa
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
Christoph Galuschka 1525a9
Christoph Galuschka 1525a9
t_Log "Running $0 - basic firefox test."
Christoph Galuschka 1525a9
Christoph Galuschka 1525a9
# Only checking for correct output of '-v'
Christoph Galuschka 1525a9
# both C5/C6 use V3.6
Christoph Galuschka 1525a9
Christoph Galuschka 1525a9
VERSION="3.6"
Christoph Galuschka 1525a9
Christoph Galuschka 1525a9
firefox -v | grep "${VERSION}" >/dev/null 2>&1
Christoph Galuschka 1525a9
Christoph Galuschka 446da1
# If checking versions is not desired
Christoph Galuschka 446da1
#firefox -v | grep "Firefox" >/dev/null 2>&1
Christoph Galuschka 446da1
# Please choose the preferred method
Christoph Galuschka 446da1
Christoph Galuschka 1525a9
t_CheckExitStatus $?