Skip to content
Snippets Groups Projects
Commit 60c7da71 authored by David Goulet's avatar David Goulet :panda_face:
Browse files

test: Fix hs common test for Windows


Use the PATH_SEPARATOR for a path comparaison so it works with Windows as
well.

Partially fix #23223

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 5ec91a3d
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ static int ...@@ -78,7 +78,7 @@ static int
mock_write_str_to_file(const char *path, const char *str, int bin) mock_write_str_to_file(const char *path, const char *str, int bin)
{ {
(void)bin; (void)bin;
tt_str_op(path, OP_EQ, "/double/five/squared"); tt_str_op(path, OP_EQ, "/double/five"PATH_SEPARATOR"squared");
tt_str_op(str, OP_EQ, tt_str_op(str, OP_EQ,
"ijbeeqscijbeeqscijbeeqscijbeeqscijbeeqscijbeeqscijbezhid.onion\n"); "ijbeeqscijbeeqscijbeeqscijbeeqscijbeeqscijbeeqscijbezhid.onion\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment