#!/bin/sh
setup() {
echo "setup start"
+ if [ -d "conf_example" ]; then
+ rm -rf ./conf_example
+ rm -rf ./tests
+ fi
+ ln -s /usr/bin/sys-settings/tests ./tests
+ ln -s /usr/bin/sys-settings/conf_example ./conf_example
}
test_main() {
teardown() {
echo "teardown start"
+ rm -rf ./tests
+ rm -rf ./conf_example
}
main() {
%files unittests
%manifest %{name}.manifest
%{sys_setting_test_dir}/*
+%{_libdir}/libsys-settings-mock.so
%{_bindir}/tizen-unittests/%{name}/run-unittest.sh
%license LICENSE.APLv2