diff options
author | Reinhard Tartler <siretart@tauware.de> | 2009-04-02 13:58:11 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2009-04-02 13:58:11 +0200 |
commit | a84d45498bd861c9225080232948a99c2e317bb8 (patch) | |
tree | 8f1f5fb7bf7ffbf6f24cf4a4fd6888a235dbcc08 /runtest.pl.in | |
parent | 25db897553a0db0f912602b375029e724f51556e (diff) |
Import upstream version 0.11~rc3~r2491
Diffstat (limited to 'runtest.pl.in')
-rwxr-xr-x | runtest.pl.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/runtest.pl.in b/runtest.pl.in index 0d4381a6..42407378 100755 --- a/runtest.pl.in +++ b/runtest.pl.in @@ -71,6 +71,26 @@ else # report results print "--------\n",join("\n",@results),"\n"; +if ($exit_code != 0) +{ + print <<__E; + +One or more tests have failed. Please check the following common causes: + +* Check that no instances of bbstored or bbackupd are already running + on this machine. +* Make sure there isn't a firewall blocking incoming or outgoing connections + on port 2201. +* Check that there is sufficient space in the filesystem that the tests + are being run from (at least 1 GB free). +* The backupdiff test fails if it takes too long, so it's sensitive to + the speed of the host and your connection to it. + +After checking all the above, if you still have problems please contact +us on the mailing list, boxbackup\@boxbackup.org. Thanks! +__E +} + exit $exit_code; sub runtest @@ -104,6 +124,7 @@ sub runtest close RESULTS; chomp $last; + $last =~ s/\r//; push @results, "$t: $last"; if ($last ne "PASSED") |