mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
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 <dgoulet@torproject.org>
This commit is contained in:
parent
5ec91a3d7f
commit
60c7da71ab
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static int
|
|||
mock_write_str_to_file(const char *path, const char *str, int 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,
|
||||
"ijbeeqscijbeeqscijbeeqscijbeeqscijbeeqscijbeeqscijbezhid.onion\n");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue