Skip to content

Commit

Permalink
Fixing error.t in github check
Browse files Browse the repository at this point in the history
  • Loading branch information
spog committed Nov 17, 2024
1 parent 8594a15 commit c4ea012
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ help:

.PHONY: test
test:
prove $(prove) $(test)
prove $(prove) -v $(test)

test-all: test docker-tests

Expand Down
6 changes: 6 additions & 0 deletions test/error.t
Original file line number Diff line number Diff line change
Expand Up @@ -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
)" \
Expand All @@ -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 "$(
Expand Down

0 comments on commit c4ea012

Please sign in to comment.