mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
test_checkdir.c: Perhaps this is what will make this test pass on windows?
This commit is contained in:
parent
85a76cd4eb
commit
5b1971c7f3
@ -56,7 +56,7 @@ test_checkdir_perms(void *testdata)
|
|||||||
testdir = get_datadir_fname("checkdir_new_groupok_err");
|
testdir = get_datadir_fname("checkdir_new_groupok_err");
|
||||||
tt_int_op(0, ==, mkdir(testdir, 027));
|
tt_int_op(0, ==, mkdir(testdir, 027));
|
||||||
cpd_chkopts = CPD_CHECK_MODE_ONLY|CPD_CREATE|CPD_GROUP_OK;
|
cpd_chkopts = CPD_CHECK_MODE_ONLY|CPD_CREATE|CPD_GROUP_OK;
|
||||||
tt_int_op(-1, ==, check_private_dir(testdir, cpd_chkopts, NULL));
|
tt_int_op_nowin(-1, ==, check_private_dir(testdir, cpd_chkopts, NULL));
|
||||||
tor_free(testdir);
|
tor_free(testdir);
|
||||||
|
|
||||||
/* test: create new dir, CPD_GROUP_READ option set. */
|
/* test: create new dir, CPD_GROUP_READ option set. */
|
||||||
|
Loading…
Reference in New Issue
Block a user