diff options
Diffstat (limited to 'test/bbackupd/testfiles/extcheck1.pl.in')
-rwxr-xr-x | test/bbackupd/testfiles/extcheck1.pl.in | 11 |
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; |