From 4c1d2f1011bd627fe09851588c61728802e93371 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 9 Oct 2006 06:46:39 +0000 Subject: r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test doesn't delete the generated pcap files metze (This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d) --- source4/script/tests/test_functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh index b68b16edc3..50d7dc2762 100755 --- a/source4/script/tests/test_functions.sh +++ b/source4/script/tests/test_functions.sh @@ -161,7 +161,12 @@ testit() { 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 "==========================================" -- cgit