Skip to content

Commit

Permalink
Merge pull request #15376 from spowelljr/removeLicenesDir
Browse files Browse the repository at this point in the history
tests: Remove license dir after test
  • Loading branch information
spowelljr committed Nov 21, 2022
2 parents 0052ba3 + f19b198 commit cf94ce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2215,6 +2215,7 @@ func validateLicenseCmd(ctx context.Context, t *testing.T, _ string) {
if rr, err := Run(t, exec.CommandContext(ctx, Target(), "license")); err != nil {
t.Fatalf("command %q failed: %v", rr.Stdout.String(), err)
}
defer os.Remove("./licenses")
files, err := os.ReadDir("./licenses")
if err != nil {
t.Fatalf("failed to read licenses dir: %v", err)
Expand Down

0 comments on commit cf94ce5

Please sign in to comment.