diff --git a/t/logger_test.c b/t/logger_test.c index 70090dc..12139e8 100644 --- a/t/logger_test.c +++ b/t/logger_test.c @@ -25,25 +25,25 @@ int main() // test full file definition logger = _config_init(&root); - logger_parse("FILE:0644:/tmp/schaufel_logtest",logger); + logger_parse("FILE:0644:./schaufel_logtest",logger); pretty_assert(logger_validate(logger) == true); logger = config_lookup(&root,"logger"); logger_init(logger); logger_log("testmessage file 1"); // We can't actually compare mode because // umask might influence result - unlink("/tmp/schaufel_logtest"); + unlink("./schaufel_logtest"); logger_free(); // test file logger = _config_init(&root); - logger_parse("/tmp/schaufel_logtest2",logger); + logger_parse("./schaufel_logtest2",logger); pretty_assert(logger_validate(logger) == true); logger = config_lookup(&root,"logger"); logger_init(logger); logger_log("testmessage file 2"); - unlink("/tmp/schaufel_logtest2"); + unlink("./schaufel_logtest2"); logger_free(); // stderr (not a test)