mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
test-path-util: fix botched test
This commit is contained in:
parent
8b3227c90d
commit
590f50130f
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user