aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator/persistence-administrator_t.inc
blob: 0e3a65c5adb27cf91ef8ec843548cfbee254100b (plain)
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
#!/bin/sh
get_list() {
  return 1
}

get_title() {
  echo "persistence-administrator"
}

run_1() {
  echo "error!"
  echo "segfault at 7fa2ac0b6010 ip 000000364d88e130 sp 00007fa2ae0f2aa8 error 4 in libc-2.23.so[364d800000+197000]"
  exit -1

  if [ ! -d /tmp/PAS ]; then
    rm -f /tmp/PAS
    mkdir -p /tmp/PAS
  fi
  cp /opt/tests/persistence-administrator/resource*.tar.gz /tmp/PAS/

  systemctl restart dlt-dbus
  systemctl restart dlt-example-user
  systemctl restart pas-daemon
  systemctl restart node-startup-controller
  persadmin_tool install /Data/Data.tar.gz 
  /opt/tests/persistence-administrator/pers_admin_test_framework
}