~free.ekanayaka/landscape-client/lucid-1.5.0-0ubuntu0.10.04.0

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/sh

ERROR=False

echo
echo $(date) "==> About to run client test suite on Dapper"
echo
ssh landscape@durian.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
if [ "$?" != 0 ]
then
    ERROR=True
    echo $(date) "ERROR running client test suite on Dapper"
else
    echo $(date) "Successfully ran client test suite on Dapper"
fi

echo
echo $(date) "==> About to run client test suite on Feisty"
echo
ssh landscape@lapsi.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
if [ "$?" != 0 ]
then
    ERROR=True
    echo $(date) "ERROR running client test suite on Feisty"
else
    echo $(date) "Successfully ran client test suite on Feisty"
fi

echo
echo $(date) "==> About to run client test suite on Gutsy"
echo
ssh landscape@goumi.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
if [ "$?" != 0 ]
then
    ERROR=True
    echo $(date) "ERROR running client test suite on Gutsy"
else
    echo $(date) "Successfully ran client test suite on Gutsy"
fi

echo
echo $(date) "==> About to run client test suite on Hardy"
echo
ssh landscape@arhat.canonical.com "/srv/landscape-client-testing/scripts/run_tests.sh ${1}"
if [ "$?" != 0 ]
then
    ERROR=True
    echo $(date) "ERROR running client test suite on Hardy"
else
    echo $(date) "Successfully ran client test suite on Hardy"
fi

if [ "$ERROR" = "True" ]
then
    exit 1
fi