XDG_CONFIG_HOME=%PWD/%LOGDIR
HOME
CURL_HOME
+# set the terminal wide to avoid word wrap in the message
+COLUMNS=300
</setenv>
<name>
Verify XDG_CONFIG_HOME use to find curlrc
</name>
-# set the terminal wide to avoid word wrap in the message
-<setenv>
-COLUMNS=300
-</setenv>
<command option="no-q">
%HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter
</command>
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';