summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 18:16:49 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 18:16:49 +0200
commitaa09d8a75f04dd2680aa7c0f06e47b6f5a36fa56 (patch)
treee1d7d5dbac05fce826622d4ffbe60afe1115b5f1 /testprogs/blackbox
parentc2eb4e5f8e0275003f9cffe1feeee6e34b7e578e (diff)
downloadsamba-aa09d8a75f04dd2680aa7c0f06e47b6f5a36fa56.tar.gz
samba-aa09d8a75f04dd2680aa7c0f06e47b6f5a36fa56.tar.bz2
samba-aa09d8a75f04dd2680aa7c0f06e47b6f5a36fa56.zip
Move ndrdump tests closer to the code they test.
Diffstat (limited to 'testprogs/blackbox')
-rw-r--r--testprogs/blackbox/ndrdump/samr-CreateUser-in.datbin60 -> 0 bytes
-rw-r--r--testprogs/blackbox/ndrdump/samr-CreateUser-out.datbin32 -> 0 bytes
-rwxr-xr-xtestprogs/blackbox/test_ndrdump.sh20
3 files changed, 0 insertions, 20 deletions
diff --git a/testprogs/blackbox/ndrdump/samr-CreateUser-in.dat b/testprogs/blackbox/ndrdump/samr-CreateUser-in.dat
deleted file mode 100644
index a5840e1f7f..0000000000
--- a/testprogs/blackbox/ndrdump/samr-CreateUser-in.dat
+++ /dev/null
Binary files differ
diff --git a/testprogs/blackbox/ndrdump/samr-CreateUser-out.dat b/testprogs/blackbox/ndrdump/samr-CreateUser-out.dat
deleted file mode 100644
index cf9131dba9..0000000000
--- a/testprogs/blackbox/ndrdump/samr-CreateUser-out.dat
+++ /dev/null
Binary files differ
diff --git a/testprogs/blackbox/test_ndrdump.sh b/testprogs/blackbox/test_ndrdump.sh
deleted file mode 100755
index 50fd76ba92..0000000000
--- a/testprogs/blackbox/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`/subunit.sh
-
-failed=0
-
-samba4bindir=`dirname $0`/../../source4/bin
-ndrdump=$samba4bindir/ndrdump
-files=`dirname $0`/ndrdump
-
-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