mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
tests: Fix perl string concatenation spacing
tests/rx/perf-t and tests/rx/simple-t contain an identical section of perl code for checking the exit status of the relevant server process. The spacing around some string concatenations are missing some spaces. Add the missing spaces. Thanks to sahilcdq@proton.me and cwills@sinenomine.net for pointing these out. Change-Id: Ieca3e6e5eabbd1c65c07edc33f1a884fc0fac248 Reviewed-on: https://gerrit.openafs.org/15848 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Sahil Siddiq <sahilcdq@proton.me> Reviewed-by: Cheyenne Wills <cwills@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
c138ff821c
commit
3f4f862d14
@ -63,9 +63,9 @@ kill("TERM", $pid);
|
||||
waitpid($pid, 0);
|
||||
my $ecode = ${^CHILD_ERROR_NATIVE};
|
||||
if (WIFSIGNALED($ecode) && WTERMSIG($ecode) != SIGTERM) {
|
||||
fail("Server died with signal ".WTERMSIG($ecode));
|
||||
fail("Server died with signal " . WTERMSIG($ecode));
|
||||
} elsif (WIFEXITED($ecode) && WEXITSTATUS($ecode) != 0) {
|
||||
fail("Server exited with code". WEXITSTATUS($ecode));
|
||||
fail("Server exited with code " . WEXITSTATUS($ecode));
|
||||
} else {
|
||||
pass("Server exited succesfully");
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ my $ecode = ${^CHILD_ERROR_NATIVE};
|
||||
if (WIFSIGNALED($ecode) && WTERMSIG($ecode) == SIGTERM) {
|
||||
pass("Server died with SIGTERM");
|
||||
} elsif (WIFSIGNALED($ecode)) {
|
||||
fail("Server died with signal ".WTERMSIG($ecode));
|
||||
fail("Server died with signal " . WTERMSIG($ecode));
|
||||
} else {
|
||||
fail("Server exited with code". WEXITSTATUS($ecode));
|
||||
fail("Server exited with code " . WEXITSTATUS($ecode));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user