From 16b26eafa75280e576333975cff5dd1505c118fa Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 28 Dec 2012 10:06:39 +1100 Subject: selftest: Add a basic test of samba_upgradedns This does not check that the command runs correctly, but does at least check that the command runs to completion without errors. Andrew Bartlett Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher --- testprogs/blackbox/test_samba_upgradedns.sh | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 testprogs/blackbox/test_samba_upgradedns.sh (limited to 'testprogs') diff --git a/testprogs/blackbox/test_samba_upgradedns.sh b/testprogs/blackbox/test_samba_upgradedns.sh new file mode 100755 index 0000000000..a080f735ea --- /dev/null +++ b/testprogs/blackbox/test_samba_upgradedns.sh @@ -0,0 +1,37 @@ +#!/bin/sh +# Blackbox tests for the samba_upgradedns +# Copyright (C) 2006-2007 Jelmer Vernooij +# Copyright (C) 2006-2012 Andrew Bartlett + +if [ $# -lt 4 ]; then +cat <