diff options
author | Yves-Alexis Perez <corsac@corsac.net> | 2017-09-01 17:21:25 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@corsac.net> | 2017-09-01 17:21:25 +0200 |
commit | 11d6b62db969bdd808d0f56706cb18f113927a31 (patch) | |
tree | 8aa7d8fb611c3da6a3523cb78a082f62ffd0dac8 /src/libstrongswan/tests/suites | |
parent | bba25e2ff6c4a193acb54560ea4417537bd2954e (diff) | |
download | vyos-strongswan-11d6b62db969bdd808d0f56706cb18f113927a31.tar.gz vyos-strongswan-11d6b62db969bdd808d0f56706cb18f113927a31.zip |
New upstream version 5.6.0
Diffstat (limited to 'src/libstrongswan/tests/suites')
-rw-r--r-- | src/libstrongswan/tests/suites/test_settings.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libstrongswan/tests/suites/test_settings.c b/src/libstrongswan/tests/suites/test_settings.c index 5ddd0bb9a..9d0a6dea1 100644 --- a/src/libstrongswan/tests/suites/test_settings.c +++ b/src/libstrongswan/tests/suites/test_settings.c @@ -549,10 +549,14 @@ END_TEST #ifdef WIN32 # define include1 "C:\\Windows\\Temp\\strongswan-settings-test-include1" +# define include1_str "C:\\\\Windows\\\\Temp\\\\strongswan-settings-test-include1" # define include2 "C:\\Windows\\Temp\\strongswan-settings-test-include2" +# define include2_str "C:\\\\Windows\\\\Temp\\\\strongswan-settings-test-include2" #else # define include1 "/tmp/strongswan-settings-test-include1" +# define include1_str include1 # define include2 "/tmp/strongswan-settings-test-include2" +# define include2_str include2 #endif static char *include_content1 = @@ -638,10 +642,10 @@ START_TEST(test_include_string) " include this/does/not/exist.conf\n" " include = value\n" " key2 = value2\n" - " include \"" include2 "\"\n" + " include \"" include2_str "\"\n" " }\n" "}\n" - "include \"" include1 "\""); + "include \"" include1_str "\""); create_settings(contents); verify_include(); |