unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 55326@debbugs.gnu.org
Subject: bug#55326: libgit2 1.3.0 includes a time-dependent test
Date: Sun, 08 May 2022 23:06:24 +0200	[thread overview]
Message-ID: <87zgjrwx7z.fsf@inria.fr> (raw)

libgit2 1.3.0 (and 1.4.3, it seems) includes a time-dependent test:
‘refs::revparse::date’, in ‘tests/refs/revparse.c’, assumes
“HEAD@{10 years ago}” doesn't match anything in the sample repositories,
which is no longer true:

--8<---------------cut here---------------start------------->8---
$ date
Sun May  8 11:04:31 PM CEST 2022
$ ./libgit2_clar -v -Q -srefs::revparse::date
Loaded 404 suites: 
Started (test status codes: OK='.' FAILURE='F' SKIPPED='S')

refs::revparseF

  1) Failure:
refs::revparse::date [/tmp/guix-build-libgit2-1.3.0.drv-0/source/tests/refs/revparse.c:31]
  Function call succeeded: error
  no error, expected non-zero return

$ /gnu/store/wy3ww7znqhlg84vg6cmw1m12z1drxwh1-libfaketime-0.9.9/bin/faketime 2021-12-12 ./libgit2_clar -v -Q -srefs::revparse::date
Loaded 404 suites: 
Started (test status codes: OK='.' FAILURE='F' SKIPPED='S')

refs::revparse.

--8<---------------cut here---------------end--------------->8---

Thus, as of 6b588da368c77cde82ea2f22ca315116228777ad, libgit2 now fails
to build; a few months ago, it would build fine.

Ludo’.




             reply	other threads:[~2022-05-08 21:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-08 21:06 Ludovic Courtès [this message]
2022-05-08 22:11 ` bug#55326: libgit2 1.3.0 includes a time-dependent test Ludovic Courtès
2022-05-09  7:25   ` Maxime Devos
2022-05-09  8:49     ` Ludovic Courtès
2022-05-09 10:10       ` Maxime Devos
2022-05-10 15:50         ` Ludovic Courtès
2022-05-09 19:33     ` Carl Dong
2022-05-10 15:48       ` Ludovic Courtès
2022-06-03 17:58 ` Maxime Devos
2022-06-08 16:16   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgjrwx7z.fsf@inria.fr \
    --to=ludo@gnu.org \
    --cc=55326@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).