openssl/test/recipes
Richard Levitte 505fcdb5de test/recipes/90-test_shlibload.t: Modify to work with known file names
Using File::Temp::tempfile() is admirable, but isn't necessary for the
sort of thing we use it for.

Furthermore, since tempfile() returns an opened file handle for
reading for the file in question, it may have effect that the file
becomes unwritable.  This is the default on VMS, and since tempfile()
doesn't seem to have any option to affect this, it means that
test/shlibloadtest.c can't write the magic line to that file.

Also, if we consider forensics, to be able to see what a test produced
to determine what went wrong, it's better to use specific and known
file names.

Therefore, this test is modified to use well known file names, and to
open them for reading after the shlibloadtest program has been run
instead of before.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15872)
2021-06-24 15:55:14 +10:00
..
04-test_conf_data
04-test_params_conversion_data
04-test_pem_read_depr_data
04-test_pem_reading_data TEST: Cleanup test recipes 2021-03-27 09:03:55 +01:00
10-test_bn_data
15-test_dsaparam_data
15-test_ecparam_data
15-test_mp_rsa_data
15-test_rsaoaep_data
20-test_dhparam_check_data Fixes related to separation of DH and DHX types 2021-04-26 19:52:11 +02:00
20-test_dhparam_data
25-test_eai_data
25-test_rusext_data
30-test_evp_data evp_test: Support testing of stitched TLS ciphers 2021-06-20 12:52:36 +10:00
30-test_evp_pkey_provided
61-test_bio_prefix_data
65-test_cmp_client_data
65-test_cmp_msg_data
65-test_cmp_protect_data
65-test_cmp_server_data
65-test_cmp_vfy_data
66-test_ossl_store_data
80-test_ca_data
80-test_cmp_http_data 80-test_cmp_http.t: Re-enable CMP tests for AIX, removing some inessential test cases 2021-06-03 16:14:15 +02:00
80-test_cms_data
80-test_ocsp_data
80-test_ssl_old_data
80-test_tsa_data
90-test_gost_data gost: remove the internal GOST test. 2021-06-17 08:26:17 +01:00
90-test_includes_data Add .includedir pragma 2021-05-05 13:11:35 +02:00
90-test_sslapi_data
90-test_store_data
90-test_threads_data
91-test_pkey_check_data
95-test_external_gost_engine_data
95-test_external_krb5_data Update krb5 module and re-enable pkinit tests 2021-06-11 12:34:16 +02:00
95-test_external_pyca_data Update copyright year 2021-05-06 13:03:23 +01:00
00-prep_fipsmodule_cnf.t TEST: Add test specific fipsmodule.cnf, and use it 2021-05-26 15:11:01 +02:00
01-test_abort.t
01-test_fipsmodule_cnf.t TEST: Add test specific fipsmodule.cnf, and use it 2021-05-26 15:11:01 +02:00
01-test_sanity.t
01-test_symbol_presence.t Update copyright year 2021-06-17 13:24:59 +01:00
01-test_test.t
02-test_errstr.t Update copyright year 2021-04-08 13:04:41 +01:00
02-test_internal_context.t
02-test_internal_ctype.t
02-test_internal_keymgmt.t Update copyright year 2021-04-08 13:04:41 +01:00
02-test_internal_provider.t
02-test_lhash.t
02-test_ordinals.t
02-test_sparse_array.t
02-test_stack.t
03-test_exdata.t
03-test_fipsinstall.t Change self test for AES_CGM to perform both an encrypt and decrypt. 2021-06-22 15:04:30 +10:00
03-test_internal_asn1_dsa.t
03-test_internal_asn1.t
03-test_internal_bn.t
03-test_internal_chacha.t
03-test_internal_curve448.t
03-test_internal_ec.t
03-test_internal_ffc.t
03-test_internal_mdc2.t
03-test_internal_modes.t
03-test_internal_namemap.t
03-test_internal_poly1305.t
03-test_internal_rsa_sp800_56b.t
03-test_internal_siphash.t
03-test_internal_sm2.t
03-test_internal_sm3.t test: add sm3 low level test case to test suite. 2021-06-21 11:34:16 +10:00
03-test_internal_sm4.t
03-test_internal_ssl_cert_table.t
03-test_internal_x509.t
03-test_params_api.t
03-test_property.t property: add test case for setting default user properties before fetching 2021-05-12 18:20:03 +10:00
03-test_ui.t
04-test_asn1_decode.t
04-test_asn1_encode.t
04-test_asn1_string_table.t
04-test_bio_callback.t
04-test_bio_core.t Update copyright year 2021-05-06 13:03:23 +01:00
04-test_bioprint.t
04-test_conf.t
04-test_encoder_decoder_legacy.t Update copyright year 2021-06-17 13:24:59 +01:00
04-test_encoder_decoder.t Enhance the encoder/decoder tests to allow testing with a non-default library context and configurable providers 2021-06-01 12:16:27 +02:00
04-test_err.t
04-test_hexstring.t
04-test_param_build.t
04-test_params_conversion.t
04-test_params.t
04-test_pem_read_depr.t
04-test_pem_reading.t Update copyright year 2021-04-08 13:04:41 +01:00
04-test_provfetch.t Update copyright year 2021-06-17 13:24:59 +01:00
04-test_provider_fallback.t
04-test_provider.t Update copyright year 2021-05-20 14:22:33 +01:00
04-test_upcalls.t Update copyright year 2021-06-17 13:24:59 +01:00
05-test_bf.t
05-test_cast.t
05-test_cmac.t
05-test_des.t
05-test_hmac.t
05-test_idea.t
05-test_pbe.t Fix small typo in test/recipes/05-test_pbe.t 2021-06-17 08:20:49 +01:00
05-test_rand.t
05-test_rc2.t
05-test_rc4.t
05-test_rc5.t
06-test_algorithmid.t
06-test_rdrand_sanity.t Update copyright year 2021-04-08 13:04:41 +01:00
10-test_bn.t
10-test_exp.t
15-test_dh.t
15-test_dsa.t
15-test_dsaparam.t
15-test_ec.t
15-test_ecdsa.t
15-test_ecparam.t
15-test_gendh.t Update copyright year 2021-05-06 13:03:23 +01:00
15-test_gendhparam.t Fixes related to separation of DH and DHX types 2021-04-26 19:52:11 +02:00
15-test_gendsa.t
15-test_genec.t
15-test_genrsa.t rsa: make the maximum key strength check FIPS only. 2021-06-03 15:32:38 +10:00
15-test_mp_rsa.t Update copyright year 2021-06-17 13:24:59 +01:00
15-test_out_option.t
15-test_rsa.t test: replace tabs with spaces in test recipes 2021-06-19 15:54:06 +10:00
15-test_rsaoaep.t
15-test_rsapss.t Update copyright year 2021-06-17 13:24:59 +01:00
15-test_sha.t Update copyright year 2021-06-17 13:24:59 +01:00
20-test_app.t
20-test_cli_fips.t
20-test_dgst.t HMAC doesn't work with a default digest 2021-05-21 13:07:28 +02:00
20-test_dhparam_check.t Fixes related to separation of DH and DHX types 2021-04-26 19:52:11 +02:00
20-test_dhparam.t
20-test_enc_more.t
20-test_enc.t test: replace tabs with spaces in test recipes 2021-06-19 15:54:06 +10:00
20-test_kdf.t Update copyright year 2021-05-20 14:22:33 +01:00
20-test_mac.t apps/mac: Add digest and cipher command line options 2021-05-08 22:15:56 +10:00
20-test_passwd.t
20-test_pkeyutl.t Add some tests for -inform/keyform enforcement 2021-05-06 11:43:32 +01:00
20-test_rand_config.t
20-test_spkac.t test: add SPKAC command test 2021-06-15 18:26:47 +10:00
25-test_crl.t Update copyright year 2021-05-06 13:03:23 +01:00
25-test_d2i.t
25-test_eai_data.t Update copyright year 2021-04-08 13:04:41 +01:00
25-test_pkcs7.t
25-test_req.t TESTS: drop explicit quotes from empty command line arguments 2021-06-20 12:53:43 +10:00
25-test_rusext.t
25-test_sid.t
25-test_verify_store.t test: replace tabs with spaces in test recipes 2021-06-19 15:54:06 +10:00
25-test_verify.t test: fix indentation 2021-06-19 15:54:06 +10:00
25-test_x509.t Just look for "Unable to load Public Key" if no SM2 2021-06-08 18:53:28 +01:00
30-test_acvp.t acvp: fix the no-acvp_test build 2021-04-30 17:51:44 +10:00
30-test_aesgcm.t
30-test_afalg.t
30-test_defltfips.t
30-test_engine.t
30-test_evp_extra.t Update copyright year 2021-04-08 13:04:41 +01:00
30-test_evp_fetch_prov.t
30-test_evp_kdf.t
30-test_evp_libctx.t Add an evp_libctx_test test run for legacy provider 2021-05-26 07:27:25 +10:00
30-test_evp_pkey_dparam.t
30-test_evp_pkey_provided.t
30-test_evp.t evp_test: Support testing of stitched TLS ciphers 2021-06-20 12:52:36 +10:00
30-test_pbelu.t
30-test_pkey_meth_kdf.t
30-test_pkey_meth.t
30-test_provider_status.t
40-test_rehash.t
60-test_x509_check_cert_pkey.t test: replace tabs with spaces in test recipes 2021-06-19 15:54:06 +10:00
60-test_x509_dup_cert.t
60-test_x509_store.t
60-test_x509_time.t
61-test_bio_prefix.t
61-test_bio_readbuffer.t
65-test_cmp_asn.t
65-test_cmp_client.t
65-test_cmp_ctx.t
65-test_cmp_hdr.t Update copyright year 2021-04-08 13:04:41 +01:00
65-test_cmp_msg.t
65-test_cmp_protect.t
65-test_cmp_server.t Use the fips-and-base.cnf config file in CMP tests 2021-06-08 18:53:39 +01:00
65-test_cmp_status.t Update copyright year 2021-04-08 13:04:41 +01:00
65-test_cmp_vfy.t Use the fips-and-base.cnf config file in CMP tests 2021-06-08 18:53:39 +01:00
66-test_ossl_store.t
70-test_asyncio.t
70-test_bad_dtls.t
70-test_clienthello.t
70-test_comp.t
70-test_key_share.t
70-test_packet.t
70-test_recordlen.t
70-test_renegotiation.t Move AllowClientRenegotiation tests 2021-06-15 12:36:51 +02:00
70-test_servername.t
70-test_sslcbcpadding.t
70-test_sslcertstatus.t
70-test_sslextension.t test_sslextension: skip tests that cannot work with no-tls1_2 2021-04-22 17:48:07 +02:00
70-test_sslmessages.t Update copyright year 2021-05-20 14:22:33 +01:00
70-test_sslrecords.t adapt tests to SSL_OP_LEGACY_SERVER_CONNECT change 2021-05-05 08:13:51 -07:00
70-test_sslsessiontick.t test: replace tabs with spaces in test recipes 2021-06-19 15:54:06 +10:00
70-test_sslsigalgs.t
70-test_sslsignature.t
70-test_sslskewith0p.t
70-test_sslversions.t
70-test_sslvertol.t Update copyright year 2021-04-08 13:04:41 +01:00
70-test_tls13alerts.t
70-test_tls13cookie.t
70-test_tls13downgrade.t
70-test_tls13hrr.t
70-test_tls13kexmodes.t Update expected results for tls13kexmodes tests 2021-05-12 09:11:48 -07:00
70-test_tls13messages.t
70-test_tls13psk.t
70-test_tlsextms.t
70-test_verify_extra.t
70-test_wpacket.t
71-test_ssl_ctx.t Update copyright year 2021-04-08 13:04:41 +01:00
79-test_http.t Update copyright year 2021-06-17 13:24:59 +01:00
80-test_ca.t test: fix indentation 2021-06-19 15:54:06 +10:00
80-test_cipherbytes.t
80-test_cipherlist.t
80-test_ciphername.t
80-test_cmp_http.t test/recipes/80-test_cmp_http.t: use app() rather than cmd() 2021-06-22 17:37:54 +02:00
80-test_cms.t 80-test_cms.t: Replace use of ee-self-signed.pem by more suitable smrsa1.pem 2021-06-02 14:49:13 +02:00
80-test_cmsapi.t
80-test_ct.t
80-test_dane.t
80-test_dtls_mtu.t
80-test_dtls.t
80-test_dtlsv1listen.t
80-test_ocsp.t test: replace tabs with spaces in test recipes 2021-06-19 15:54:06 +10:00
80-test_pkcs12.t Update copyright year 2021-05-06 13:03:23 +01:00
80-test_ssl_new.t Runchecker: fix TLS curves test failure with no-tls1_3 option 2021-04-23 11:13:30 +02:00
80-test_ssl_old.t test: put the new DHE auto test in the correct place 2021-06-22 12:42:16 +10:00
80-test_ssl_test_ctx.t
80-test_sslcorrupt.t
80-test_tsa.t TEST: Prefer using precomputed RSA and DH keys for more efficient tests 2021-05-27 11:06:01 +02:00
80-test_x509aux.t
81-test_cmp_cli.t TEST: check 'loadereng' to determine if loader_attic should be tested 2021-06-23 18:06:59 +02:00
90-test_asn1_time.t
90-test_async.t
90-test_bio_enc.t
90-test_bio_memleak.t
90-test_constant_time.t
90-test_fatalerr.t
90-test_fipsload.t Skip test_fipsload when fips is disabled. 2021-04-28 12:06:08 +02:00
90-test_gmdiff.t
90-test_ige.t
90-test_includes.t Add .includedir pragma 2021-05-05 13:11:35 +02:00
90-test_memleak.t
90-test_overhead.t
90-test_secmem.t
90-test_shlibload.t test/recipes/90-test_shlibload.t: Modify to work with known file names 2021-06-24 15:55:14 +10:00
90-test_srp.t
90-test_sslapi.t
90-test_sslbuffers.t
90-test_store.t TEST: check 'loadereng' to determine if loader_attic should be tested 2021-06-23 18:06:59 +02:00
90-test_sysdefault.t
90-test_threads.t TEST: Add test specific fipsmodule.cnf, and use it 2021-05-26 15:11:01 +02:00
90-test_time_offset.t
90-test_tls13ccs.t
90-test_tls13encryption.t TEST: Cleanup test recipes 2021-03-27 09:03:55 +01:00
90-test_tls13secrets.t TEST: Cleanup test recipes 2021-03-27 09:03:55 +01:00
90-test_v3name.t
91-test_pkey_check.t
95-test_external_gost_engine.t Skip GOST engine tests in out of tree builds 2021-04-28 09:38:31 +02:00
95-test_external_krb5.t Update krb5 module to latest release 2021-04-19 11:46:39 -07:00
95-test_external_pyca.t Update copyright year 2021-04-08 13:04:41 +01:00
99-test_ecstress.t
99-test_fuzz_asn1.t
99-test_fuzz_asn1parse.t
99-test_fuzz_bignum.t
99-test_fuzz_bndiv.t
99-test_fuzz_client.t
99-test_fuzz_cmp.t
99-test_fuzz_cms.t
99-test_fuzz_conf.t
99-test_fuzz_crl.t
99-test_fuzz_ct.t
99-test_fuzz_server.t
99-test_fuzz_x509.t
fuzz.pl
ocsp-response.der
tconversion.pl