selftest: reenable wbinfo tests and pass --configfile instead of -s
authorStefan Metzmacher <metze@samba.org>
Fri, 14 Dec 2007 18:39:49 +0000 (19:39 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 14 Dec 2007 18:39:49 +0000 (19:39 +0100)
metze
(This used to be commit 56251f78524416435299e26fca405e77d0f42043)

source3/script/tests/selftest.sh
source3/script/tests/test_wbinfo_s3.sh
source3/script/tests/tests_all.sh

index 6810ec1a54ee53278d478a15ab1ada0238a0dc7c..2250a81245147331ad11fbfa9c2a5c88816e17e7 100755 (executable)
@@ -49,7 +49,7 @@ PRIVATEDIR=$PREFIX_ABS/private
 LOCKDIR=$PREFIX_ABS/lockdir
 LOGDIR=$PREFIX_ABS/logs
 SOCKET_WRAPPER_DIR=$PREFIX/sw
-CONFIGURATION="-s $CONFFILE"
+CONFIGURATION="--configfile $CONFFILE"
 SAMBA4CONFIGURATION="-s $SAMBA4CONFFILE"
 NSS_WRAPPER_PASSWD="$PRIVATEDIR/passwd"
 NSS_WRAPPER_GROUP="$PRIVATEDIR/group"
index abd6146e1a3e507c8d324146b366b8e8e6501dbe..6a8faa1f87ec7ece128cef4acf160ac9c224611d 100755 (executable)
@@ -40,7 +40,7 @@ NEWIFS=$':'
 IFS=$NEWIFS
 for t in $tests; do
    IFS=$OLDIFS
-   testit "wbinfo $t" $VALGRIND $BINDIR/wbinfo $ADDARGS $t || failed=`expr $failed + 1`
+   testit "wbinfo $t" $VALGRIND $BINDIR/wbinfo $CONFIGURATION $ADDARGS $t || failed=`expr $failed + 1`
    IFS=$NEWIFS
 done
 IFS=$OLDIFS
index a110d60f98a2e6a2f252b8a32fc6b4a76105e908..12789aa9263cdf1efd56bb8ec18b953b64d0e93c 100755 (executable)
@@ -2,7 +2,7 @@
 $SCRIPTDIR/test_local_s3.sh || failed=`expr $failed + $?`
 $SCRIPTDIR/test_smbtorture_s3.sh //$SERVER_IP/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
 $SCRIPTDIR/test_smbclient_s3.sh $SERVER $SERVER_IP || failed=`expr $failed + $?`
-#$SCRIPTDIR/test_wbinfo_s3.sh $WORKGROUP $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
+$SCRIPTDIR/test_wbinfo_s3.sh $WORKGROUP $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
 
 SMBTORTURE4VERSION=`$SMBTORTURE4 --version`
 if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then