samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r19180 - in branches/SAMBA_4_0/source/script/tests: .

Subject: svn commit: samba r19180 - in branches/SAMBA_4_0/source/script/tests: .
From:
Date: Mon, 9 Oct 2006 06:46:39 +0000 GMT
Author: metze
Date: 2006-10-09 06:46:39 +0000 (Mon, 09 Oct 2006)
New Revision: 19180

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

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

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


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_functions.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_functions.sh    2006-10-08 
21:54:19 UTC (rev 19179)
+++ branches/SAMBA_4_0/source/script/tests/test_functions.sh    2006-10-09 
06:46:39 UTC (rev 19180)
@@ -161,7 +161,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 "=========================================="

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r19180 - in branches/SAMBA_4_0/source/script/tests: ., metze <=