aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-14 14:28:55 +0100
committerBjörn Gustavsson <[email protected]>2016-03-23 13:28:09 +0100
commitaac691ba81bc13a35328817ff896a6d75598dc2a (patch)
treecce6aae02d66cf9631d43bdb3ad526be9af94d52 /lib
parent1f2a914dfde0e1854db92c9c03c7e754c0bd0761 (diff)
downloadotp-aac691ba81bc13a35328817ff896a6d75598dc2a.tar.gz
otp-aac691ba81bc13a35328817ff896a6d75598dc2a.tar.bz2
otp-aac691ba81bc13a35328817ff896a6d75598dc2a.zip
init_SUITE: Quote pathname that may contain a space
On Windows, the pathname is likely to start with "C:/Program Files".
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/init_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/test/init_SUITE.erl b/lib/kernel/test/init_SUITE.erl
index 0fa97b585c..e85d50bd0c 100644
--- a/lib/kernel/test/init_SUITE.erl
+++ b/lib/kernel/test/init_SUITE.erl
@@ -249,7 +249,8 @@ boot_var(Config) when is_list(Config) ->
{ok, Node} =
start_node(init_test,
"-boot " ++ BootScript ++
- " -boot_var TEST_VAR " ++ TEST_VAR),
+ " -boot_var TEST_VAR \"" ++
+ TEST_VAR ++ "\""),
stop_node(Node),
Res = ok;
_ ->