Skip to content

Commit

Permalink
[skip ci] remove temporary workaround from integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Jan 13, 2021
1 parent 6693a26 commit d1dfab3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Makefile
Expand Up @@ -43,14 +43,8 @@ test: build
$(GOTEST) -v ./... 2>&1

integration-test: build
# temporary workaround, remove next line when x/net false positive is fixed
echo 'CVE-2018-17142 until=2020-10-22 #x/net false positive\nCVE-2018-17846 until=2020-10-22\nCVE-2018-17143 until=2020-10-22\nCVE-2018-17847 until=2020-10-22\nCVE-2018-17848 until=2020-10-22' > packages/testdata/.nancy-ignore
cd packages/testdata && GOPATH=. ../../$(BINARY_NAME) sleuth -p Gopkg.lock && cd -
# temporary workaround, remove next line when x/net false positive is fixed
mv packages/testdata/.nancy-ignore .
go list -json -m all | ./$(BINARY_NAME) sleuth
go list -m all | ./$(BINARY_NAME) sleuth
go list -json -m all > deps.out && ./$(BINARY_NAME) sleuth < deps.out
go list -m all > deps.out && ./$(BINARY_NAME) sleuth < deps.out
# temporary workaround, remove next line when x/net false positive is fixed
rm .nancy-ignore

0 comments on commit d1dfab3

Please sign in to comment.