1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/selftest/test_samba3dump.sh
Jelmer Vernooij 77b72d4c8e samba3dump: Add subunit-enabled test for samba3dump.
Change-Id: Ie9682c715fc91d923dcd1951236f8b36fa519327
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-10-14 06:44:07 +02:00

15 lines
292 B
Bash
Executable File

#!/bin/sh
# Verify that samba3dump completes.
. lib/subunit/shell/share/subunit.sh
subunit_start_test samba3dump
SRCDIR=`dirname $0`/../..
if $SRCDIR/source4/scripting/bin/samba3dump $SRCDIR/testdata/samba3; then
subunit_pass_test samba3dump
else
echo | subunit_fail_test samba3dump
fi