GNU bug report logs - #26140
Tests for obnam

Previous Next

Package: guix-patches;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Fri, 17 Mar 2017 13:50:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 26140 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 26140 <at> debbugs.gnu.org
Subject: Re: [PATCH 7/7] gnu: obnam: Enable tests.
Date: Sat, 18 Mar 2017 02:56:54 +0530
[Message part 1 (text/plain, inline)]
> +         (replace 'check
> +                  (lambda _
> +                    (substitute* "obnamlib/vfs_local_tests.py"
> +                      ;; Check for the nobody user instead of root
> +                      (("self.fs.get_username\\(0\\), 'root'")
> +                       "self.fs.get_username(65534), 'nobody'")
> +                      ;; Disable tests checking for root group
> +                      (("self.fs.get_groupname\\(0\\)") "'root'"))
> +                    (substitute* "obnamlib/vfs_local.py"
> +                      ;; Don't cover get_groupname function
> +                      (("def get_groupname\\(self, gid\\):")
> +                       "def get_groupname(self, gid):  # pragma: no cover"))

In the build environment, is there a "nogroup" group or some other
standard group just like there is a "nobody" user? If such a group
exists, I could check for that group instead of disabling the group
checking tests altogether.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.