forked from canonical/landscape-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pqm-tests.sh
executable file
·56 lines (50 loc) · 1.36 KB
/
pqm-tests.sh
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
#!/bin/sh
ERROR=False
echo
echo $(date) "==> About to run client test suite on Dapper"
echo
ssh [email protected] "/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 [email protected] "/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 [email protected] "/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 [email protected] "/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