/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to contrib/fortune

  • Committer: Vincent Ladeuil
  • Date: 2009-04-08 19:06:40 UTC
  • mto: (4276.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4277.
  • Revision ID: v.ladeuil+lp@free.fr-20090408190640-ra8frcx4hj55qj02
Fix failure, add tests.

* bzrlib/tests/test_selftest.py:
(TestTestResult.test_startTests.InstrumentedTestResult): Check
that startTests is called once.
(TestRunSuite.test_runner_class): Check that
ExtendedTestResult.done() is called once.

* bzrlib/tests/blackbox/test_selftest.py:
(TestBenchmarkTests.test_benchmark_runs_benchmark_tests): Output
order has changed.

* bzrlib/tests/__init__.py:
(run_suite): At least subunit.TestProtocolClient doesn't define
done().

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# Put this on your $BZRPATH to use it to demonstrate bzr external plugins
 
4
 
 
5
 
 
6
if [ x$1 == x--bzr-usage ]
 
7
then
 
8
    # options
 
9
    echo ""
 
10
    # arguments
 
11
    echo ""
 
12
    exit 0
 
13
elif [ x$1 == x--bzr-help ]
 
14
then
 
15
    echo "display a fortune cookie"
 
16
    echo 
 
17
    exit 0
 
18
else
 
19
    /usr/games/fortune
 
20
fi