bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone
Blob Blame History Raw
#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
# Author: Christoph Galuschka <christoph.galuschka@chello.at>

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 $?