From f690825c8d0ceaf15be2f58e7d6146bc8b3bfb70 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Wed, 29 Sep 2021 14:06:56 -0700 Subject: [PATCH] Integration Test Tor Path --- testing/filesharing/file_sharing_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/filesharing/file_sharing_integration_test.go b/testing/filesharing/file_sharing_integration_test.go index d215ce5..6fcf3cf 100644 --- a/testing/filesharing/file_sharing_integration_test.go +++ b/testing/filesharing/file_sharing_integration_test.go @@ -76,7 +76,7 @@ func TestFileSharing(t *testing.T) { } tor.NewTorrc().WithSocksPort(socksPort).WithOnionTrafficOnly().WithHashedPassword(base64.StdEncoding.EncodeToString(key)).WithControlPort(controlPort).Build("tordir/tor/torrc") - acn, err := tor.NewTorACNWithAuth("./tordir", path.Join("..", "tor"), controlPort, tor.HashedPasswordAuthenticator{Password: base64.StdEncoding.EncodeToString(key)}) + acn, err := tor.NewTorACNWithAuth("./tordir", path.Join("..", "..", "tor"), controlPort, tor.HashedPasswordAuthenticator{Password: base64.StdEncoding.EncodeToString(key)}) if err != nil { t.Fatalf("Could not start Tor: %v", err) }