summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-05 17:53:13 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-05 17:53:13 -0400
commitdfa41ac0f32729f9d5a731681d826ec3006f6fb5 (patch)
treecd623e12cf15f8681865db4a23cdb92ed2426bd1 /src
parent85c39b647dbd4483da469b029f2273b8d2ae11bd (diff)
parent245c10de074cb61ec75eaee152c51253678039cc (diff)
downloadtor-dfa41ac0f32729f9d5a731681d826ec3006f6fb5.tar.gz
tor-dfa41ac0f32729f9d5a731681d826ec3006f6fb5.zip
Merge remote-tracking branch 'dgoulet/sr-test-fix'
Diffstat (limited to 'src')
-rw-r--r--src/test/test_shared_random.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 4f05e75783..d6787e4f45 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -638,11 +638,7 @@ test_state_load_from_disk(void *arg)
/* Try to load the directory itself. Should fail. */
ret = disk_state_load_from_disk_impl(dir);
-#ifdef _WIN32
- tt_int_op(ret, OP_EQ, -EACCES);
-#else
- tt_int_op(ret, OP_EQ, -EISDIR);
-#endif
+ tt_int_op(ret, OP_LT, 0);
/* State should be non-existent at this point. */
the_sr_state = get_sr_state();