mirror of https://github.com/djcb/mu.git
* fix test-mu-maildir unit test for running as root
This commit is contained in:
parent
89c78d6767
commit
8e60018176
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue