~ahasenack/landscape-client/landscape-client-1.5.5-0ubuntu0.9.04.0

« back to all changes in this revision

Viewing changes to pqm-tests.sh

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-09-08 16:35:57 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080908163557-l3ixzj5dxz37wnw2
Tags: 1.0.18-0ubuntu1
New upstream release 

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