VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.2/test/recipes/95-test_external_gost_engine.t@ 101021

Last change on this file since 101021 was 101021, checked in by vboxsync, 15 months ago

openssl-3.1.2: Applied and adjusted our OpenSSL changes to 3.1.0. bugref:10519

File size: 1005 bytes
Line 
1#! /usr/bin/env perl
2# Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the Apache License 2.0 (the "License"). You may not use
5# this file except in compliance with the License. You can obtain a copy
6# in the file LICENSE in the source distribution or at
7# https://www.openssl.org/source/license.html
8
9
10use OpenSSL::Test;
11use OpenSSL::Test::Utils;
12use OpenSSL::Test qw/:DEFAULT data_file bldtop_dir srctop_dir cmdstr/;
13
14setup("test_external_gost_engine");
15
16plan skip_all => "No external tests in this configuration"
17 if disabled("external-tests");
18plan skip_all => "GOST engine tests not available on Windows or VMS"
19 if $^O =~ /^(VMS|MSWin32)$/;
20plan skip_all => "GOST engine tests only available in a shared build"
21 if disabled("shared");
22plan skip_all => "GOST engine tests not supported in out of tree builds"
23 if bldtop_dir() ne srctop_dir();
24
25plan tests => 1;
26
27ok(run(cmd(["sh", data_file("gost_engine.sh")])),
28 "running GOST engine tests");
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette