diff --git a/tests/Tests.cmake b/tests/Tests.cmake index fc3f650..1614995 100644 --- a/tests/Tests.cmake +++ b/tests/Tests.cmake @@ -27,6 +27,11 @@ target_link_libraries( "-Wl,--wrap=gethostname" "-Wl,--wrap=sethostname" + "-Wl,--wrap=unlink" + "-Wl,--wrap=symlink" + "-Wl,--wrap=sr_apply_changes" + "-Wl,--wrap=sd_bus_open_system" + "-lsystemd" ) -add_test(NAME system_utest COMMAND system_utest) \ No newline at end of file +add_test(NAME system_utest COMMAND system_utest)