source: vendor/current/source3/script/tests/test_success.sh@ 740

Last change on this file since 740 was 740, checked in by Silvan Scherrer, 12 years ago

Samba Server: update vendor to 3.6.0

File size: 469 bytes
Line 
1#!/bin/sh
2#
3# Blackbox test that should simply succeed.
4#
5# Copyright (C) 2011 Michael Adam <obnox@samba.org>
6
7# include the blackbox subunit infrastructure
8# if not run from classical s3 test script:
9test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
10 incdir=`dirname $0`/../../../testprogs/blackbox
11 . $incdir/subunit.sh
12}
13
14failed=0
15
16test_success()
17{
18 true
19}
20
21testit "success" \
22 test_success || \
23 failed=`expr $failed + 1`
24
25testok $0 $failed
26
Note: See TracBrowser for help on using the repository browser.