瀏覽代碼

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

Nick Mathewson 10 年之前
父節點
當前提交
5b1971c7f3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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. */