From c4ea0121328c652de8430853518d0548a0d85973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samo=20Poga=C4=8Dnik?= Date: Sun, 17 Nov 2024 17:32:21 +0100 Subject: [PATCH] Fixing error.t in github check --- Makefile | 2 +- test/error.t | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 "$(