Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • b3932ec
  • /
  • recipes
  • /
  • 04-test_provider_default_search_path.t
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:29797e62a02ef5c0892c9e8d13b35706eef92c8e
directory badge Iframe embedding
swh:1:dir:aba46e9f6fbfa47de53ec7db27447a970c3cb88d
04-test_provider_default_search_path.t
#! /usr/bin/env perl
# Copyright 2019-2022 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 File::Spec;
use OpenSSL::Test::Simple;

# We must ensure that OPENSSL_CONF points at an empty file.  Otherwise, we
# risk that the configuration file contains statements that load providers,
# which defeats the purpose of this test.  The NUL device is good enough.
$ENV{OPENSSL_CONF} = File::Spec->devnull();

simple_test("test_provider_default_search_path", "provider_default_search_path_test");

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top