Disable usage of SSLv3 in testing Integrated uptream version 0.9.74 diff --git a/src/testcurl/https/test_tls_options.c b/src/testcurl/https/test_tls_options.c --- a/src/testcurl/https/test_tls_options.c +++ b/src/testcurl/https/test_tls_options.c @@ -119,11 +119,6 @@ main (int argc, char *const *argv) fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); return 77; } - if (0 != strncmp (ssl_version, "GnuTLS", 6)) - { - fprintf (stderr, "This test can be run only with libcurl-gnutls.\n"); - return 77; - } if (! testsuite_curl_global_init ()) return 99; @@ -152,10 +147,10 @@ main (int argc, char *const *argv) fprintf (stderr, "The following handshake should fail (and print an error message)...\n"); if (0 != - test_wrap ("TLS1.0 vs SSL3", + test_wrap ("TLS1.1 vs TLS1.0", &test_unmatching_ssl_version, NULL, port, daemon_flags, aes256_sha, - CURL_SSLVERSION_SSLv3, + CURL_SSLVERSION_TLSv1_1, MHD_OPTION_HTTPS_MEM_KEY, srv_key_pem, MHD_OPTION_HTTPS_MEM_CERT, srv_self_signed_cert_pem, MHD_OPTION_HTTPS_PRIORITIES, sts/guix-archive.sh?id=8dd9ba3947b302392dfa47f20f45f64043993591'>treecommitdiff
path: root/tests/guix-archive.sh
AgeCommit message (Expand)Author
2020-12-15serialization: 'restore-file' sets canonical timestamp and permissions....* guix/serialization.scm (restore-file): Set the permissions and mtime of FILE. * guix/nar.scm (finalize-store-file): Pass #:reset-timestamps? #f to 'register-items'. * tests/nar.scm (rm-rf): Add 'chmod' calls to ensure files are writable. ("write-file + restore-file with symlinks"): Ensure every file in OUTPUT passes 'canonical-file?'. * tests/guix-archive.sh: Run "chmod -R +w" before "rm -rf". Ludovic Courtès
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier