]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test_checkdir.c: Perhaps this is what will make this test pass on windows?
authorNick Mathewson <nickm@torproject.org>
Fri, 7 Nov 2014 14:28:49 +0000 (09:28 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Nov 2014 14:28:49 +0000 (09:28 -0500)
src/test/test_checkdir.c

index 4bbccfc88be05d4aad811f06e2c9df5e902bad82..bece24e93eb80f88c86d46b8f3c9bbcec8564c24 100644 (file)
@@ -56,7 +56,7 @@ test_checkdir_perms(void *testdata)
   testdir = get_datadir_fname("checkdir_new_groupok_err");
   tt_int_op(0, ==, mkdir(testdir, 027));
   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);
 
   /* test: create new dir, CPD_GROUP_READ option set. */