Transition to waf 1.8: replaced on_results by update_outputs
[Samba.git] / source3 / script / tests / test_success.sh
blobfe63fb51a9faf79e2bd13f4380c4848528adeaf8
1 #!/bin/sh
3 # Blackbox test that should simply succeed.
5 # Copyright (C) 2011 Michael Adam <obnox@samba.org>
7 incdir=`dirname $0`/../../../testprogs/blackbox
8 . $incdir/subunit.sh
10 failed=0
12 test_success()
14 true
17 testit "success" \
18 test_success || \
19 failed=`expr $failed + 1`
21 testok $0 $failed