diff --git a/Makefile b/Makefile index cee2f456..6cf13bca 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ help: .PHONY: test test: - prove $(prove) $(test) + prove $(prove) -v $(test) test-all: test docker-tests diff --git a/test/error.t b/test/error.t index 8604c1cf..b1f3483b 100644 --- a/test/error.t +++ b/test/error.t @@ -101,9 +101,12 @@ clone-foo-and-bar "Error OK: check for valid subrepo subdir" } +set -x +echo $(pwd) { is "$( cd "$OWNER/bar" +echo $(pwd) git checkout --quiet "$(git rev-parse master)" catch git subrepo status )" \ @@ -115,14 +118,17 @@ clone-foo-and-bar ) } +echo $(pwd) { is "$( cd .git +echo $(pwd) catch git subrepo status )" \ "git-subrepo: Can't 'subrepo status' outside a working tree." \ "Error OK: check inside working tree" } +set +x { like "$(