From: Andreas Schneider Date: Tue, 6 Sep 2022 06:48:49 +0000 (+0200) Subject: selftest: Remove tailing whitspaces in selftest.pl X-Git-Tag: talloc-2.4.0~1113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08dda9cefdddf6953ac54b282e8b0e434426d1d6;p=thirdparty%2Fsamba.git selftest: Remove tailing whitspaces in selftest.pl Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 75763ef3838..3332de632ad 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -208,7 +208,7 @@ DNS: Target Specific: --socket-wrapper-pcap save traffic to pcap directories - --socket-wrapper-keep-pcap keep all pcap files, not just those for tests that + --socket-wrapper-keep-pcap keep all pcap files, not just those for tests that failed --socket-wrapper enable socket wrapper @@ -464,14 +464,14 @@ sub read_test_regexes($) my ($name) = @_; my @ret = (); open(LF, "<$name") or die("unable to read $name: $!"); - while () { - chomp; + while () { + chomp; next if (/^#/); if (/^(.*?)([ \t]+)\#([\t ]*)(.*?)$/) { push (@ret, [$1, $4]); } else { s/^(.*?)([ \t]+)\#([\t ]*)(.*?)$//; - push (@ret, [$_, undef]); + push (@ret, [$_, undef]); } } close(LF); @@ -981,7 +981,7 @@ $envvarstr next; } - # Generate a file with the individual tests to run, if the + # Generate a file with the individual tests to run, if the # test runner for this test suite supports it. if ($individual_tests and $individual_tests->{$name}) { if ($$_[3]) {