s3:smb2_server: don't reset the tid and session id in the out hdr of compound requests
[Samba.git] / source3 / script / tests / test_success.sh
blob09e7264536dc36b5a018b395e91ad09830efd908
1 #!/bin/sh
3 # Blackbox test that should simply succeed.
5 # Copyright (C) 2011 Michael Adam <obnox@samba.org>
7 # include the blackbox subunit infrastructure
8 # if not run from classical s3 test script:
9 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
10 incdir=`dirname $0`/../../../testprogs/blackbox
11 . $incdir/subunit.sh
14 failed=0
16 test_success()
18 true
21 testit "success" \
22 test_success || \
23 failed=`expr $failed + 1`
25 testok $0 $failed