mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
473664aafd
Different tests may use unexpectedly different versions of perl, depending on whether they hardcode the path to the perl executable or if they resolve the path from the environment. This fixes it so that the same perl is always used. Fix some trailing whitespace and spelling mistakes as well. CLA: trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16362)
23 lines
706 B
Perl
23 lines
706 B
Perl
#! /usr/bin/env perl
|
|
|
|
# Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
# in the file LICENSE in the source distribution or at
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
use strict;
|
|
|
|
use OpenSSL::Test; # get 'plan'
|
|
use OpenSSL::Test::Simple;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_rdrand_sanity");
|
|
|
|
# We also need static builds to be enabled even on linux
|
|
plan skip_all => "This test is unsupported if static builds are not enabled"
|
|
if disabled("static");
|
|
|
|
simple_test("test_rdrand_sanity", "rdrand_sanitytest");
|