]> git.proxmox.com Git - libgit2.git/blobdiff - tests/index/tests.c
New upstream version 1.0.0+dfsg.1
[libgit2.git] / tests / index / tests.c
index 4c9deaabaed28abb9678f54a2e46fa8664e0bc44..d9d8371dd50d98497b100c170f69b55af334892f 100644 (file)
@@ -566,8 +566,7 @@ void test_index_tests__cannot_add_invalid_filename(void)
 {
        git_repository *repo;
 
-       p_mkdir("invalid", 0700);
-
+       cl_must_pass(p_mkdir("invalid", 0700));
        cl_git_pass(git_repository_init(&repo, "./invalid", 0));
        cl_must_pass(p_mkdir("./invalid/subdir", 0777));