mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
selftest: create a pcap file for the environment setup
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
f182c9a36b
commit
7d1b560804
@ -116,7 +116,10 @@ sub setup_env($$$)
|
||||
|
||||
my $setup_name = $ENV_TARGETS{$envname}."::setup_".$envname;
|
||||
my $setup_sub = \&$setup_name;
|
||||
my $setup_pcap_file = $self->setup_pcap("env-$ENV{ENVNAME}-setup");
|
||||
my $env = &$setup_sub($target, "$path/$envname", @dep_vars);
|
||||
$self->cleanup_pcap($setup_pcap_file, not defined($env));
|
||||
SocketWrapper::setup_pcap(undef);
|
||||
|
||||
if (not defined($env)) {
|
||||
warn("failed to start up environment '$envname'");
|
||||
|
Loading…
Reference in New Issue
Block a user