Skip to content

Commit

Permalink
tests: removing of dlvbin is not needed (#3875)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Dec 9, 2024
1 parent 477e46e commit 84c99e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/dlv/dlv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func TestBuild(t *testing.T) {
const listenAddr = "127.0.0.1:40573"

dlvbin := protest.GetDlvBinary(t)
defer os.Remove(dlvbin)

fixtures := protest.FindFixturesDir()

Expand Down Expand Up @@ -1421,7 +1420,6 @@ func TestUnixDomainSocket(t *testing.T) {
listenPath := filepath.Join(tmpdir, "delve_test")

dlvbin := protest.GetDlvBinary(t)
defer os.Remove(dlvbin)

fixtures := protest.FindFixturesDir()

Expand Down
1 change: 0 additions & 1 deletion service/test/integration2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3169,7 +3169,6 @@ func TestGuessSubstitutePath(t *testing.T) {
defer os.Setenv("GOFLAGS", oldgoflags)

dlvbin := protest.GetDlvBinary(t)
defer os.Remove(dlvbin)

listener, clientConn := service.ListenerPipe()
defer listener.Close()
Expand Down

0 comments on commit 84c99e5

Please sign in to comment.