From 40dfb8c70514006868344eaabf057aac6a428145 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 23 Oct 2019 12:48:18 +0200 Subject: [PATCH] 20-test_enc_more.t: Replace deprecated -ciphers option with -list [extended tests] Reviewed-by: Richard Levitte Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/10242) --- test/recipes/20-test_enc_more.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/recipes/20-test_enc_more.t b/test/recipes/20-test_enc_more.t index 4ebb0e413c..8f37bee250 100644 --- a/test/recipes/20-test_enc_more.t +++ b/test/recipes/20-test_enc_more.t @@ -30,14 +30,14 @@ my $ciphersstatus = undef; my @ciphers = grep(! /wrap|^$|^[^-]/, (map { split /\s+/ } - run(app([$cmd, "enc", "-ciphers"]), + run(app([$cmd, "enc", "-list"]), capture => 1, statusvar => \$ciphersstatus))); plan tests => 2 + scalar @ciphers; SKIP: { skip "Problems getting ciphers...", 1 + scalar(@ciphers) - unless ok($ciphersstatus, "Running 'openssl enc -ciphers'"); + unless ok($ciphersstatus, "Running 'openssl enc -list'"); unless (ok(copy($testsrc, $plaintext), "Copying $testsrc to $plaintext")) { diag($!); skip "Not initialized, skipping...", scalar(@ciphers); -- 2.25.1