From ddd5700366f86cb306468ab95f78a73c39cb9f96 Mon Sep 17 00:00:00 2001 From: Brendan O'Dea Date: Fri, 24 Jul 2026 00:52:50 +1000 Subject: [PATCH] Fix group GID index in time_lookups target. The Binary GID lookups test data and symlink target contained "uid" where "gid" was intended, likely a typo. Note that the test was still passing, as the code falls back to a linear search if the index is missing, but wasn't actually timing the indexed lookup. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4090abb..2e9a45e 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ time_lookups: lookup_data index_data lookup rm -f $(TESTDATA)/group.cache.ixgid time -f %E ./lookup -c getgrgid -f $(TESTDATA)/rand_grgids @echo Binary GID lookups - ln -sf group_cache_ixuid_disabled $(TESTDATA)/group.cache.ixuid + ln -sf group_cache_ixgid_disabled $(TESTDATA)/group.cache.ixgid time -f %E ./lookup -c getgrgid -f $(TESTDATA)/rand_grgids @echo Linear shadow lookups rm -f $(TESTDATA)/shadow.cache.ixname