aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-04-03 14:28:17 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-04-14 19:45:45 +0200
commitcfe20aee3b84934271ba6ab4a054dc7a7ddebb2e (patch)
treec42cc46cb0eca415833111501f544302879221a7 /test
parentc6df354c2a2295ed120161a5a183e885df3ae1a6 (diff)
downloadopenssl-cfe20aee3b84934271ba6ab4a054dc7a7ddebb2e.tar.gz
80-test_cmp_http.t: Silence check for availability of 'kill' and 'lsof' commands
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14839)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/80-test_cmp_http.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t
index a8adaad96b..62cfbc987a 100644
--- a/test/recipes/80-test_cmp_http.t
+++ b/test/recipes/80-test_cmp_http.t
@@ -34,9 +34,9 @@ plan skip_all => "Tests involving local HTTP server not available on Windows, AI
plan skip_all => "Tests involving local HTTP server not available in cross-compile builds"
if defined $ENV{EXE_SHELL};
plan skip_all => "Tests involving local HTTP server require 'kill' command"
- if system("which kill");
+ if system("which kill >/dev/null");
plan skip_all => "Tests involving local HTTP server require 'lsof' command"
- if system("which lsof"); # this typically excludes Solaris
+ if system("which lsof >/dev/null"); # this typically excludes Solaris
sub chop_dblquot { # chop any leading and trailing '"' (needed for Windows)
my $str = shift;