Skip to content

Commit

Permalink
Fixing error.t in github checks
Browse files Browse the repository at this point in the history
  • Loading branch information
spog committed Nov 17, 2024
1 parent 8594a15 commit 6a57984
Show file tree
Hide file tree
Showing 3 changed files with 10 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
8 changes: 8 additions & 0 deletions test/error.t
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ clone-foo-and-bar
)
}

whoami
ls -al
cd .git
git rev-parse --git-dir &> /dev/null ||
echo "Not inside a git repository."
echo $?
strace git rev-parse --git-dir
cd -
{
is "$(
cd .git
Expand Down
1 change: 1 addition & 0 deletions test/setup
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if [ ! -f "${HOME}/.gitconfig" ]; then
git config --global user.name "Your Name"
git config --global init.defaultBranch "master"
git config --global --add safe.directory "$(pwd)"
git config --global --add safe.directory "$(pwd)/*"
fi
# To be able to view current GIT confirguration during tests execution,
# run the test suite by adding the '-v' option to the prove command.
Expand Down

0 comments on commit 6a57984

Please sign in to comment.