We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13b586 commit a475a2fCopy full SHA for a475a2f
src/test/kerberos/t/001_auth.pl
@@ -203,7 +203,12 @@
203
204
END
205
{
206
+ # take care not to change the script's exit value
207
+ my $exit_code = $?;
208
+
209
kill 'INT', `cat $kdc_pidfile` if defined($kdc_pidfile) && -f $kdc_pidfile;
210
211
+ $? = $exit_code;
212
}
213
214
note "setting up PostgreSQL instance";
src/test/ldap/LdapServer.pm
@@ -145,13 +145,18 @@ INIT
145
146
147
148
149
150
151
foreach my $server (@servers)
152
153
next unless -f $server->{pidfile};
154
my $pid = slurp_file($server->{pidfile});
155
chomp $pid;
156
kill 'INT', $pid;
157
158
159
160
161
162
=pod
0 commit comments