diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-08-01 17:48:29 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-08-03 18:11:55 +0200 |
commit | ab060556a9e1ebb2744719a29985e40919101a22 (patch) | |
tree | 66fa53b6d64c16976f355597e52c668f7930bebd | |
parent | c672070ca9efac4df2e345d202e8061faa03cd86 (diff) |
test: allow deletion of temporary files from normal fs
Not everybody has /tmp on tmpfs, and this was breaking 'make check'.
-rw-r--r-- | src/journal/test-journal-stream.c | 2 | ||||
-rw-r--r-- | src/journal/test-journal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/test-journal-stream.c b/src/journal/test-journal-stream.c index 627faa7eb5..fd448cb1ef 100644 --- a/src/journal/test-journal-stream.c +++ b/src/journal/test-journal-stream.c @@ -163,7 +163,7 @@ int main(int argc, char *argv[]) { sd_journal_close(j); - assert_se(rm_rf(t, false, true, false) >= 0); + assert_se(rm_rf_dangerous(t, false, true, false) >= 0); return 0; } diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c index 7271a3facb..ca3b4741f5 100644 --- a/src/journal/test-journal.c +++ b/src/journal/test-journal.c @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) { log_error("Exiting..."); - assert_se(rm_rf(t, false, true, false) >= 0); + assert_se(rm_rf_dangerous(t, false, true, false) >= 0); return 0; } |