Changeset 2086


Ignore:
Timestamp:
01/02/2008 00:54:18 (4 years ago)
Author:
chris
Message:

Add help text on test failures, thanks to Stuart Hickinbottom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/runtest.pl.in

    r1907 r2086  
    7272print "--------\n",join("\n",@results),"\n"; 
    7373 
     74if ($exit_code != 0) 
     75{ 
     76        print <<__E; 
     77 
     78One or more tests have failed. Please check the following common causes: 
     79 
     80* Check that no instances of bbstored or bbackupd are already running 
     81  on this machine. 
     82* Make sure there isn't a firewall blocking incoming or outgoing connections 
     83  on port 2201. 
     84* Check that there is sufficient space in the filesystem that the tests 
     85  are being run from (at least 1 GB free). 
     86* The backupdiff test fails if it takes too long, so it's sensitive to 
     87  the speed of the host and your connection to it. 
     88 
     89After checking all the above, if you still have problems please contact 
     90us on the mailing list, boxbackup@fluffy.co.uk. Thanks! 
     91__E 
     92} 
     93 
    7494exit $exit_code; 
    7595 
Note: See TracChangeset for help on using the changeset viewer.