summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_wbinfo_sids2xids.sh
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-11 17:26:35 +0200
committerJeremy Allison <jra@samba.org>2011-04-13 14:13:25 -0700
commit845d4d43c760455c7a0b5692925afa4d680bd3c0 (patch)
tree991c1fce43cf4849a5c6c03e24253ba92a7dcc41 /source3/script/tests/test_wbinfo_sids2xids.sh
parent32bd64359c85fc90037c1bec0ea476bc6e9c185d (diff)
downloadsamba-845d4d43c760455c7a0b5692925afa4d680bd3c0.tar.gz
samba-845d4d43c760455c7a0b5692925afa4d680bd3c0.tar.bz2
samba-845d4d43c760455c7a0b5692925afa4d680bd3c0.zip
s3: Add a test for sid2xids
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/script/tests/test_wbinfo_sids2xids.sh')
-rwxr-xr-xsource3/script/tests/test_wbinfo_sids2xids.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/script/tests/test_wbinfo_sids2xids.sh b/source3/script/tests/test_wbinfo_sids2xids.sh
new file mode 100755
index 0000000000..5bb33ee065
--- /dev/null
+++ b/source3/script/tests/test_wbinfo_sids2xids.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+WBINFO="$VALGRIND ${NET:-$BINDIR/wbinfo} $CONFIGURATION"
+TEST_INT=`dirname $0`/test_wbinfo_sids2xids_int.py
+
+incdir=`dirname $0`/../../../testprogs/blackbox
+. $incdir/subunit.sh
+
+testit "sids2xids" ${TEST_INT} ${WBINFO} || failed=`expr $failed + 1`
+
+testok $0 $failed