aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shipitsin <chipitsine@gmail.com>2018-06-27 17:38:39 +0500
committerGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>2018-08-21 19:37:10 +0300
commitcfc90df2e0d978907c65c8bd3558507b82b59eb9 (patch)
tree38346e267dd9818fc027d170bfba891d28f50c91
parentc6d7651e8897bb7933cf06140d4d8c236b180b77 (diff)
downloadgost-engine-cfc90df2e0d978907c65c8bd3558507b82b59eb9.zip
gost-engine-cfc90df2e0d978907c65c8bd3558507b82b59eb9.tar.gz
gost-engine-cfc90df2e0d978907c65c8bd3558507b82b59eb9.tar.bz2
modernize ci:
(*) convert 'openssl ciphers | grep ...' into Test:More syntax (cherry picked from commit abf1f76739e89aeee17988a55c2375324f66c380)
-rw-r--r--test/00-engine.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/00-engine.t b/test/00-engine.t
index a3d1037..9104ab0 100644
--- a/test/00-engine.t
+++ b/test/00-engine.t
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-use Test::More tests => 5;
+use Test::More tests => 7;
use Cwd 'abs_path';
# prepare data for
@@ -80,5 +80,9 @@ is(`openssl dgst -engine $engine -md_gost94 testdata.dat`,
"md_gost94(testdata.dat)= f7fc6d16a6a5c12ac4f7d320e0fd0d8354908699125e09727a4ef929122b1cae\n",
"compute digest with both config and explicit engine param");
+like(`openssl ciphers`, qr|GOST2001-GOST89-GOST89|, 'display GOST2001-GOST89-GOST89 cipher');
+
+like(`openssl ciphers`, qr|GOST2012-GOST8912-GOST8912|, 'display GOST2012-GOST8912-GOST8912 cipher');
+
unlink('testdata.dat');
unlink('test.cnf');