Skip to content

gotooltest: run probe commands in temporary directory#188

Merged
myitcv merged 1 commit intomasterfrom
gotooltest_temp_dir
Nov 21, 2022
Merged

gotooltest: run probe commands in temporary directory#188
myitcv merged 1 commit intomasterfrom
gotooltest_temp_dir

Conversation

@myitcv
Copy link
Copy Markdown
Collaborator

@myitcv myitcv commented Nov 21, 2022

(see commit message)

@myitcv myitcv force-pushed the gotooltest_temp_dir branch from 4b5f683 to a106d76 Compare November 21, 2022 06:29
Comment thread gotooltest/setup_test.go Outdated
Comment thread gotooltest/setup_test.go Outdated
Comment thread gotooltest/setup.go Outdated
Copy link
Copy Markdown
Owner

@rogpeppe rogpeppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo @mvdan's suggestions, thanks.

Comment thread gotooltest/setup_test.go
Comment thread gotooltest/setup.go
This ensures we don't make any assumptions about the caller's working
directory, which might contain an invalid go.mod, for example.
@myitcv myitcv force-pushed the gotooltest_temp_dir branch from a106d76 to 1589a92 Compare November 21, 2022 09:51
@myitcv
Copy link
Copy Markdown
Collaborator Author

myitcv commented Nov 21, 2022

@mvdan - changes made. PTAL.

@myitcv myitcv merged commit c7b2344 into master Nov 21, 2022
@myitcv myitcv deleted the gotooltest_temp_dir branch November 21, 2022 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants