]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: suffix .sh for all shell-script tests
authorDaiki Ueno <ueno@gnu.org>
Sat, 30 Jan 2021 09:49:07 +0000 (10:49 +0100)
committerDaiki Ueno <ueno@gnu.org>
Wed, 17 Feb 2021 17:09:46 +0000 (18:09 +0100)
Otherwise valgrind will run against /bin/sh.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
81 files changed:
tests/Makefile.am
tests/cert-tests/Makefile.am
tests/cert-tests/aki.sh [moved from tests/cert-tests/aki with 100% similarity]
tests/cert-tests/alt-chain.sh [moved from tests/cert-tests/alt-chain with 100% similarity]
tests/cert-tests/cert-critical.sh [moved from tests/cert-tests/cert-critical with 100% similarity]
tests/cert-tests/cert-non-digits-time.sh [moved from tests/cert-tests/cert-non-digits-time with 100% similarity]
tests/cert-tests/cert-sanity.sh [moved from tests/cert-tests/cert-sanity with 100% similarity]
tests/cert-tests/cert-time.sh [moved from tests/cert-tests/cert-time with 100% similarity]
tests/cert-tests/certtool-crl-decoding.sh [moved from tests/cert-tests/certtool-crl-decoding with 100% similarity]
tests/cert-tests/certtool-ecdsa.sh [moved from tests/cert-tests/certtool-ecdsa with 100% similarity]
tests/cert-tests/certtool-eddsa.sh [moved from tests/cert-tests/certtool-eddsa with 100% similarity]
tests/cert-tests/certtool-long-cn.sh [moved from tests/cert-tests/certtool-long-cn with 100% similarity]
tests/cert-tests/certtool-long-oids.sh [moved from tests/cert-tests/certtool-long-oids with 100% similarity]
tests/cert-tests/certtool-rsa-pss.sh [moved from tests/cert-tests/certtool-rsa-pss with 100% similarity]
tests/cert-tests/certtool-subca.sh [moved from tests/cert-tests/certtool-subca with 100% similarity]
tests/cert-tests/certtool-utf8.sh [moved from tests/cert-tests/certtool-utf8 with 100% similarity]
tests/cert-tests/certtool-verify-profiles.sh [moved from tests/cert-tests/certtool-verify-profiles with 100% similarity]
tests/cert-tests/certtool.sh [moved from tests/cert-tests/certtool with 100% similarity]
tests/cert-tests/crl.sh [moved from tests/cert-tests/crl with 100% similarity]
tests/cert-tests/crq.sh [moved from tests/cert-tests/crq with 100% similarity]
tests/cert-tests/dane.sh [moved from tests/cert-tests/dane with 100% similarity]
tests/cert-tests/dsa.sh [moved from tests/cert-tests/dsa with 100% similarity]
tests/cert-tests/ecdsa.sh [moved from tests/cert-tests/ecdsa with 100% similarity]
tests/cert-tests/email.sh [moved from tests/cert-tests/email with 100% similarity]
tests/cert-tests/gost.sh [moved from tests/cert-tests/gost with 100% similarity]
tests/cert-tests/illegal-rsa.sh [moved from tests/cert-tests/illegal-rsa with 100% similarity]
tests/cert-tests/inhibit-anypolicy.sh [moved from tests/cert-tests/inhibit-anypolicy with 100% similarity]
tests/cert-tests/invalid-sig.sh [moved from tests/cert-tests/invalid-sig with 100% similarity]
tests/cert-tests/key-id.sh [moved from tests/cert-tests/key-id with 100% similarity]
tests/cert-tests/key-invalid.sh [moved from tests/cert-tests/key-invalid with 100% similarity]
tests/cert-tests/krb5-test.sh [moved from tests/cert-tests/krb5-test with 100% similarity]
tests/cert-tests/md5-test.sh [moved from tests/cert-tests/md5-test with 100% similarity]
tests/cert-tests/name-constraints.sh [moved from tests/cert-tests/name-constraints with 100% similarity]
tests/cert-tests/othername-test.sh [moved from tests/cert-tests/othername-test with 100% similarity]
tests/cert-tests/pathlen.sh [moved from tests/cert-tests/pathlen with 100% similarity]
tests/cert-tests/pem-decoding.sh [moved from tests/cert-tests/pem-decoding with 100% similarity]
tests/cert-tests/pkcs1-pad.sh [moved from tests/cert-tests/pkcs1-pad with 100% similarity]
tests/cert-tests/pkcs12-corner-cases.sh [moved from tests/cert-tests/pkcs12-corner-cases with 100% similarity]
tests/cert-tests/pkcs12-encode.sh [moved from tests/cert-tests/pkcs12-encode with 100% similarity]
tests/cert-tests/pkcs12-gost.sh [moved from tests/cert-tests/pkcs12-gost with 100% similarity]
tests/cert-tests/pkcs12-utf8.sh [moved from tests/cert-tests/pkcs12-utf8 with 100% similarity]
tests/cert-tests/pkcs12.sh [moved from tests/cert-tests/pkcs12 with 100% similarity]
tests/cert-tests/pkcs7-broken-sigs.sh [moved from tests/cert-tests/pkcs7-broken-sigs with 100% similarity]
tests/cert-tests/pkcs7-cat.sh [moved from tests/cert-tests/pkcs7-cat with 100% similarity]
tests/cert-tests/pkcs7-constraints.sh [moved from tests/cert-tests/pkcs7-constraints with 100% similarity]
tests/cert-tests/pkcs7-constraints2.sh [moved from tests/cert-tests/pkcs7-constraints2 with 100% similarity]
tests/cert-tests/pkcs7-eddsa.sh [moved from tests/cert-tests/pkcs7-eddsa with 100% similarity]
tests/cert-tests/pkcs7-list-sign.sh [moved from tests/cert-tests/pkcs7-list-sign with 100% similarity]
tests/cert-tests/pkcs7.sh [moved from tests/cert-tests/pkcs7 with 100% similarity]
tests/cert-tests/pkcs8-decode.sh [moved from tests/cert-tests/pkcs8-decode with 100% similarity]
tests/cert-tests/pkcs8-eddsa.sh [moved from tests/cert-tests/pkcs8-eddsa with 100% similarity]
tests/cert-tests/pkcs8-gost.sh [moved from tests/cert-tests/pkcs8-gost with 100% similarity]
tests/cert-tests/pkcs8-invalid.sh [moved from tests/cert-tests/pkcs8-invalid with 100% similarity]
tests/cert-tests/pkcs8.sh [moved from tests/cert-tests/pkcs8 with 100% similarity]
tests/cert-tests/privkey-import.sh [moved from tests/cert-tests/privkey-import with 100% similarity]
tests/cert-tests/provable-dh-default.sh [moved from tests/cert-tests/provable-dh-default with 100% similarity]
tests/cert-tests/provable-dh.sh [moved from tests/cert-tests/provable-dh with 100% similarity]
tests/cert-tests/provable-privkey-dsa2048.sh [moved from tests/cert-tests/provable-privkey-dsa2048 with 100% similarity]
tests/cert-tests/provable-privkey-gen-default.sh [moved from tests/cert-tests/provable-privkey-gen-default with 100% similarity]
tests/cert-tests/provable-privkey-rsa2048.sh [moved from tests/cert-tests/provable-privkey-rsa2048 with 100% similarity]
tests/cert-tests/provable-privkey.sh [moved from tests/cert-tests/provable-privkey with 100% similarity]
tests/cert-tests/reject-invalid-time.sh [moved from tests/cert-tests/reject-invalid-time with 100% similarity]
tests/cert-tests/rsa-pss-pad.sh [moved from tests/cert-tests/rsa-pss-pad with 100% similarity]
tests/cert-tests/sha2-dsa-test.sh [moved from tests/cert-tests/sha2-dsa-test with 100% similarity]
tests/cert-tests/sha2-test.sh [moved from tests/cert-tests/sha2-test with 100% similarity]
tests/cert-tests/sha3-test.sh [moved from tests/cert-tests/sha3-test with 100% similarity]
tests/cert-tests/smime.sh [moved from tests/cert-tests/smime with 100% similarity]
tests/cert-tests/template-exts-test.sh [moved from tests/cert-tests/template-exts-test with 100% similarity]
tests/cert-tests/template-test.sh [moved from tests/cert-tests/template-test with 100% similarity]
tests/cert-tests/tlsfeature-test.sh [moved from tests/cert-tests/tlsfeature-test with 100% similarity]
tests/cert-tests/tolerate-invalid-time.sh [moved from tests/cert-tests/tolerate-invalid-time with 100% similarity]
tests/cert-tests/userid.sh [moved from tests/cert-tests/userid with 100% similarity]
tests/cert-tests/x509-duplicate-ext.sh [moved from tests/cert-tests/x509-duplicate-ext with 100% similarity]
tests/dtls/dtls-resume.sh [moved from tests/dtls/dtls-resume with 100% similarity]
tests/dtls/dtls.sh [moved from tests/dtls/dtls with 100% similarity]
tests/ocsp-tests/ocsp-load-chain.sh [moved from tests/ocsp-tests/ocsp-load-chain with 100% similarity]
tests/ocsp-tests/ocsp-must-staple-connection.sh [moved from tests/ocsp-tests/ocsp-must-staple-connection with 100% similarity]
tests/ocsp-tests/ocsp-test.sh [moved from tests/ocsp-tests/ocsp-test with 100% similarity]
tests/ocsp-tests/ocsp-tls-connection.sh [moved from tests/ocsp-tests/ocsp-tls-connection with 100% similarity]
tests/ocsp-tests/ocsptool.sh [moved from tests/ocsp-tests/ocsptool with 100% similarity]
tests/rfc2253-escape-test.sh [moved from tests/rfc2253-escape-test with 100% similarity]

index aef41b5ce6219e3af847fbe95d38b930209902f2..d0880e716d3d4ef867f9b445588ef88359cd3d1a 100644 (file)
@@ -482,7 +482,7 @@ if !WINDOWS
 # List of tests not available/functional under windows
 #
 
-dist_check_SCRIPTS += dtls/dtls dtls/dtls-resume #dtls/dtls-nb
+dist_check_SCRIPTS += dtls/dtls.sh dtls/dtls-resume.sh #dtls/dtls-nb
 
 indirect_tests += dtls-stress
 
@@ -492,10 +492,10 @@ dtls_stress_LDADD = $(COMMON_GNUTLS_LDADD) \
 
 dist_check_SCRIPTS += fastopen.sh pkgconfig.sh starttls.sh starttls-ftp.sh starttls-smtp.sh \
        starttls-lmtp.sh starttls-pop3.sh starttls-xmpp.sh starttls-nntp.sh starttls-sieve.sh \
-       ocsp-tests/ocsp-tls-connection ocsp-tests/ocsp-must-staple-connection \
-       ocsp-tests/ocsp-test cipher-listings.sh sni-hostname.sh server-multi-keys.sh \
-       psktool.sh ocsp-tests/ocsp-load-chain gnutls-cli-save-data.sh gnutls-cli-debug.sh \
-       sni-resume.sh ocsp-tests/ocsptool cert-reencoding.sh pkcs7-cat.sh long-crl.sh \
+       ocsp-tests/ocsp-tls-connection.sh ocsp-tests/ocsp-must-staple-connection.sh \
+       ocsp-tests/ocsp-test.sh cipher-listings.sh sni-hostname.sh server-multi-keys.sh \
+       psktool.sh ocsp-tests/ocsp-load-chain.sh gnutls-cli-save-data.sh gnutls-cli-debug.sh \
+       sni-resume.sh ocsp-tests/ocsptool.sh cert-reencoding.sh pkcs7-cat.sh long-crl.sh \
        serv-udp.sh logfile-option.sh gnutls-cli-resume.sh profile-tests.sh \
        server-weak-keys.sh
 
index 17886ef7c55606ff313f2d25217f9118e7e7b584..80f7a8611bfe1cd49e531ce45ceb56d4b1cc144b 100644 (file)
@@ -103,46 +103,46 @@ EXTRA_DIST = data/ca-no-pathlen.pem data/no-ca-or-pathlen.pem data/aki-cert.pem
        templates/template-no-ca-honor.tmpl templates/template-no-ca-explicit.tmpl \
        data/crq-cert-no-ca-explicit.pem data/crq-cert-no-ca-honor.pem data/commonName.cer
 
-dist_check_SCRIPTS = pathlen aki invalid-sig email \
-       pkcs7 pkcs7-broken-sigs privkey-import name-constraints certtool-long-cn crl provable-privkey \
-       provable-dh userid sha2-test sha2-dsa-test provable-privkey-dsa2048 \
-       provable-privkey-rsa2048 provable-privkey-gen-default pkcs7-constraints \
-       pkcs7-constraints2 certtool-long-oids pkcs7-cat cert-sanity cert-critical \
-       pkcs12 certtool-crl-decoding pkcs12-encode pkcs12-corner-cases inhibit-anypolicy \
-       smime cert-time alt-chain pkcs7-list-sign pkcs7-eddsa certtool-ecdsa \
-       key-id pkcs8 pkcs8-decode ecdsa illegal-rsa pkcs8-invalid key-invalid \
-       pkcs8-eddsa certtool-subca certtool-verify-profiles x509-duplicate-ext
-
-dist_check_SCRIPTS += key-id ecdsa pkcs8-invalid key-invalid pkcs8-decode pkcs8 pkcs8-eddsa \
-       certtool-utf8 crq
+dist_check_SCRIPTS = pathlen.sh aki.sh invalid-sig.sh email.sh \
+       pkcs7.sh pkcs7-broken-sigs.sh privkey-import.sh name-constraints.sh certtool-long-cn.sh crl.sh provable-privkey.sh \
+       provable-dh.sh userid.sh sha2-test.sh sha2-dsa-test.sh provable-privkey-dsa2048.sh \
+       provable-privkey-rsa2048.sh provable-privkey-gen-default.sh pkcs7-constraints.sh \
+       pkcs7-constraints2.sh certtool-long-oids.sh pkcs7-cat.sh cert-sanity.sh cert-critical.sh \
+       pkcs12.sh certtool-crl-decoding.sh pkcs12-encode.sh pkcs12-corner-cases.sh inhibit-anypolicy.sh \
+       smime.sh cert-time.sh alt-chain.sh pkcs7-list-sign.sh pkcs7-eddsa.sh certtool-ecdsa.sh \
+       key-id.sh pkcs8.sh pkcs8-decode.sh ecdsa.sh illegal-rsa.sh pkcs8-invalid.sh key-invalid.sh \
+       pkcs8-eddsa.sh certtool-subca.sh certtool-verify-profiles.sh x509-duplicate-ext.sh
+
+dist_check_SCRIPTS += key-id.sh ecdsa.sh pkcs8-invalid.sh key-invalid.sh pkcs8-decode.sh pkcs8.sh pkcs8-eddsa.sh \
+       certtool-utf8.sh crq.sh
 
 if STRICT_DER_TIME
-dist_check_SCRIPTS += cert-non-digits-time reject-invalid-time
+dist_check_SCRIPTS += cert-non-digits-time.sh reject-invalid-time.sh
 else
-dist_check_SCRIPTS += tolerate-invalid-time
+dist_check_SCRIPTS += tolerate-invalid-time.sh
 endif
 
 if WANT_TEST_SUITE
-dist_check_SCRIPTS += provable-dh-default
+dist_check_SCRIPTS += provable-dh-default.sh
 endif
 
 if !WINDOWS
-dist_check_SCRIPTS += template-test pem-decoding othername-test krb5-test sha3-test md5-test \
-       tlsfeature-test template-exts-test pkcs1-pad pkcs12-utf8 rsa-pss-pad dsa certtool
+dist_check_SCRIPTS += template-test.sh pem-decoding.sh othername-test.sh krb5-test.sh sha3-test.sh md5-test.sh \
+       tlsfeature-test.sh template-exts-test.sh pkcs1-pad.sh pkcs12-utf8.sh rsa-pss-pad.sh dsa.sh certtool.sh
 endif
 
 if ENABLE_DANE
-dist_check_SCRIPTS += dane
+dist_check_SCRIPTS += dane.sh
 endif
 
 if ENABLE_GOST
-dist_check_SCRIPTS += gost
+dist_check_SCRIPTS += gost.sh
 if !WINDOWS
-dist_check_SCRIPTS += pkcs12-gost pkcs8-gost
+dist_check_SCRIPTS += pkcs12-gost.sh pkcs8-gost.sh
 endif
 endif
 
-dist_check_SCRIPTS += certtool-rsa-pss certtool-eddsa
+dist_check_SCRIPTS += certtool-rsa-pss.sh certtool-eddsa.sh
 
 TESTS = $(dist_check_SCRIPTS)
 
similarity index 100%
rename from tests/cert-tests/aki
rename to tests/cert-tests/aki.sh
similarity index 100%
rename from tests/cert-tests/crl
rename to tests/cert-tests/crl.sh
similarity index 100%
rename from tests/cert-tests/crq
rename to tests/cert-tests/crq.sh
similarity index 100%
rename from tests/cert-tests/dsa
rename to tests/cert-tests/dsa.sh
similarity index 100%
rename from tests/dtls/dtls
rename to tests/dtls/dtls.sh