tests: remove VM exceptions from testrelpol.sh
Change-Id: Ied1db7e77d1849ecb5e92fe9694bb395983c6122
This commit is contained in:
parent
c0df94ec22
commit
54434d4eff
1 changed files with 3 additions and 14 deletions
|
@ -197,19 +197,16 @@ lu_test() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test live update initialization crash
|
# Test live update initialization crash
|
||||||
if ! echo "vm" | grep -q ${label}
|
lu_opts="-x" lu_test_one ${label} self 200 || return
|
||||||
then
|
|
||||||
lu_opts="-x" lu_test_one ${label} self 200 || return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test live update initialization failure
|
# Test live update initialization failure
|
||||||
if ! echo "rs vm" | grep -q ${label}
|
if ! echo "rs" | grep -q ${label}
|
||||||
then
|
then
|
||||||
lu_opts="-y" lu_test_one ${label} self 78 || return
|
lu_opts="-y" lu_test_one ${label} self 78 || return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test live update initialization timeout
|
# Test live update initialization timeout
|
||||||
if ! echo "rs vm" | grep -q ${label}
|
if ! echo "rs" | grep -q ${label}
|
||||||
then
|
then
|
||||||
lu_maxtime="1HZ" lu_opts="-z" lu_test_one ${label} self 4 || return
|
lu_maxtime="1HZ" lu_opts="-z" lu_test_one ${label} self 4 || return
|
||||||
fi
|
fi
|
||||||
|
@ -249,14 +246,6 @@ multi_lu_test_one() {
|
||||||
do
|
do
|
||||||
index=`expr $index + 1`
|
index=`expr $index + 1`
|
||||||
|
|
||||||
if [ "x$label" = "xvm" ]
|
|
||||||
then
|
|
||||||
if echo "${lu_opts_once}" | grep -q -E -- '-(x|y|z)'
|
|
||||||
then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $index -eq $once_index ]
|
if [ $index -eq $once_index ]
|
||||||
then
|
then
|
||||||
service ${lu_opts_once} -q update self -label ${label} -maxtime ${lu_maxtime_once} -state ${lu_state_once} || ret=1
|
service ${lu_opts_once} -q update self -label ${label} -maxtime ${lu_maxtime_once} -state ${lu_state_once} || ret=1
|
||||||
|
|
Loading…
Reference in a new issue