diff --git a/tests/data/test433 b/tests/data/test433 index 85cf29ee49..1ef5e80445 100644 --- a/tests/data/test433 +++ b/tests/data/test433 @@ -31,14 +31,12 @@ http XDG_CONFIG_HOME=%PWD/%LOGDIR HOME CURL_HOME +# set the terminal wide to avoid word wrap in the message +COLUMNS=300 Verify XDG_CONFIG_HOME use to find curlrc -# set the terminal wide to avoid word wrap in the message - -COLUMNS=300 - %HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter diff --git a/tests/runner.pm b/tests/runner.pm index 7cbc5067e1..230a688bd0 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -665,7 +665,7 @@ sub singletest_setenv { my @setenv = getpart("client", "setenv"); foreach my $s (@setenv) { chomp $s; - if($s =~ /([^=]*)(.*)/) { + if($s !~ /^#/ && $s =~ /([^=]*)(.*)/) { my ($var, $content) = ($1, $2); # remember current setting, to restore it once test runs $oldenv{$var} = $ENV{$var} ? $ENV{$var} : 'notset';