diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-10-09 06:46:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:50 -0500 |
commit | 4c1d2f1011bd627fe09851588c61728802e93371 (patch) | |
tree | f929ecbd2563dda77997049e922df936e0af47e5 /source4 | |
parent | e770df4c87254598b7b88a15db3dd1e64d2ea0f6 (diff) | |
download | samba-4c1d2f1011bd627fe09851588c61728802e93371.tar.gz samba-4c1d2f1011bd627fe09851588c61728802e93371.tar.bz2 samba-4c1d2f1011bd627fe09851588c61728802e93371.zip |
r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files
metze
(This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d)
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/script/tests/test_functions.sh | 7 |
1 files changed, 6 insertions, 1 deletions
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 "==========================================" |