From 08dda9cefdddf6953ac54b282e8b0e434426d1d6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Sep 2022 08:48:49 +0200 Subject: [PATCH] selftest: Remove tailing whitspaces in selftest.pl Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- selftest/selftest.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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]) { -- 2.47.3