summaryrefslogtreecommitdiff
path: root/src/test/test-sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-sleep.c')
-rw-r--r--src/test/test-sleep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test-sleep.c b/src/test/test-sleep.c
index 0198d34f19..2ce79f8345 100644
--- a/src/test/test-sleep.c
+++ b/src/test/test-sleep.c
@@ -80,8 +80,7 @@ static void test_sleep(void) {
int main(int argc, char* argv[]) {
int i, r = 0, k;
- log_parse_environment();
- log_open();
+ test_setup_logging(LOG_INFO);
if (getuid() != 0)
log_warning("This program is unlikely to work for unprivileged users");