svn commit: samba r23489 - in branches: SAMBA_3_0/source/script/tests SAMBA_3_0_26/source SAMBA_3_0_26/source/script/tests

obnox at samba.org obnox at samba.org
Thu Jun 14 12:29:06 GMT 2007


Author: obnox
Date: 2007-06-14 12:29:04 +0000 (Thu, 14 Jun 2007)
New Revision: 23489

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23489

Log:
(Re-)Add tdbtorture as a build target to 3_0_26.
Add the tdbtorture test to the test script in 3_0 and 3_0_26.

Michael


Modified:
   branches/SAMBA_3_0/source/script/tests/test_local_s3.sh
   branches/SAMBA_3_0_26/source/Makefile.in
   branches/SAMBA_3_0_26/source/script/tests/test_local_s3.sh


Changeset:
Modified: branches/SAMBA_3_0/source/script/tests/test_local_s3.sh
===================================================================
--- branches/SAMBA_3_0/source/script/tests/test_local_s3.sh	2007-06-14 12:19:53 UTC (rev 23488)
+++ branches/SAMBA_3_0/source/script/tests/test_local_s3.sh	2007-06-14 12:29:04 UTC (rev 23489)
@@ -20,4 +20,7 @@
 testit "replacetort" $VALGRIND $BINDIR/replacetort || \
     failed=`expr $failed + 1`
 
+testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \
+    failed=`expr $failed +1`
+
 testok $0 $failed

Modified: branches/SAMBA_3_0_26/source/Makefile.in
===================================================================
--- branches/SAMBA_3_0_26/source/Makefile.in	2007-06-14 12:19:53 UTC (rev 23488)
+++ branches/SAMBA_3_0_26/source/Makefile.in	2007-06-14 12:29:04 UTC (rev 23489)
@@ -177,7 +177,8 @@
 TORTURE_PROGS = bin/smbtorture at EXEEXT@ bin/msgtest at EXEEXT@ \
 	bin/masktest at EXEEXT@ bin/locktest at EXEEXT@ \
 	bin/locktest2 at EXEEXT@ bin/nsstest at EXEEXT@ bin/vfstest at EXEEXT@ \
-	bin/pdbtest at EXEEXT@ bin/talloctort at EXEEXT@ bin/replacetort at EXEEXT@
+	bin/pdbtest at EXEEXT@ bin/talloctort at EXEEXT@ bin/replacetort at EXEEXT@ \
+	bin/tdbtorture at EXEEXT@
 
 BIN_PROGS = @EXTRA_BIN_PROGS@ @SMBMOUNT_PROGS@ \
 	$(BIN_PROGS1) $(BIN_PROGS2) $(BIN_PROGS3) $(BIN_PROGS4) 
@@ -929,6 +930,10 @@
 TDBDUMP_OBJ = lib/tdb/tools/tdbdump.o $(TDBBASE_OBJ) $(LIBREPLACE_OBJ) \
 	$(SOCKET_WRAPPER_OBJ)
 
+TDBTORTURE_OBJ = lib/tdb/tools/tdbtorture.o $(TDBBASE_OBJ) $(LIBREPLACE_OBJ) \
+	$(SOCKET_WRAPPER_OBJ)
+
+
 NTLM_AUTH_OBJ1 = utils/ntlm_auth.o utils/ntlm_auth_diagnostics.o
 
 NTLM_AUTH_OBJ = ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ) $(POPT_LIB_OBJ) \
@@ -1718,6 +1723,10 @@
 	@echo Linking $@
 	@$(CC) $(FLAGS) -o $@ $(LDFLAGS) $(DYNEXP) $(LIBS) $(TDBDUMP_OBJ)
 
+bin/tdbtorture at EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ)
+	@echo Linking $@
+	@$(CC) $(FLAGS) -o $@ $(LDFLAGS) $(DYNEXP) $(LIBS) $(TDBTORTURE_OBJ)
+
 bin/t_strcmp at EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud. at SHLIBEXT@ torture/t_strcmp.o
 	$(CC) $(FLAGS) -o $@ $(DYNEXP) $(LIBS) torture/t_strcmp.o -L ./bin -lbigballofmud
 

Modified: branches/SAMBA_3_0_26/source/script/tests/test_local_s3.sh
===================================================================
--- branches/SAMBA_3_0_26/source/script/tests/test_local_s3.sh	2007-06-14 12:19:53 UTC (rev 23488)
+++ branches/SAMBA_3_0_26/source/script/tests/test_local_s3.sh	2007-06-14 12:29:04 UTC (rev 23489)
@@ -20,4 +20,7 @@
 testit "replacetort" $VALGRIND $BINDIR/replacetort || \
     failed=`expr $failed + 1`
 
+testit "tdbtorture" $VALGRIND $BINDIR/tdbtorture || \
+    failed=`expr $failed +1`
+
 testok $0 $failed



More information about the samba-cvs mailing list