aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_storagedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_storagedir.c b/src/test/test_storagedir.c
index 6678629df6..e7e3da67eb 100644
--- a/src/test/test_storagedir.c
+++ b/src/test/test_storagedir.c
@@ -220,7 +220,7 @@ test_storagedir_cleaning(void *arg)
time_t now = time(NULL);
struct utimbuf ub;
ub.actime = now;
- ub.modtime -= 1000;
+ ub.modtime = now - 1000;
for (i = 0; i < 8; ++i) {
char *f = NULL;
tor_asprintf(&f, "%s/%s", dirname, fns[i]);