git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e770df4
)
r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
author
Stefan Metzmacher
<metze@samba.org>
Mon, 9 Oct 2006 06:46:39 +0000
(06:46 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:20:50 +0000
(14:20 -0500)
doesn't delete the generated pcap files
metze
(This used to be commit
e89ae157e832483a44a1a744466c63edbcb2261d
)
source4/script/tests/test_functions.sh
patch
|
blob
|
history
diff --git
a/source4/script/tests/test_functions.sh
b/source4/script/tests/test_functions.sh
index b68b16edc39fa07e47db98405da9f31c9924e776..50d7dc2762db78be9df78ae1fde5553b0a8f937f 100755
(executable)
--- 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 "=========================================="