From 3f4f862d14b8fdd5d27e044f80eb539d313bc30a Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 9 Sep 2024 00:53:04 -0500 Subject: [PATCH] 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 Reviewed-by: Sahil Siddiq Reviewed-by: Cheyenne Wills Reviewed-by: Michael Meffie --- tests/rx/perf-t | 4 ++-- tests/rx/simple-t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/rx/perf-t b/tests/rx/perf-t index fd4ff17e22..eee841e7ef 100755 --- a/tests/rx/perf-t +++ b/tests/rx/perf-t @@ -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"); } diff --git a/tests/rx/simple-t b/tests/rx/simple-t index acd5ef8195..1c5143a7c2 100755 --- a/tests/rx/simple-t +++ b/tests/rx/simple-t @@ -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)); }