diff --git a/src/log/test.cc b/src/log/test.cc index 76f7f78e4b7..52fbb284c9c 100644 --- a/src/log/test.cc +++ b/src/log/test.cc @@ -30,7 +30,7 @@ TEST(Log, Simple) Log log(&subs); log.start(); - log.set_log_file("/tmp/foo"); + log.set_log_file("foo"); log.reopen_log_file(); log.set_stderr_level(5, -1); @@ -59,7 +59,7 @@ TEST(Log, ReuseBad) subs.set_gather_level(1, 1); Log log(&subs); log.start(); - log.set_log_file("/tmp/foo"); + log.set_log_file("foo"); log.reopen_log_file(); const int l = 0; @@ -91,7 +91,7 @@ TEST(Log, ManyNoGather) subs.set_gather_level(1, 1); Log log(&subs); log.start(); - log.set_log_file("/tmp/big"); + log.set_log_file("big"); log.reopen_log_file(); for (int i=0; i_log; Log log(&g_ceph_context->_conf->subsys);