Permalink
Browse files

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

  • Loading branch information...
1 parent 89c78d6 commit 8e600181763c7694128fa187fdcc8c4561ac474d @djcb committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tests/test-mu-maildir.c
@@ -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);
}

0 comments on commit 8e60018

Please sign in to comment.