Changeset 2056 for box/trunk/test


Ignore:
Timestamp:
23/01/2008 20:14:37 (4 years ago)
Author:
chris
Message:

Ignore terminal type error messages from bbackupquery, may happen
in Debian buildds.

Location:
box/trunk/test/bbackupd/testfiles
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/test/bbackupd/testfiles/extcheck1.pl.in

    r1789 r2056  
    1616{ 
    1717        next unless m/\S/; 
    18         if(m/continousupdate/) 
     18        print "READ: $_"; 
     19 
     20        if (m/continousupdate/) 
    1921        { 
    2022                unless (/exists/) 
     
    2426                } 
    2527                $seen = 1; 
     28        } 
     29        elsif (m/^No entry for terminal type/ or 
     30                m/^using dumb terminal settings/) 
     31        { 
     32                # skip these lines, may happen in Debian buildd 
     33                # with no terminal. 
    2634        } 
    2735        else 
     
    3442                } 
    3543        } 
    36         print "READ: $_"; 
    3744} 
    3845 
  • box/trunk/test/bbackupd/testfiles/extcheck2.pl.in

    r1789 r2056  
    1515{ 
    1616        next unless m/\S/; 
    17         if(m/continousupdate/) 
     17        print "READ: $_"; 
     18 
     19        if (m/continousupdate/) 
    1820        { 
    1921                unless (m/contents/ or m/attributes/) 
     
    2224                        $ret = 2; 
    2325                } 
     26        } 
     27        elsif (m/^No entry for terminal type/ or 
     28                m/^using dumb terminal settings/) 
     29        { 
     30                # skip these lines, may happen in Debian buildd 
     31                # with no terminal. 
    2432        } 
    2533        else 
     
    3240                } 
    3341        } 
    34  
    35         print "READ: $_"; 
    3642} 
    3743 
Note: See TracChangeset for help on using the changeset viewer.