mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Try to fix test_checkdir windows compilation more
This commit is contained in:
parent
bb54d008c2
commit
4ae729683d
@ -70,6 +70,7 @@ test_checkdir_perms(void *testdata)
|
|||||||
testdir = get_datadir_fname("checkdir_exists_none");
|
testdir = get_datadir_fname("checkdir_exists_none");
|
||||||
cpd_chkopts = CPD_CREATE;
|
cpd_chkopts = CPD_CREATE;
|
||||||
unix_create_opts = 0700;
|
unix_create_opts = 0700;
|
||||||
|
(void)unix_create_opts;
|
||||||
unix_verify_optsmask = 0077;
|
unix_verify_optsmask = 0077;
|
||||||
tt_int_op(0, ==, mkdir(testdir, unix_create_opts));
|
tt_int_op(0, ==, mkdir(testdir, unix_create_opts));
|
||||||
tt_int_op(0, ==, check_private_dir(testdir, cpd_chkopts, NULL));
|
tt_int_op(0, ==, check_private_dir(testdir, cpd_chkopts, NULL));
|
||||||
|
Loading…
Reference in New Issue
Block a user