diff options
Diffstat (limited to 'tests/WgetTests.pm')
-rw-r--r-- | tests/WgetTests.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/WgetTests.pm b/tests/WgetTests.pm index 34253b1..8b8f7f0 100644 --- a/tests/WgetTests.pm +++ b/tests/WgetTests.pm @@ -13,7 +13,7 @@ use IO::Handle; use POSIX qw(locale_h); use locale; -our $WGETPATH = '../src/wget'; +our $WGETPATH = '../src/wget --no-config'; our $VALGRIND_SUPP_FILE = Cwd::getcwd(); if (defined $ENV{'srcdir'}) { $VALGRIND_SUPP_FILE = $VALGRIND_SUPP_FILE @@ -359,8 +359,9 @@ sub _verify_download ); if (@unexpected_downloads) { - return 'Test failed: unexpected downloaded files [' . join ', ', - @unexpected_downloads . "]\n"; + return 'Test failed: unexpected downloaded files [' . + (join ', ', @unexpected_downloads) . "]\n"; + } return q{}; |