diff options
author | Slávek Banko <[email protected]> | 2017-02-01 01:57:20 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-02-01 01:57:58 +0100 |
commit | 7502543922ab40b45c5bd47034995f15bc76c757 (patch) | |
tree | d49400a69669dcbaf25af04607c6316bb13a8464 /tdeio | |
parent | b9d5e48086a0597e946bbae4c7dd6bfb5b8e60ea (diff) | |
download | tdelibs-7502543922ab40b45c5bd47034995f15bc76c757.tar.gz tdelibs-7502543922ab40b45c5bd47034995f15bc76c757.zip |
testing: Run tests that use DCOP in a temporary home
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit df203a23f4d96fae5fbc61bb180c4db8f63e63ae)
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tests/kmimetypetest.sh.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeio/tests/kmimetypetest.sh.cmake b/tdeio/tests/kmimetypetest.sh.cmake index a242b8dc5..3bcd98669 100644 --- a/tdeio/tests/kmimetypetest.sh.cmake +++ b/tdeio/tests/kmimetypetest.sh.cmake @@ -1,10 +1,10 @@ #!/bin/sh -# create profile for test -TDEHOME=@CMAKE_CURRENT_BINARY_DIR@/profile -mkdir $TDEHOME $TDEHOME/share -ln -s @CMAKE_SOURCE_DIR@/mimetypes $TDEHOME/share/mimelnk -export TDEHOME +# create temporary home +HOME=@CMAKE_CURRENT_BINARY_DIR@/test-home +mkdir $HOME $HOME/.trinity $HOME/.trinity/share +ln -s @CMAKE_SOURCE_DIR@/mimetypes $HOME/.trinity/share/mimelnk +export HOME # run dcop server ../../dcop/dcopserver --nofork & @@ -19,5 +19,5 @@ STATE=$? # cleanup kill $DCOP_SERVER_PID -rm -fr $TDEHOME +rm -fr test-home exit $STATE |