aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2017-04-13 16:29:57 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2017-04-13 16:30:23 +0900
commit70104090943e0b06181c74a3728bbadc39102eae (patch)
tree2fb0df50a209cc11963f4e916d9e3698d0f94fe0
parentc5fd7b05d8c130399be89830ee995aa3fda686fd (diff)
downloadmeta-ivi-70104090943e0b06181c74a3728bbadc39102eae.tar.gz
meta-ivi-70104090943e0b06181c74a3728bbadc39102eae.tar.bz2
meta-ivi-70104090943e0b06181c74a3728bbadc39102eae.zip
persistence-client-library: modify test script
- install target is PAS_data.tar.gz, not Data_benchmark.tar.gz 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.inc7
-rw-r--r--meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend8
2 files changed, 8 insertions, 7 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 2f04840..b4f38f1 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
@@ -19,8 +19,11 @@ _setup_env() {
kill -9 ${_p} >& /dev/null
fi
- if [ ! -e /Data/mnt-c/lt-persistence_client_library_test/ ]; then
- persadmin_tool install /Data/Data_benchmark.tar.gz > /tmp/t
+ 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
diff --git a/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend b/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend
index db168c8..99b1062 100644
--- a/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend
+++ b/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend
@@ -15,13 +15,11 @@ do_install_append() {
${D}/opt/tests/${PN}
install -m 0755 ${S}/test/.libs/persistence_client_library_test_file \
${D}/opt/tests/${PN}
- install -d ${D}/Data
+ install -d ${D}/Data/mnt-backup
install -m 0644 ${S}/test/data/PAS_data.tar.gz \
- ${D}/Data/Data.tar.gz
+ ${D}/Data/mnt-backup/
install -m 0644 ${S}/test/data/PAS_data_benchmark.tar.gz \
- ${D}/Data/Data_benchmark.tar.gz
- #install -d ${D}/Data/mnt-c/lt-persistence_client_library_test
- #touch ${D}/Data/mnt-c/lt-persistence_client_library_test/BLANK
+ ${D}/Data/mnt-backup/
install -m 0755 ${WORKDIR}/${BPN}_t.inc ${D}/opt/tests/${PN}
}