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 6ea461fa05 test_samba3dump: Use Samba subunit emitter.
Change-Id: Ie9a115d131624bfc68e6f40822acade70d145735
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-03-06 04:41:47 +01:00

15 lines
287 B
Bash
Executable File

#!/bin/sh
# Verify that samba3dump completes.
. testprogs/blackbox/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