mirror of https://github.com/djcb/mu.git
* test-mu-util.c: fix test_mu_util_dir_expand_03 for the symlink case
This commit is contained in:
parent
f02bb34188
commit
0d3f1887da
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** Copyright (C) 2008-2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
** Copyright (C) 2008-2012 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify it
|
||||
** under the terms of the GNU General Public License as published by the
|
||||
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "test-mu-common.h"
|
||||
#include "src/mu-util.h"
|
||||
|
@ -67,9 +68,12 @@ static void
|
|||
test_mu_util_dir_expand_03 (void)
|
||||
{
|
||||
gchar *got;
|
||||
gchar curdir[PATH_MAX + 1];
|
||||
|
||||
realpath (ABS_CURDIR, curdir);
|
||||
|
||||
got = mu_util_dir_expand (".");
|
||||
g_assert_cmpstr (got,==,ABS_CURDIR);
|
||||
g_assert_cmpstr (got, ==, curdir);
|
||||
|
||||
g_free (got);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue