From 054bc11876c485173a2b11c4b6500e9120bb6e29 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Feb 2008 16:42:22 +1100 Subject: added blackbox testing of gentest (This used to be commit 716345fd38dfd8c6e610fbd6ba84c4f33e3edbb9) --- testprogs/blackbox/test_gentest.sh | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 testprogs/blackbox/test_gentest.sh (limited to 'testprogs') diff --git a/testprogs/blackbox/test_gentest.sh b/testprogs/blackbox/test_gentest.sh new file mode 100755 index 0000000000..89cc8c2795 --- /dev/null +++ b/testprogs/blackbox/test_gentest.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# Blackbox tests for gentest +# Copyright (C) 2008 Andrew Tridgell +# based on test_smbclient.sh + +if [ $# -lt 4 ]; then +cat < st/gentest.ignore +all_info.out.fname +internal_information.out.file_id +EOF + +testit "gentest" $VALGRIND $gentest //$SERVER/test1 //$SERVER/test2 --num-ops=100 --ignore=st/gentest.ignore -W "$DOMAIN" -U"$USERNAME%$PASSWORD" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1` + +/bin/rm -f st/gentest.ignore + +exit $failed -- cgit