Author: Danny Milosavljevic The socket name ended up too long inside the container. Use a shorter one. --- a/pkg/authorization/authz_unix_test.go 2019-01-10 01:55:02.997985947 +0100 +++ b/pkg/authorization/authz_unix_test.go 2019-01-10 02:03:21.177439757 +0100 @@ -24,7 +24,7 @@ ) const ( - pluginAddress = "authz-test-plugin.sock" + pluginAddress = "/tmp/authz-test-plugin.sock" ) func TestAuthZRequestPluginError(t *testing.T) { @@ -263,12 +263,7 @@ // createTestPlugin creates a new sample authorization plugin func createTestPlugin(t *testing.T) *authorizationPlugin { - pwd, err := os.Getwd() - if err != nil { - t.Fatal(err) - } - - client, err := plugins.NewClient("unix:///"+path.Join(pwd, pluginAddress), &tlsconfig.Options{InsecureSkipVerify: true}) + client, err := plugins.NewClient("unix:///"+path.Join("/", pluginAddress), &tlsconfig.Options{InsecureSkipVerify: true}) if err != nil { t.Fatalf("Failed to create client %v", err) } ass='tabs'> aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
AgeCommit message (Expand)Author
2022-07-12guix: Really export 'define-public'....This is a followup to 3858275962f1ac567b5dce2355035f9eddea0a05, which didn't have any effect. * guix.scm: Explicitly use (guix packages) so #:re-export-and-replace is effective. Ludovic Courtès
2021-09-14guix: Replace 'define-public'....This is a followup to 8531997d2a1e10d574a6e9ab70bc86ade6af4733. * guix.scm: Use #:re-export-and-replace for 'define-public'. Ludovic Courtès
2021-06-29(guix) no longer pulls in (guix ftp-client)....That choice was made in 2014 and never made much sense. * guix.scm (%public-modules): Remove 'ftp-client'. Ludovic Courtès