summaryrefslogtreecommitdiff
path: root/test/bbackupd/testfiles/extcheck1.pl.in
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-01-23 20:14:37 +0000
committerChris Wilson <chris+github@qwirx.com>2008-01-23 20:14:37 +0000
commite7469fe7c509ff484ddd1d0f884c4ba6d1c6041c (patch)
tree3eee06e7bd7db9ca4f1ea4b8c862a377a2c1d137 /test/bbackupd/testfiles/extcheck1.pl.in
parentb70df10f8b5b9e4d7efb4f0c9afcaaccf6138b76 (diff)
Ignore terminal type error messages from bbackupquery, may happen
in Debian buildds.
Diffstat (limited to 'test/bbackupd/testfiles/extcheck1.pl.in')
-rwxr-xr-xtest/bbackupd/testfiles/extcheck1.pl.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/bbackupd/testfiles/extcheck1.pl.in b/test/bbackupd/testfiles/extcheck1.pl.in
index 2a7c0e9a..4d0f2157 100755
--- a/test/bbackupd/testfiles/extcheck1.pl.in
+++ b/test/bbackupd/testfiles/extcheck1.pl.in
@@ -15,7 +15,9 @@ my $seen = 0;
while(<IN>)
{
next unless m/\S/;
- if(m/continousupdate/)
+ print "READ: $_";
+
+ if (m/continousupdate/)
{
unless (/exists/)
{
@@ -24,6 +26,12 @@ while(<IN>)
}
$seen = 1;
}
+ 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/
@@ -33,7 +41,6 @@ while(<IN>)
$ret = 2;
}
}
- print "READ: $_";
}
close IN;