--- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -13,9 +13,9 @@ add_test_case(ApiMultiDefaultCreateDestroy) add_test_case(EventLoopResourceSafety) add_test_case(ClientBootstrapResourceSafety) if (NOT BYO_CRYPTO) - add_net_test_case(MqttClientResourceSafety) + #add_net_test_case(MqttClientResourceSafety) add_net_test_case(MqttClientNewConnectionUninitializedTlsContext) - add_net_test_case(TLSContextResourceSafety) + #add_net_test_case(TLSContextResourceSafety) add_net_test_case(TLSContextUninitializedNewConnectionOptions) endif () add_test_case(Base64RoundTrip) @@ -29,15 +29,15 @@ add_test_case(SHA256ResourceSafety) add_test_case(MD5ResourceSafety) add_test_case(SHA256HMACResourceSafety) if (NOT BYO_CRYPTO) - add_net_test_case(HttpDownloadNoBackPressureHTTP1_1) - add_net_test_case(HttpDownloadNoBackPressureHTTP2) - add_net_test_case(HttpStreamUnActivated) + #add_net_test_case(HttpDownloadNoBackPressureHTTP1_1) + #add_net_test_case(HttpDownloadNoBackPressureHTTP2) + #add_net_test_case(HttpStreamUnActivated) add_net_test_case(HttpCreateConnectionInvalidTlsConnectionOptions) add_net_test_case(IotPublishSubscribe) - add_net_test_case(HttpClientConnectionManagerResourceSafety) + #add_net_test_case(HttpClientConnectionManagerResourceSafety) add_net_test_case(HttpClientConnectionManagerInvalidTlsConnectionOptions) - add_net_test_case(HttpClientConnectionWithPendingAcquisitions) - add_net_test_case(HttpClientConnectionWithPendingAcquisitionsAndClosedConnections) + #add_net_test_case(HttpClientConnectionWithPendingAcquisitions) + #add_net_test_case(HttpClientConnectionWithPendingAcquisitionsAndClosedConnections) endif () add_test_case(DefaultResolution) add_test_case(OptionalCopySafety) @@ -55,8 +55,8 @@ add_test_case(TestProviderEnvironmentGet) add_test_case(TestProviderProfileGet) add_test_case(TestProviderImdsGet) if (NOT BYO_CRYPTO) - add_net_test_case(TestProviderDefaultChainGet) - add_net_test_case(TestProviderDefaultChainManualTlsContextGet) + #add_net_test_case(TestProviderDefaultChainGet) + #add_net_test_case(TestProviderDefaultChainManualTlsContextGet) endif () add_test_case(TestProviderDelegateGet) add_test_case(HttpRequestTestCreateDestroy) og/tests/channels.scm?id=397ea21db2c6bb9d5cc589cdc834b07fffe503fc&showmsg=1'>channels.scm
AgeCommit message (Collapse)Author
2022-10-22Remove now unnecessary uses of (guix grafts).Ludovic Courtès
These modules would use (guix grafts) just to access '%graft?' and related bindings, which are now in (guix store). * gnu/ci.scm, guix/gexp.scm, guix/lint.scm, guix/scripts.scm, guix/scripts/archive.scm, guix/scripts/build.scm, guix/scripts/challenge.scm, guix/scripts/deploy.scm, guix/scripts/environment.scm, guix/scripts/home.scm, guix/scripts/pack.scm, guix/scripts/package.scm, guix/scripts/pull.scm, guix/scripts/size.scm, guix/scripts/system.scm, guix/scripts/weather.scm, tests/builders.scm, tests/channels.scm, tests/cpan.scm, tests/derivations.scm, tests/gexp.scm, tests/graph.scm, tests/guix-daemon.sh, tests/monads.scm, tests/pack.scm, tests/packages.scm, tests/profiles.scm, tests/system.scm: Remove #:use-module (guix grafts).
2022-02-14git-authenticate: Ensure the target is a descendant of the introductory commit.Ludovic Courtès
Fixes a bug whereby authentication of a commit *not* descending from the introductory commit could succeed, provided the commit verifies the authorization invariant. In the example below, A is a common ancestor of the introductory commit I and of commit X. Authentication of X would succeed, even though it is not a descendant of I, as long as X is authorized according to the '.guix-authorizations' in A: X I \ / A This is because, 'authenticate-repository' would not check whether X descends from I, and the call (commit-difference X I) would return X. In practice that only affects forks because it means that ancestors of the introductory commit already contain a '.guix-authorizations' file. * guix/git-authenticate.scm (authenticate-repository): Add call to 'commit-descendant?'. * tests/channels.scm ("authenticate-channel, not a descendant of introductory commit"): New test. * tests/git-authenticate.scm ("authenticate-repository, target not a descendant of intro"): New test. * tests/guix-git-authenticate.sh: Expect earlier test to fail since 9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604 is not a descendant of $intro_commit. Add new test targeting an ancestor of the introductory commit, and another test targeting the v1.2.0 commit. * doc/guix.texi (Specifying Channel Authorizations): Add a sentence.
2021-12-22tests: Move keys into ./tests/keys/ and add a third ed25519 key.Attila Lendvai
The third key will be used in an upcoming commit. Rename public keys to .pub. * guix/tests/gnupg.scm (%ed25519-3-public-key-file): New variable. (%ed25519-3-secret-key-file): New variable. (%ed25519-2-public-key-file): Renamed from %ed25519bis-public-key-file. (%ed25519-2-secret-key-file): Renamed from %ed25519bis-secret-key-file. * tests/keys/ed25519-3.key: New file. * tests/keys/ed25519-3.sec: New file. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-18channels: 'channel-news-entry-commit' correctly resolves annotated tags.Ludovic Courtès
Previously, 'channel-news-entry-commit' would return the tag ID rather than the commit ID when the news entry was referred to via an annotated tag. Reported by Xinglu Chen <public@yoctocell.xyz>. * guix/channels.scm (resolve-channel-news-entry-tag): Check whether the reference points to annotated tag; resolve it if it does. * tests/channels.scm ("channel-news, annotated tag"): New test.