Skip to content

Commit

Permalink
Fix integration test for Go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Nov 28, 2021
1 parent ed984ef commit b924ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test: ## Runs the unit tests

.PHONY: test\:integration
test\:integration: prepare ## Runs the integration tests with zfs (requires sudo)
sudo sh -c "go env -w GOPATH=$$(go env GOPATH) && go test -tags=integration -v ./test/... -parentDataset $(zfs_dataset)"
sudo -H sh -c "go env && go test -tags=integration -v ./test/... -parentDataset $(zfs_dataset)"

.PHONY: fmt
fmt: ## Run go fmt against code
Expand Down

0 comments on commit b924ea6

Please sign in to comment.