diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-11 14:42:20 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-11 14:42:20 -0400 |
commit | 60c7da71ab3435e2022dd4f62ac67c09da94db89 (patch) | |
tree | 0a4c996b61166a01a7bc0175df7950356a43e116 /src/test/test_hs_common.c | |
parent | 5ec91a3d7f767ec593fcd4dc9c646010dbd9f215 (diff) | |
download | tor-60c7da71ab3435e2022dd4f62ac67c09da94db89.tar.gz tor-60c7da71ab3435e2022dd4f62ac67c09da94db89.zip |
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>
Diffstat (limited to 'src/test/test_hs_common.c')
-rw-r--r-- | src/test/test_hs_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c index b8b7ab00d2..fce71ef2dd 100644 --- a/src/test/test_hs_common.c +++ b/src/test/test_hs_common.c @@ -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"); |