* 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:
@ -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,
|
||||
|
||||
0
src/tests/testdir/tmp/dummy
Normal file
0
src/tests/testdir/tmp/dummy
Normal file
Reference in New Issue
Block a user