aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2017-04-13 21:07:40 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2017-04-13 21:07:40 +0900
commitf00d9517e12366d3d3208e011c58fe978570ef0b (patch)
tree65e8f0d01bc829dcd0d672a771dd5c455c235fc4
parent61d7ab38f8c42a0c7b993d193417e080b12a5d0e (diff)
downloadmeta-ivi-f00d9517e12366d3d3208e011c58fe978570ef0b.tar.gz
meta-ivi-f00d9517e12366d3d3208e011c58fe978570ef0b.tar.bz2
meta-ivi-f00d9517e12366d3d3208e011c58fe978570ef0b.zip
persistence-client-library: fix test script.N-1.0
- do as told by Ingo Heurner Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
-rwxr-xr-xmeta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library/persistence-client-library_t.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library/persistence-client-library_t.inc b/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library/persistence-client-library_t.inc
index b4f38f1..bac7e29 100755
--- a/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library/persistence-client-library_t.inc
+++ b/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library/persistence-client-library_t.inc
@@ -18,15 +18,16 @@ _setup_env() {
if [ "x${_p}" != "x" ]; then
kill -9 ${_p} >& /dev/null
fi
+ sleep 2
+ systemctl restart pas-daemon
+ systemctl restart nodestatemanager-daemon
- if [ ! -e /Data/mnt-wt/lt-persistence_client_library_test/ ]; then
- persadmin_tool install /Data/mnt-backup/PAS_data.tar.gz > /tmp/t
- fi
if [ ! -e /tmp/myBackup ]; then
mkdir /tmp/myBackup
fi
- systemctl restart pas-daemon
- systemctl restart nodestatemanager-daemon
+ if [ ! -e /Data/mnt-wt/lt-persistence_client_library_test/ ]; then
+ persadmin_tool install /Data/mnt-backup/PAS_data.tar.gz > /tmp/t
+ fi
}
_run() {