8000 Add regression test for libgit2 #4102 by rcjsuen · Pull Request #1220 · nodegit/nodegit · GitHub
[go: up one dir, main page]

Skip to content

Add regression test for libgit2 #4102#1220

Closed
rcjsuen wants to merge 1 commit intonodegit:masterfrom
rcjsuen:libgit2-4102
Closed

Add regression test for libgit2 #4102#1220
rcjsuen wants to merge 1 commit intonodegit:masterfrom
rcjsuen:libgit2-4102

Conversation

@rcjsuen
Copy link
Member
@rcjsuen rcjsuen commented Feb 9, 2017

If Revwalk.SORT.TOPOLOGICAL is used in a revwalk, Node will crash. This is caused by libgit #4102.

This is blocking the Orion project from upgrading to NodeGit 0.17.0.

Using a Revwalk.SORT.TOPOLOGICAL in a revwalk is causing libgit2 to
crash. This regression test should help ensure this bug is covered
by the test suite in the future.
@rcjsuen
Copy link
Member Author
rcjsuen commented Feb 9, 2017

The test is crashing early as expected (since the Revwalk tests are the last one it executes) but the 0 exit code is flagging the builds as green on Travis. Hm...

The command "if [ $TARGET_ARCH == "x64" ]; then if [ -z "$TRAVIS_TAG" ] && [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "6" ]; then npm test && npm run cov && npm run coveralls; else npm test; fi else echo "Not running tests because the binary is not built for 64-bit systems"; fi" exited with 0.

@zawata
Copy link
Contributor
zawata commented Nov 26, 2025

please rebase and reopen if still relevant

@zawata zawata closed this Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0