~ahasenack/landscape-client/landscape-client-11.02-0ubuntu0.8.04.1

« back to all changes in this revision

Viewing changes to pqm-tests.sh

  • Committer: Andreas Hasenack
  • Date: 2011-05-05 14:12:15 UTC
  • Revision ID: andreas@canonical.com-20110505141215-5ymuyyh5es9pwa6p
Added hardy files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
ERROR=False
 
4
 
 
5
echo
 
6
echo $(date) "==> About to run client test suite on Dapper"
 
7
echo
 
8
ssh landscape@durian.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
 
9
if [ "$?" != 0 ]
 
10
then
 
11
    ERROR=True
 
12
    echo $(date) "ERROR running client test suite on Dapper"
 
13
else
 
14
    echo $(date) "Successfully ran client test suite on Dapper"
 
15
fi
 
16
 
 
17
echo
 
18
echo $(date) "==> About to run client test suite on Feisty"
 
19
echo
 
20
ssh landscape@lapsi.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
 
21
if [ "$?" != 0 ]
 
22
then
 
23
    ERROR=True
 
24
    echo $(date) "ERROR running client test suite on Feisty"
 
25
else
 
26
    echo $(date) "Successfully ran client test suite on Feisty"
 
27
fi
 
28
 
 
29
echo
 
30
echo $(date) "==> About to run client test suite on Gutsy"
 
31
echo
 
32
ssh landscape@goumi.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
 
33
if [ "$?" != 0 ]
 
34
then
 
35
    ERROR=True
 
36
    echo $(date) "ERROR running client test suite on Gutsy"
 
37
else
 
38
    echo $(date) "Successfully ran client test suite on Gutsy"
 
39
fi
 
40
 
 
41
echo
 
42
echo $(date) "==> About to run client test suite on Hardy"
 
43
echo
 
44
ssh landscape@arhat.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
 
45
if [ "$?" != 0 ]
 
46
then
 
47
    ERROR=True
 
48
    echo $(date) "ERROR running client test suite on Hardy"
 
49
else
 
50
    echo $(date) "Successfully ran client test suite on Hardy"
 
51
fi
 
52
 
 
53
if [ "$ERROR" = "True" ]
 
54
then
 
55
    exit 1
 
56
fi
 
57