diff options
author | teor <teor@torproject.org> | 2019-04-02 11:46:42 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-04-02 11:46:42 +1000 |
commit | 583ed7c6ecde0c95184586d581f2cb1ac78e8c39 (patch) | |
tree | 6f4e7670ece58aa2e8f74fd67cd7771421ff7db5 /src/test | |
parent | 9014add25fd7bf4fa83e4409ab5d7b4416c872cc (diff) | |
parent | a7bc47532b1e3d7db89fe9fe4521306fd6170617 (diff) | |
download | tor-583ed7c6ecde0c95184586d581f2cb1ac78e8c39.tar.gz tor-583ed7c6ecde0c95184586d581f2cb1ac78e8c39.zip |
Merge remote-tracking branch 'tor-github/pr/864'
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_routerkeys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_routerkeys.c b/src/test/test_routerkeys.c index 727fa5660f..102d9334a1 100644 --- a/src/test/test_routerkeys.c +++ b/src/test/test_routerkeys.c @@ -455,11 +455,11 @@ test_routerkeys_ed_keys_init_all(void *arg) options->TestingLinkKeySlop = 2*3600; #ifdef _WIN32 - mkdir(dir); - mkdir(keydir); + tt_int_op(0, OP_EQ, mkdir(dir)); + tt_int_op(0, OP_EQ, mkdir(keydir)); #else - mkdir(dir, 0700); - mkdir(keydir, 0700); + tt_int_op(0, OP_EQ, mkdir(dir, 0700)); + tt_int_op(0, OP_EQ, mkdir(keydir, 0700)); #endif /* defined(_WIN32) */ options->DataDirectory = dir; |