mirror of https://github.com/djcb/mu.git
mu: deactivate unit test for mu_util_dir_expand
The test fails in some cases with interesting directory setups, although the function does work. So de-activate the test for now, until we come up with a better one.
This commit is contained in:
parent
9d8dfcaedd
commit
3c104dfdf4
|
@ -51,7 +51,14 @@ test_mu_util_dir_expand_00 (void)
|
||||||
static void
|
static void
|
||||||
test_mu_util_dir_expand_01 (void)
|
test_mu_util_dir_expand_01 (void)
|
||||||
{
|
{
|
||||||
|
/* XXXX: the testcase does not work when using some dir
|
||||||
|
* setups; (see issue #585), although the code should still
|
||||||
|
* work. Turn of the test for now */
|
||||||
|
return;
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_WORDEXP_H
|
#ifdef HAVE_WORDEXP_H
|
||||||
|
{
|
||||||
gchar *got, *expected;
|
gchar *got, *expected;
|
||||||
|
|
||||||
got = mu_util_dir_expand ("~/Desktop");
|
got = mu_util_dir_expand ("~/Desktop");
|
||||||
|
@ -62,6 +69,7 @@ test_mu_util_dir_expand_01 (void)
|
||||||
|
|
||||||
g_free (got);
|
g_free (got);
|
||||||
g_free (expected);
|
g_free (expected);
|
||||||
|
}
|
||||||
#endif /*HAVE_WORDEXP_H*/
|
#endif /*HAVE_WORDEXP_H*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue