mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 01:44:40 +02:00
20 lines
475 B
Diff
20 lines
475 B
Diff
--- a/lib/dpkg/t/t-file.c
|
|
+++ b/lib/dpkg/t/t-file.c
|
|
@@ -67,7 +67,7 @@ test_file_realpath(void)
|
|
free(path);
|
|
|
|
path = file_realpath("//./..///../././..///..");
|
|
- test_str(path, ==, "/");
|
|
+ test_str(path, ==, "//");
|
|
free(path);
|
|
}
|
|
|
|
@@ -86,7 +87,7 @@ test_file_canonicalize(void)
|
|
free(path);
|
|
|
|
path = file_canonicalize("//./..///../././..///..");
|
|
- test_str(path, ==, "/");
|
|
+ test_str(path, ==, "//");
|
|
free(path);
|
|
|
|
/* Canonicalize filenames that do not exist. */
|