summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-06-03 23:57:30 +0900
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit19608fbfbab0e48fcda2e1ac60f5b5a689fe3376 (patch)
tree9709342d1760362063d0ea84dace5474e126697d /src/test
parent0809ca2a5a48ba63a3ba0d5d579d897547751c36 (diff)
conf-parse: use path_simplify_and_warn() in config_parse_path()
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-conf-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-conf-parser.c b/src/test/test-conf-parser.c
index 85954e097..b95aa7a22 100644
--- a/src/test/test-conf-parser.c
+++ b/src/test/test-conf-parser.c
@@ -106,6 +106,7 @@ static void test_config_parse_path(void) {
test_config_parse_path_one("/path", "/path");
test_config_parse_path_one("/path//////////", "/path");
test_config_parse_path_one("///path/foo///bar////bar//", "/path/foo/bar/bar");
+ test_config_parse_path_one("/path//./////hogehoge///.", "/path/hogehoge");
test_config_parse_path_one("/path/\xc3\x80", "/path/\xc3\x80");
test_config_parse_path_one("not_absolute/path", NULL);