This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,6 @@ integration-tests-stable-negative: clean-tests depend-noforce populate-noforce
358358.PHONY : integration-tests-stable-pkcs11
359359integration-tests-stable-pkcs11 : clean-tests depend-noforce populate-noforce
360360 @. $(FIXTURE_DOCKERENV_PATH ) /stable-env.sh && \
361- . $(FIXTURE_DOCKERENV_PATH ) /nomutualtls-env.sh && \
362361 . $(FIXTURE_CRYPTOCONFIG_PATH ) /env.sh && \
363362 $(FABRIC_DEV_REGISTRY_PRE_CMD ) && \
364363 cd $(FIXTURE_DOCKERENV_PATH ) && \
Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ PKGS=($(${GO_CMD} list ${REPO}/test/integration/... 2> /dev/null | \
4646# Reduce tests to changed packages.
4747if [ " ${TEST_CHANGED_ONLY} " = true ]; then
4848 # findChangedFiles assumes that the working directory contains the repo; so change to the repo directory.
49- PWD =$( pwd)
49+ PWD_ORIG =$( pwd)
5050 cd " ${GOPATH} /src/${REPO} "
5151 findChangedFiles
52- cd ${PWD }
52+ cd ${PWD_ORIG }
5353
5454 if [[ " ${CHANGED_FILES[@]} " =~ ( | ^)(test/fixtures/| test/metadata/| test/scripts/| Makefile( | $)| Gopkg.lock( | $)| ci.properties( | $)) ]]; then
5555 echo " Test scripts, fixtures or metadata changed - running all tests"
@@ -78,7 +78,7 @@ if [ ${#PKGS[@]} -eq 0 ]; then
7878 exit 0
7979fi
8080
81- workingDir=$( pwd )
81+ workingDir=${GOPATH} /src/ ${REPO}
8282declare -a PRIVATE_KEYS=($( find ${workingDir} /test/fixtures/fabric/${FABRIC_CRYPTOCONFIG_VERSION} | grep ' /users/' | grep ' _sk$' | tr ' \n' ' ' ) )
8383PRIVATE_KEYS+=($( find ${workingDir} /test/fixtures/fabric/${FABRIC_CRYPTOCONFIG_VERSION} | grep ' User1@tls.example.com' | grep ' .key$' | tr ' \n' ' ' ) )
8484
Original file line number Diff line number Diff line change 5353# Reduce tests to changed packages.
5454if [ " ${TEST_CHANGED_ONLY} " = true ]; then
5555 # findChangedFiles assumes that the working directory contains the repo; so change to the repo directory.
56- PWD =$( pwd)
56+ PWD_ORIG =$( pwd)
5757 cd " ${GOPATH} /src/${REPO} "
5858 findChangedFiles
59- cd ${PWD }
59+ cd ${PWD_ORIG }
6060
6161 if [[ " ${CHANGED_FILES[@]} " =~ ( | ^)(test/fixtures/| test/metadata/| test/scripts/| Makefile( | $)| Gopkg.lock( | $)| ci.properties( | $)) ]]; then
6262 echo " Test scripts, fixtures or metadata changed - running all tests"
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ PKGS=($(${GO_CMD} list ${REPO}/test/integration/negative/... 2> /dev/null | \
4242# Reduce tests to changed packages.
4343if [ " ${TEST_CHANGED_ONLY} " = true ]; then
4444 # findChangedFiles assumes that the working directory contains the repo; so change to the repo directory.
45- PWD =$( pwd)
45+ PWD_ORIG =$( pwd)
4646 cd " ${GOPATH} /src/${REPO} "
4747 findChangedFiles
48- cd ${PWD }
48+ cd ${PWD_ORIG }
4949
5050 if [[ " ${CHANGED_FILES[@]} " =~ ( | ^)(test/fixtures/| test/metadata/| test/scripts/| Makefile( | $)| Gopkg.lock( | $)| ci.properties( | $)) ]]; then
5151 echo " Test scripts, fixtures or metadata changed - running all tests"
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ declare -a PKGS=(
4242# Reduce unit tests to changed packages.
4343if [ " $TEST_CHANGED_ONLY " = true ]; then
4444 # findChangedFiles assumes that the working directory contains the repo; so change to the repo directory.
45- PWD =$( pwd)
45+ PWD_ORIG =$( pwd)
4646 cd " ${GOPATH} /src/${REPO} "
4747 findChangedFiles
48- cd ${PWD }
48+ cd ${PWD_ORIG }
4949
5050 if [[ " ${CHANGED_FILES[@]} " =~ ( | ^)(test/fixtures/| test/metadata/| test/scripts/| Makefile( | $)| Gopkg.lock( | $)| gometalinter.json( | $)| ci.properties( | $)) ]]; then
5151 echo " Test scripts, fixtures or metadata changed - running all tests"
You can’t perform that action at this time.
0 commit comments