Blame tests/p_thunderbird/thunderbird_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 thunderbird test."
|
|
Christoph Galuschka |
1525a9 |
|
|
Christoph Galuschka |
1525a9 |
# Only checking for correct output of '-v'
|
|
Christoph Galuschka |
1525a9 |
# with respect to different versions on C5 and C6
|
|
Christoph Galuschka |
1525a9 |
|
|
Christoph Galuschka |
1525a9 |
if (t_GetPkgRel basesystem | grep -q el6)
|
|
Christoph Galuschka |
1525a9 |
then
|
|
Christoph Galuschka |
1525a9 |
VERSION="3.1"
|
|
Christoph Galuschka |
1525a9 |
else
|
|
Christoph Galuschka |
1525a9 |
VERSION="2.0"
|
|
Christoph Galuschka |
1525a9 |
fi
|
|
Christoph Galuschka |
1525a9 |
|
|
Christoph Galuschka |
1525a9 |
thunderbird -v | grep "${VERSION}" >/dev/null 2>&1
|
|
Christoph Galuschka |
1525a9 |
|
|
Christoph Galuschka |
1525a9 |
t_CheckExitStatus $?
|