1*e7be843bSPierre Pronchery#! /usr/bin/env perl 2*e7be843bSPierre Pronchery# Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved. 3*e7be843bSPierre Pronchery# 4*e7be843bSPierre Pronchery# Licensed under the Apache License 2.0 (the "License"). You may not use 5*e7be843bSPierre Pronchery# this file except in compliance with the License. You can obtain a copy 6*e7be843bSPierre Pronchery# in the file LICENSE in the source distribution or at 7*e7be843bSPierre Pronchery# https://www.openssl.org/source/license.html 8*e7be843bSPierre Pronchery 9*e7be843bSPierre Proncheryuse strict; 10*e7be843bSPierre Proncheryuse File::Spec; 11*e7be843bSPierre Proncheryuse OpenSSL::Test::Simple; 12*e7be843bSPierre Pronchery 13*e7be843bSPierre Pronchery# We must ensure that OPENSSL_CONF points at an empty file. Otherwise, we 14*e7be843bSPierre Pronchery# risk that the configuration file contains statements that load providers, 15*e7be843bSPierre Pronchery# which defeats the purpose of this test. The NUL device is good enough. 16*e7be843bSPierre Pronchery$ENV{OPENSSL_CONF} = File::Spec->devnull(); 17*e7be843bSPierre Pronchery 18*e7be843bSPierre Proncherysimple_test("test_provider_default_search_path", "provider_default_search_path_test"); 19