Browse Source

test_checkdir.c: Perhaps this is what will make this test pass on windows?

Nick Mathewson 9 years ago
parent
commit
5b1971c7f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_checkdir.c

+ 1 - 1
src/test/test_checkdir.c

@@ -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. */