Title: Test cases fail on Debian/Ubuntu · Issue #4186 · libgit2/libgit2 · GitHub
Open Graph Title: Test cases fail on Debian/Ubuntu · Issue #4186 · libgit2/libgit2
X Title: Test cases fail on Debian/Ubuntu · Issue #4186 · libgit2/libgit2
Description: I tried to update the Debian package of libgit2, but some test cases fail on Debian testing: 1) Failure: core::features::0 [/<
Open Graph Description: I tried to update the Debian package of libgit2, but some test cases fail on Debian testing: 1) Failure: core::features::0 [/<
X Description: I tried to update the Debian package of libgit2, but some test cases fail on Debian testing: 1) Failure: core::features::0 [/<<PKGBUILDDIR>>/tests/core/features.c:20] Expression is not ...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4186
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test cases fail on Debian/Ubuntu","articleBody":"I tried to update the Debian package of libgit2, but some test cases fail on Debian testing:\r\n\r\n```\r\n 1) Failure:\r\ncore::features::0 [/\u003c\u003cPKGBUILDDIR\u003e\u003e/tests/core/features.c:20]\r\n Expression is not true: (caps \u0026 GIT_FEATURE_HTTPS) != 0\r\n\r\n 2) Failure:\r\nrepo::discover::discovering_repository_with_alternative_gitdir_succeeds [/\u003c\u003cPKGBUILDDIR\u003e\u003e/tests/repo/discover.c:36]\r\n Function call failed: (git_repository_discover(\u0026found_path, start_path, 0, ceiling_dirs))\r\n error -3 - could not find repository from 'temprepo/discover.git/alternate_sub_repo/sub'\r\n\r\n 3) Failure:\r\nrepo::discover::ceiling_should_not_affect_gitdir_redirection [/\u003c\u003cPKGBUILDDIR\u003e\u003e/tests/repo/discover.c:36]\r\n Function call failed: (git_repository_discover(\u0026found_path, start_path, 0, ceiling_dirs))\r\n error -3 - could not find repository from 'temprepo/discover.git/alternate_sub_repo/sub'\r\n\r\n 4) Failure:\r\nrepo::discover::discovery_starting_at_file_succeeds [/\u003c\u003cPKGBUILDDIR\u003e\u003e/tests/repo/discover.c:36]\r\n Function call failed: (git_repository_discover(\u0026found_path, start_path, 0, ceiling_dirs))\r\n error -3 - could not find repository from 'temprepo/discover.git/sub_repo/file'\r\n\r\n 5) Failure:\r\nrepo::open::force_bare [/\u003c\u003cPKGBUILDDIR\u003e\u003e/tests/repo/open.c:401]\r\n Function call failed: (git_repository_open_ext( \u0026barerepo, \"alternate/subdir/sub2\", GIT_REPOSITORY_OPEN_BARE, ((void *)0)))\r\n error -3 - could not find repository from 'alternate/subdir/sub2'\r\n```\r\n\r\nFailure 2 to 5 can be only seen when running the tests inside sbuild (which uses schroot and overlay directories in my case).\r\n\r\n### Reproduction steps\r\n\r\n1. Download the packaging from Debian and extract it into the directory `debian` in your libgit2 directory:\r\nhttp://http.debian.net/debian/pool/main/libg/libgit2/libgit2_0.24.5-1.debian.tar.xz\r\n2. run `dpkg-buildpackage -b` (or better use sbuild)\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n\r\nVersion 0.25.1 and current head (caf7a7a6b14b3b2f200f88f2f8d7a18ca10fd3ac) are affected.\r\n\r\n### Operating system(s) tested\r\n\r\nDebian testing and Ubuntu 16.10 (yakkety)","author":{"url":"https://github.com/bdrung","@type":"Person","name":"bdrung"},"datePublished":"2017-03-31T15:12:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/4186/libgit2/issues/4186"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba29219d-3f65-af6d-01c1-82cd2e67196c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE18:1DF241:6760820:898CD03:6A5DE57F |
| html-safe-nonce | ec4eb0206ae2278c2c51637e0326d9db9b7fdf4253716ed45fc9c8add26b898a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTE4OjFERjI0MTo2NzYwODIwOjg5OENEMDM6NkE1REU1N0YiLCJ2aXNpdG9yX2lkIjoiNDI3NjMzNzU3NjQ5MDQyNzc3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ce0aa2b8e52b37f2a7acb993ce065aa51867b22139b0715b46cece2a5b1166c |
| hovercard-subject-tag | issue:218531800 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2/4186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47080d920b7ba5834bff8c93da4007ddcac76b9d7e018ccd43675eaed99d4c41/libgit2/libgit2/issues/4186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47080d920b7ba5834bff8c93da4007ddcac76b9d7e018ccd43675eaed99d4c41/libgit2/libgit2/issues/4186 |
| og:image:alt | I tried to update the Debian package of libgit2, but some test cases fail on Debian testing: 1) Failure: core::features::0 [/< |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bdrung |
| hostname | github.com |
| expected-hostname | github.com |
| None | f068985268f2a1e272fe40dd37a3352a16d337d57ec570e56da6c2346e179f59 |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e36408244bcd0ded36f1cfba5db8e97f99c2117e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width