mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Merge remote-tracking branch 'dgoulet/sr-test-fix'
This commit is contained in:
commit
dfa41ac0f3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user