* fix test-mu-maildir unit test for running as root

This commit is contained in:
djcb 2012-11-08 22:31:51 +02:00
parent 89c78d6767
commit 8e60018176
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ test_mu_maildir_mkdir_04 (void)
/* this should fail now, because cur is not read/writable */
g_assert_cmpuint (mu_maildir_mkdir (mdir, 0755, FALSE, NULL),
==, FALSE);
==, (geteuid()==0 ? TRUE : FALSE));
g_free (tmpdir);
g_free (mdir);
}