[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 7/8] serial logs capture: chomp parameters to the perl script
For reasons that aren't clear, perl's glob operator ignores the \n. We can gloss over that for now, but let's chomp it in case they fix that. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- Osstest/Serial/sympathy.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/Serial/sympathy.pm b/Osstest/Serial/sympathy.pm index 0d09576..84a1e09 100644 --- a/Osstest/Serial/sympathy.pm +++ b/Osstest/Serial/sympathy.pm @@ -106,8 +106,8 @@ sub fetch_logs { use strict qw(refs vars); use IO::File; $|=1; - my $started= <DATA>; defined $started or die $!; - my $logpat= <DATA>; defined $logpat or die $!; + my $started= <DATA>; chomp $started or die $!; + my $logpat= <DATA>; chomp $logpat or die $!; my %done; for (;;) { -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |