]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: init.cfg: fix a minor test-related quoting bug
authorJim Meyering <meyering@fb.com>
Sun, 1 Jul 2018 16:05:53 +0000 (09:05 -0700)
committerJim Meyering <meyering@fb.com>
Mon, 2 Jul 2018 03:09:17 +0000 (20:09 -0700)
* init.cfg (require_membership_in_two_groups_): This fixes a bug
introduced by me in v8.15-8-gdd0e4c562.  Luckily, the consequence
of low-probability triggering the bug was the mere added backslash
in the diagnostic: "...but running id -G\ either...".  It would be
triggered in a test failure for one who is a member of only one or
fewer groups.

init.cfg

index 47695a95a77673ad904558b99ad942be06c79409..1727ea2c90a179459e8dab352d526162c32d1e03 100644 (file)
--- a/init.cfg
+++ b/init.cfg
@@ -492,7 +492,7 @@ require_membership_in_two_groups_()
     *' '*) ;;
     *) skip_ 'requires membership in two groups
 this test requires that you be a member of more than one group,
-but running 'id -G'\'' either failed or found just one.  If you really
+but running '\''id -G'\'' either failed or found just one.  If you really
 are a member of at least two groups, then rerun this test with
 COREUTILS_GROUPS set in your environment to the space-separated list
 of group names or numbers.  E.g.,