From 7686ff6c465fd9410d8916d8316971ca751b0a71 Mon Sep 17 00:00:00 2001 From: Aaron Klotz Date: Tue, 5 Sep 2023 15:43:30 -0600 Subject: [PATCH] Update clientupdate/distsign/distsign_test.go Co-authored-by: Andrew Lytvynov Signed-off-by: Aaron Klotz --- clientupdate/distsign/distsign_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/clientupdate/distsign/distsign_test.go b/clientupdate/distsign/distsign_test.go index c00cc6c15..a74c14fd4 100644 --- a/clientupdate/distsign/distsign_test.go +++ b/clientupdate/distsign/distsign_test.go @@ -204,9 +204,6 @@ func TestValidateLocalBinary(t *testing.T) { want := []byte("world") srv.addSigned("hello", want) dst := filepath.Join(t.TempDir(), tt.src) - t.Cleanup(func() { - os.Remove(dst) - }) err := c.Download(context.Background(), tt.src, dst) if err != nil { t.Fatalf("unexpected error from Download(%q): %v", tt.src, err)