libnet: Fix Coverity ID 1634803 Dereference after null check
[samba4-gss.git] / source3 / script / tests / test_success.sh
blob7ba8ddbef5970db73c3d96ed48602b4ed6d42cee
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