From 8175e980298cf21595732070bc6f59cba26afe33 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 31 Mar 2014 14:02:18 +1300 Subject: selftest: Rename wbinfo_s3 to wbinfo_simple and reorder code for clarity Change-Id: Ic2e06e448fce1d91422b711abf663b9253009a53 Signed-off-by: Andrew Bartlett Reviewed-by: David Disseldorp Autobuild-User(master): David Disseldorp Autobuild-Date(master): Wed Apr 2 13:07:24 CEST 2014 on sn-devel-104 --- nsswitch/tests/test_wbinfo_simple.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 nsswitch/tests/test_wbinfo_simple.sh (limited to 'nsswitch/tests') diff --git a/nsswitch/tests/test_wbinfo_simple.sh b/nsswitch/tests/test_wbinfo_simple.sh new file mode 100755 index 00000000000..dc90ddcadf0 --- /dev/null +++ b/nsswitch/tests/test_wbinfo_simple.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +if [ $# -lt 1 ]; then +cat < +EOF +exit 1; +fi + +ADDARGS="$*" + +incdir=`dirname $0`/../../testprogs/blackbox +. $incdir/subunit.sh + +testit "wbinfo" $VALGRIND $BINDIR/wbinfo $ADDARGS || failed=`expr $failed + 1` + +testok $0 $failed -- cgit v1.2.1