From e8702174c8504b59da873a50b80ed526246ee2e7 Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 4 Sep 2020 06:54:07 +0000 Subject: [PATCH] make(1): add test for :hash returning ffffffff In the previous brute force search, it seemed there was no string with that hash code. That was probably an oversight or a little programming mistake. Anyway, it's possible to get that hash value, so keep the example. --- usr.bin/make/unit-tests/varmod-hash.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/make/unit-tests/varmod-hash.mk b/usr.bin/make/unit-tests/varmod-hash.mk index d84374aaed54..5407e8299f9e 100644 --- a/usr.bin/make/unit-tests/varmod-hash.mk +++ b/usr.bin/make/unit-tests/varmod-hash.mk @@ -1,4 +1,4 @@ -# $NetBSD: varmod-hash.mk,v 1.4 2020/09/04 05:23:25 rillig Exp $ +# $NetBSD: varmod-hash.mk,v 1.5 2020/09/04 06:54:07 rillig Exp $ # # Tests for the :hash variable modifier, which computes a 32-bit hash from # the value of the expression. @@ -39,6 +39,7 @@ VECTORS+= 10000000 alxiatjv VECTORS+= 20000000 aezwuukx VECTORS+= 40000000 abdpnifu VECTORS+= 80000000 auusgoii +VECTORS+= ffffffff ahnvmfdw VECTORS+= b2af338b "" VECTORS+= 3360ac65 a