mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:test: use the blackbox subunit test driver in the net_registry tests.
This commit is contained in:
parent
ad6c3ec3e5
commit
dbc7896e33
@ -14,8 +14,8 @@ else
|
||||
fi
|
||||
|
||||
test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
|
||||
incdir=`dirname $0`
|
||||
. $incdir/test_functions.sh
|
||||
incdir=`dirname $0`/../../../testprogs/blackbox
|
||||
. $incdir/subunit.sh
|
||||
}
|
||||
|
||||
failed=0
|
||||
@ -420,11 +420,10 @@ conf_roundtrip()
|
||||
rm -r $DIR
|
||||
}
|
||||
|
||||
CONF_FILES=${CONF_FILES:-$(find $SRCDIR/.. -name *.conf | xargs grep -l "\[global\]")}
|
||||
CONF_FILES=${CONF_FILES:-$(find $SRCDIR/ -name '*.conf' | xargs grep -l "\[global\]")}
|
||||
|
||||
for conf_file in $CONF_FILES
|
||||
do
|
||||
conf_file=${conf_file#$SRCDIR/}
|
||||
testit "conf_roundtrip $conf_file" \
|
||||
conf_roundtrip $conf_file \
|
||||
|| failed=`expr $failed + 1`
|
||||
|
Loading…
Reference in New Issue
Block a user