From: Seongwook Chung Date: Fri, 30 Sep 2016 01:22:45 +0000 (+0900) Subject: Change script and list about root test and capability test X-Git-Tag: tizen/20160930.012757^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ad4d8364de71e42b4da40e13fe2e38f70937bf1;p=platform%2Fcore%2Fsecurity%2Fsecurity-config.git Change script and list about root test and capability test Signed-off-by: Seongwook Chung --- diff --git a/test/capability_test/list/emul/mobile/root_daemon_list b/test/capability_test/list/emul/mobile/root_daemon_list index 08b5ed7..d3fb443 100755 --- a/test/capability_test/list/emul/mobile/root_daemon_list +++ b/test/capability_test/list/emul/mobile/root_daemon_list @@ -14,7 +14,6 @@ user@.service,systemd app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd diff --git a/test/capability_test/list/emul/mobile/root_daemon_list.stable b/test/capability_test/list/emul/mobile/root_daemon_list.stable index 08b5ed7..d3fb443 100755 --- a/test/capability_test/list/emul/mobile/root_daemon_list.stable +++ b/test/capability_test/list/emul/mobile/root_daemon_list.stable @@ -14,7 +14,6 @@ user@.service,systemd app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd diff --git a/test/capability_test/list/emul/wearable/root_daemon_list b/test/capability_test/list/emul/wearable/root_daemon_list index 83fa015..8efed0d 100755 --- a/test/capability_test/list/emul/wearable/root_daemon_list +++ b/test/capability_test/list/emul/wearable/root_daemon_list @@ -13,8 +13,6 @@ tlm.service,systemd user@.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd -app2sd-server.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd diff --git a/test/capability_test/list/emul/wearable/root_daemon_list.stable b/test/capability_test/list/emul/wearable/root_daemon_list.stable index 83fa015..8efed0d 100755 --- a/test/capability_test/list/emul/wearable/root_daemon_list.stable +++ b/test/capability_test/list/emul/wearable/root_daemon_list.stable @@ -13,8 +13,6 @@ tlm.service,systemd user@.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd -app2sd-server.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd diff --git a/test/capability_test/list/target/mobile/root_daemon_list b/test/capability_test/list/target/mobile/root_daemon_list index a8095e8..66ff1eb 100755 --- a/test/capability_test/list/target/mobile/root_daemon_list +++ b/test/capability_test/list/target/mobile/root_daemon_list @@ -3,9 +3,7 @@ dbus-org.freedesktop.login1.service,systemd deviced.service,systemd device-policy-manager.service,systemd display-manager.service,systemd -modemd.service,systemd net-config.service,systemd -nvitemd.service,systemd resourced.service,systemd security-manager.service,systemd systemd-journald.service,systemd @@ -13,12 +11,10 @@ systemd-logind.service,systemd systemd-udevd.service,systemd tlm.service,systemd user@.service,systemd -wifi-mac-check.service,systemd app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd wifi-direct-manager.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd diff --git a/test/capability_test/list/target/mobile/root_daemon_list.stable b/test/capability_test/list/target/mobile/root_daemon_list.stable index a8095e8..66ff1eb 100755 --- a/test/capability_test/list/target/mobile/root_daemon_list.stable +++ b/test/capability_test/list/target/mobile/root_daemon_list.stable @@ -3,9 +3,7 @@ dbus-org.freedesktop.login1.service,systemd deviced.service,systemd device-policy-manager.service,systemd display-manager.service,systemd -modemd.service,systemd net-config.service,systemd -nvitemd.service,systemd resourced.service,systemd security-manager.service,systemd systemd-journald.service,systemd @@ -13,12 +11,10 @@ systemd-logind.service,systemd systemd-udevd.service,systemd tlm.service,systemd user@.service,systemd -wifi-mac-check.service,systemd app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd wifi-direct-manager.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd diff --git a/test/capability_test/list/target/wearable/root_daemon_list b/test/capability_test/list/target/wearable/root_daemon_list index 414f133..aa564ed 100755 --- a/test/capability_test/list/target/wearable/root_daemon_list +++ b/test/capability_test/list/target/wearable/root_daemon_list @@ -12,10 +12,8 @@ systemd-udevd.service,systemd tlm.service,systemd user@.service,systemd wifi-direct-manager.service,systemd -app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd diff --git a/test/capability_test/list/target/wearable/root_daemon_list.stable b/test/capability_test/list/target/wearable/root_daemon_list.stable index 414f133..aa564ed 100755 --- a/test/capability_test/list/target/wearable/root_daemon_list.stable +++ b/test/capability_test/list/target/wearable/root_daemon_list.stable @@ -12,10 +12,8 @@ systemd-udevd.service,systemd tlm.service,systemd user@.service,systemd wifi-direct-manager.service,systemd -app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd diff --git a/test/root_test/list/emul/mobile/exception_list b/test/root_test/list/emul/mobile/exception_list index e69de29..25ca773 100755 --- a/test/root_test/list/emul/mobile/exception_list +++ b/test/root_test/list/emul/mobile/exception_list @@ -0,0 +1,5 @@ +__user@.service,systemd,NEED_TO_CHECK +krate.service,systemd,NEED_TO_CHECK +lazy_mount.service,systemd,NEED_TO_CHECK +usb-host-ffs-test-daemon.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/emul/mobile/exception_list.stable b/test/root_test/list/emul/mobile/exception_list.stable index e69de29..25ca773 100755 --- a/test/root_test/list/emul/mobile/exception_list.stable +++ b/test/root_test/list/emul/mobile/exception_list.stable @@ -0,0 +1,5 @@ +__user@.service,systemd,NEED_TO_CHECK +krate.service,systemd,NEED_TO_CHECK +lazy_mount.service,systemd,NEED_TO_CHECK +usb-host-ffs-test-daemon.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/emul/mobile/non_root_list b/test/root_test/list/emul/mobile/non_root_list index 8602f29..2f397b7 100755 --- a/test/root_test/list/emul/mobile/non_root_list +++ b/test/root_test/list/emul/mobile/non_root_list @@ -11,7 +11,8 @@ cert-server.service,systemd,security_fw,security_fw csr.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -37,5 +38,6 @@ org.tizen.dummyasm.service,dbus,service_fw,service_fw org.tizen.system.popup.service,dbus,system_fw,system_fw org.tizen.NetNfcService.service,dbus,network_fw,network_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw diff --git a/test/root_test/list/emul/mobile/non_root_list.stable b/test/root_test/list/emul/mobile/non_root_list.stable index 8602f29..2f397b7 100755 --- a/test/root_test/list/emul/mobile/non_root_list.stable +++ b/test/root_test/list/emul/mobile/non_root_list.stable @@ -11,7 +11,8 @@ cert-server.service,systemd,security_fw,security_fw csr.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -37,5 +38,6 @@ org.tizen.dummyasm.service,dbus,service_fw,service_fw org.tizen.system.popup.service,dbus,system_fw,system_fw org.tizen.NetNfcService.service,dbus,network_fw,network_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw diff --git a/test/root_test/list/emul/mobile/root_daemon_list b/test/root_test/list/emul/mobile/root_daemon_list index 64d6fd2..a42c95e 100755 --- a/test/root_test/list/emul/mobile/root_daemon_list +++ b/test/root_test/list/emul/mobile/root_daemon_list @@ -25,7 +25,6 @@ app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd nether.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd diff --git a/test/root_test/list/emul/mobile/root_daemon_list.stable b/test/root_test/list/emul/mobile/root_daemon_list.stable index 64d6fd2..d54e5ed 100755 --- a/test/root_test/list/emul/mobile/root_daemon_list.stable +++ b/test/root_test/list/emul/mobile/root_daemon_list.stable @@ -25,8 +25,11 @@ app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd nether.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd gumd.service,systemd +__user@.service,systemd +krate.service,systemd +lazy_mount.service,systemd +usb-host-ffs-test-daemon.service,systemd diff --git a/test/root_test/list/emul/wearable/exception_list b/test/root_test/list/emul/wearable/exception_list index e69de29..706c751 100755 --- a/test/root_test/list/emul/wearable/exception_list +++ b/test/root_test/list/emul/wearable/exception_list @@ -0,0 +1,2 @@ +__user@.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/emul/wearable/exception_list.stable b/test/root_test/list/emul/wearable/exception_list.stable index e69de29..706c751 100755 --- a/test/root_test/list/emul/wearable/exception_list.stable +++ b/test/root_test/list/emul/wearable/exception_list.stable @@ -0,0 +1,2 @@ +__user@.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/emul/wearable/non_root_list b/test/root_test/list/emul/wearable/non_root_list index cdd09fc..c864e87 100755 --- a/test/root_test/list/emul/wearable/non_root_list +++ b/test/root_test/list/emul/wearable/non_root_list @@ -8,7 +8,8 @@ cert-server.service,systemd,security_fw,security_fw csr.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -32,5 +33,6 @@ org.tizen.system.popup.service,dbus,system_fw,system_fw nfc-manager.service,systemd,network_fw,network_fw org.tizen.NetNfcService.service,dbus,network_fw,network_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw diff --git a/test/root_test/list/emul/wearable/non_root_list.stable b/test/root_test/list/emul/wearable/non_root_list.stable index cdd09fc..c864e87 100755 --- a/test/root_test/list/emul/wearable/non_root_list.stable +++ b/test/root_test/list/emul/wearable/non_root_list.stable @@ -8,7 +8,8 @@ cert-server.service,systemd,security_fw,security_fw csr.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -32,5 +33,6 @@ org.tizen.system.popup.service,dbus,system_fw,system_fw nfc-manager.service,systemd,network_fw,network_fw org.tizen.NetNfcService.service,dbus,network_fw,network_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw diff --git a/test/root_test/list/emul/wearable/root_daemon_list b/test/root_test/list/emul/wearable/root_daemon_list index 7032154..e0ca906 100755 --- a/test/root_test/list/emul/wearable/root_daemon_list +++ b/test/root_test/list/emul/wearable/root_daemon_list @@ -24,7 +24,6 @@ net.netconfig.service,dbus connman-vpn.service,systemd mobileap-agent.service,systemd app2sd-server.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd diff --git a/test/root_test/list/emul/wearable/root_daemon_list.stable b/test/root_test/list/emul/wearable/root_daemon_list.stable index 7032154..ecc7cfd 100755 --- a/test/root_test/list/emul/wearable/root_daemon_list.stable +++ b/test/root_test/list/emul/wearable/root_daemon_list.stable @@ -24,8 +24,8 @@ net.netconfig.service,dbus connman-vpn.service,systemd mobileap-agent.service,systemd app2sd-server.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd emuld.service,systemd vmodem-x86.service,systemd gumd.service,systemd +__user@.service,systemd diff --git a/test/root_test/list/target/mobile/exception_list b/test/root_test/list/target/mobile/exception_list index 8b13789..25ca773 100755 --- a/test/root_test/list/target/mobile/exception_list +++ b/test/root_test/list/target/mobile/exception_list @@ -1 +1,5 @@ - +__user@.service,systemd,NEED_TO_CHECK +krate.service,systemd,NEED_TO_CHECK +lazy_mount.service,systemd,NEED_TO_CHECK +usb-host-ffs-test-daemon.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/target/mobile/exception_list.stable b/test/root_test/list/target/mobile/exception_list.stable index 8b13789..25ca773 100755 --- a/test/root_test/list/target/mobile/exception_list.stable +++ b/test/root_test/list/target/mobile/exception_list.stable @@ -1 +1,5 @@ - +__user@.service,systemd,NEED_TO_CHECK +krate.service,systemd,NEED_TO_CHECK +lazy_mount.service,systemd,NEED_TO_CHECK +usb-host-ffs-test-daemon.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/target/mobile/non_root_list b/test/root_test/list/target/mobile/non_root_list index 1c83ed5..67a242d 100755 --- a/test/root_test/list/target/mobile/non_root_list +++ b/test/root_test/list/target/mobile/non_root_list @@ -11,7 +11,8 @@ cert-server.service,systemd,security_fw,security_fw csr.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -38,5 +39,7 @@ org.tizen.fido.service,dbus,service_fw,service_fw org.tizen.dummyasm.service,dbus,service_fw,service_fw org.tizen.system.popup.service,dbus,system_fw,system_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw +pushd.service,systemd,service_fw,service_fw diff --git a/test/root_test/list/target/mobile/non_root_list.stable b/test/root_test/list/target/mobile/non_root_list.stable index 1c83ed5..67a242d 100755 --- a/test/root_test/list/target/mobile/non_root_list.stable +++ b/test/root_test/list/target/mobile/non_root_list.stable @@ -11,7 +11,8 @@ cert-server.service,systemd,security_fw,security_fw csr.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -38,5 +39,7 @@ org.tizen.fido.service,dbus,service_fw,service_fw org.tizen.dummyasm.service,dbus,service_fw,service_fw org.tizen.system.popup.service,dbus,system_fw,system_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw +pushd.service,systemd,service_fw,service_fw diff --git a/test/root_test/list/target/mobile/root_daemon_list b/test/root_test/list/target/mobile/root_daemon_list index 02c834b..443017a 100755 --- a/test/root_test/list/target/mobile/root_daemon_list +++ b/test/root_test/list/target/mobile/root_daemon_list @@ -29,7 +29,6 @@ app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd wifi-direct-manager.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd diff --git a/test/root_test/list/target/mobile/root_daemon_list.stable b/test/root_test/list/target/mobile/root_daemon_list.stable index 02c834b..7634646 100755 --- a/test/root_test/list/target/mobile/root_daemon_list.stable +++ b/test/root_test/list/target/mobile/root_daemon_list.stable @@ -29,7 +29,10 @@ app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd wifi-direct-manager.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd +__user@.service,systemd +krate.service,systemd +lazy_mount.service,systemd +usb-host-ffs-test-daemon.service,systemd diff --git a/test/root_test/list/target/wearable/exception_list b/test/root_test/list/target/wearable/exception_list index 8b13789..706c751 100755 --- a/test/root_test/list/target/wearable/exception_list +++ b/test/root_test/list/target/wearable/exception_list @@ -1 +1,2 @@ - +__user@.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/target/wearable/exception_list.stable b/test/root_test/list/target/wearable/exception_list.stable index 8b13789..706c751 100755 --- a/test/root_test/list/target/wearable/exception_list.stable +++ b/test/root_test/list/target/wearable/exception_list.stable @@ -1 +1,2 @@ - +__user@.service,systemd,NEED_TO_CHECK +dlog_logger.service,systemd,ID_DEFINED_IN_CODE,log,log diff --git a/test/root_test/list/target/wearable/non_root_list b/test/root_test/list/target/wearable/non_root_list index 99a01a2..25cf3aa 100755 --- a/test/root_test/list/target/wearable/non_root_list +++ b/test/root_test/list/target/wearable/non_root_list @@ -8,7 +8,8 @@ cert-server.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara csr.service,systemd,security_fw,security_fw data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -34,5 +35,7 @@ org.tizen.dummyasm.service,dbus,service_fw,service_fw org.tizen.system.popup.service,dbus,system_fw,system_fw org.tizen.NetNfcService.service,dbus,network_fw,network_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw +pushd.service,systemd,service_fw,service_fw diff --git a/test/root_test/list/target/wearable/non_root_list.stable b/test/root_test/list/target/wearable/non_root_list.stable index 99a01a2..25cf3aa 100755 --- a/test/root_test/list/target/wearable/non_root_list.stable +++ b/test/root_test/list/target/wearable/non_root_list.stable @@ -8,7 +8,8 @@ cert-server.service,systemd,security_fw,security_fw cynara.service,systemd,cynara,cynara csr.service,systemd,security_fw,security_fw data-provider-master.service,systemd,app_fw,app_fw -dbus.service,systemd,USER,USER +dbus.service,systemd,dbus,dbus +deviced-vibrator.service,systemd,system_fw,system_fw dlog_logger.service,systemd,log,log download-provider.service,systemd,web_fw,web_fw esd.service,systemd,app_fw,app_fw @@ -34,5 +35,7 @@ org.tizen.dummyasm.service,dbus,service_fw,service_fw org.tizen.system.popup.service,dbus,system_fw,system_fw org.tizen.NetNfcService.service,dbus,network_fw,network_fw org.tizen.lbs.Providers.LbsServer.service,dbus,location,location +org.tizen.SoundServer.service,dbus,multimedia_fw,multimedia_fw package-manager.service,systemd,app_fw,app_fw pkgdir-tool.service,systemd,app_fw,app_fw +pushd.service,systemd,service_fw,service_fw diff --git a/test/root_test/list/target/wearable/root_daemon_list b/test/root_test/list/target/wearable/root_daemon_list index 7246abc..2ca848a 100755 --- a/test/root_test/list/target/wearable/root_daemon_list +++ b/test/root_test/list/target/wearable/root_daemon_list @@ -26,7 +26,6 @@ app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd wifi-direct-manager.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd diff --git a/test/root_test/list/target/wearable/root_daemon_list.stable b/test/root_test/list/target/wearable/root_daemon_list.stable index 7246abc..0c2ad73 100755 --- a/test/root_test/list/target/wearable/root_daemon_list.stable +++ b/test/root_test/list/target/wearable/root_daemon_list.stable @@ -26,7 +26,7 @@ app2sd-server.service,systemd connman-vpn.service,systemd mobileap-agent.service,systemd wifi-direct-manager.service,systemd -deviced-vibrator.service,systemd sdbd.service,systemd sdbd_tcp.service,systemd gumd.service,systemd +__user@.service,systemd diff --git a/test/root_test/root_minimization.sh b/test/root_test/root_minimization.sh index 7619600..27c9e2b 100755 --- a/test/root_test/root_minimization.sh +++ b/test/root_test/root_minimization.sh @@ -228,6 +228,20 @@ checkWhetherNewRoot(){ service_path="$DBUS_PATH/$1" fi + for line in $(/bin/cat $EXCEPTION_LIST) + do + # awk filters 1st value from "," e.g alarm-server.service,systemd + service_name=`/bin/echo $line | /usr/bin/awk -F "," '{print $1}'` + exception_case=`/bin/echo $line | /usr/bin/awk -F "," '{print $3}'` + if [ $1 = $service_name ]; then + if [ "$exception_case" = "NEED_TO_CHECK" ]; then + /bin/echo "## [EXCEPTION] $service_path should be checked why it needs to be root" + /bin/echo "=======================================================================" + return 0 + fi + fi + done + for line in $(/bin/cat $service_path) do if [[ "${line}" == *User=* ]];