[systemd-commits] src/test
Zbigniew JÄdrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Fri Mar 29 07:49:23 PDT 2013
src/test/test-path-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 590f50130f3d30f660fee6781cf4ba97cba8f627
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Mar 29 10:45:05 2013 -0400
test-path-util: fix botched test
diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c
index 2bca5ef..be686f2 100644
--- a/src/test/test-path-util.c
+++ b/src/test/test-path-util.c
@@ -51,7 +51,7 @@ static void test_path(void) {
assert_se(streq(path_get_file_name("./aa/bb/../file.da."), "file.da."));
assert_se(streq(path_get_file_name("/aa///.file"), ".file"));
assert_se(streq(path_get_file_name("/aa///file..."), "file..."));
- assert_se(streq(path_get_file_name("file.../"), "."));
+ assert_se(streq(path_get_file_name("file.../"), ""));
#define test_parent(x, y) { \
char *z; \
More information about the systemd-commits
mailing list