summaryrefslogtreecommitdiff
path: root/test/bbackupd/testfiles/extcheck2.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/bbackupd/testfiles/extcheck2.pl.in')
-rwxr-xr-xtest/bbackupd/testfiles/extcheck2.pl.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/bbackupd/testfiles/extcheck2.pl.in b/test/bbackupd/testfiles/extcheck2.pl.in
index c79bf414..074defc0 100755
--- a/test/bbackupd/testfiles/extcheck2.pl.in
+++ b/test/bbackupd/testfiles/extcheck2.pl.in
@@ -14,7 +14,9 @@ my $ret = 1;
while(<IN>)
{
next unless m/\S/;
- if(m/continousupdate/)
+ print "READ: $_";
+
+ if (m/continousupdate/)
{
unless (m/contents/ or m/attributes/)
{
@@ -22,6 +24,12 @@ while(<IN>)
$ret = 2;
}
}
+ elsif (m/^No entry for terminal type/ or
+ m/^using dumb terminal settings/)
+ {
+ # skip these lines, may happen in Debian buildd
+ # with no terminal.
+ }
else
{
unless (/\AWARNING/ or /\ADifferences/ or /might be reason/
@@ -31,8 +39,6 @@ while(<IN>)
$ret = 2;
}
}
-
- print "READ: $_";
}
close IN;