* unbreak the unit tests for git checkouts

the git version was broken because git doesn't accept empty dirs;
  added tmp/dummy to fix this.
This commit is contained in:
djcb
2010-08-14 15:19:08 +03:00
parent f09b1e08d8
commit 488fef2d04
2 changed files with 6 additions and 1 deletions

View File

@ -159,6 +159,9 @@ dir_cb (const char *fullpath, gboolean enter, WalkData *data)
else
++data->_dir_left;
/* g_print ("%s: %s: %s\n", __FUNCTION__, enter ? "entering" : "leaving", */
/* fullpath); */
return MU_OK;
}
@ -182,6 +185,8 @@ test_mu_maildir_walk_01 (void)
tmpdir = copy_test_data ();
memset (&data, 0, sizeof(WalkData));
/* g_print ("tmpdir: %s\n", tmpdir); */
rv = mu_maildir_walk (tmpdir,
(MuMaildirWalkMsgCallback)msg_cb,
(MuMaildirWalkDirCallback)dir_cb,

View File