svn commit: samba r19181 - in branches/SAMBA_3_0/source/script/tests: .

metze at samba.org metze at samba.org
Mon Oct 9 06:48:56 GMT 2006


Author: metze
Date: 2006-10-09 06:48:55 +0000 (Mon, 09 Oct 2006)
New Revision: 19181

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

Log:
merge from samba4:

with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
Modified:
   branches/SAMBA_3_0/source/script/tests/test_functions.sh


Changeset:
Modified: branches/SAMBA_3_0/source/script/tests/test_functions.sh
===================================================================
--- branches/SAMBA_3_0/source/script/tests/test_functions.sh	2006-10-09 06:46:39 UTC (rev 19180)
+++ branches/SAMBA_3_0/source/script/tests/test_functions.sh	2006-10-09 06:48:55 UTC (rev 19181)
@@ -228,7 +228,12 @@
 		fi
 		return 1;
 	fi
-	rm -f $TEST_LOG $TEST_PCAP;
+	rm -f $TEST_LOG;
+	if [ x"$MAKE_TEST_KEEP_PCAP" = x"yes" ];then
+		echo "TEST PCAP: $TEST_PCAP"
+	else
+		rm -f $TEST_PCAP;
+	fi
 	if [ x"$RUN_FROM_BUILD_FARM" = x"yes" ];then
 		echo "ALL OK: $cmdline"
 		echo "=========================================="



More information about the samba-cvs mailing list