summaryrefslogtreecommitdiff
path: root/source4/librpc/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-22 12:52:29 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-22 17:48:23 -0700
commit5a75fb194a290cb09fc03312262bd57196e86cb9 (patch)
treeefe5704fe4efb1d60f923b853a1fdac599f6abf1 /source4/librpc/tests
parent18f10eec0ea55108e97da019f07a18b8854c2883 (diff)
downloadsamba-5a75fb194a290cb09fc03312262bd57196e86cb9.tar.gz
samba-5a75fb194a290cb09fc03312262bd57196e86cb9.tar.bz2
samba-5a75fb194a290cb09fc03312262bd57196e86cb9.zip
ndrdump: Move blackbox test to standard python namespace.
Diffstat (limited to 'source4/librpc/tests')
-rwxr-xr-xsource4/librpc/tests/test_ndrdump.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/librpc/tests/test_ndrdump.sh b/source4/librpc/tests/test_ndrdump.sh
deleted file mode 100755
index dccf86df88..0000000000
--- a/source4/librpc/tests/test_ndrdump.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# Blackbox tests for masktest
-# Copyright (C) 2008 Andrew Tridgell
-# Copyright (C) 2008 Andrew Bartlett
-# based on test_smbclient.sh
-
-. `dirname $0`/../../../testprogs/blackbox/subunit.sh
-
-failed=0
-
-samba4bindir="$BUILDDIR/bin"
-ndrdump="$samba4bindir/ndrdump$EXEEXT"
-files=`dirname $0`/
-
-testit "ndrdump with in" $VALGRIND $ndrdump samr samr_CreateUser in $files/samr-CreateUser-in.dat $@ || failed=`expr $failed + 1`
-testit "ndrdump with out" $VALGRIND $ndrdump samr samr_CreateUser out $files/samr-CreateUser-out.dat $@ || failed=`expr $failed + 1`
-testit "ndrdump with --context-file" $VALGRIND $ndrdump --context-file $files/samr-CreateUser-in.dat samr samr_CreateUser out $files/samr-CreateUser-out.dat $@ || failed=`expr $failed + 1`
-testit "ndrdump with validate" $VALGRIND $ndrdump --validate samr samr_CreateUser in $files/samr-CreateUser-in.dat $@ || failed=`expr $failed + 1`
-
-exit $failed