Misc test coverage improvements

https://bugzilla.gnome.org/show_bug.cgi?id=660849
This commit is contained in:
Matthias Clasen
2011-10-05 01:04:42 -04:00
parent ddbd4acdfb
commit 5fef796126
3 changed files with 10 additions and 1 deletions

View File

@@ -478,6 +478,9 @@ test_mkdir_with_parents (void)
g_print ("checking g_mkdir_with_parents() in cwd: %s", cwd);
test_mkdir_with_parents_1 (cwd);
g_free (cwd);
g_assert (g_mkdir_with_parents (NULL, 0) == -1);
g_assert (errno == EINVAL);
}
static void