Module Name: src
Committed By: rillig
Date: Fri Sep 4 06:54:07 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: varmod-hash.mk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/varmod-hash.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/varmod-hash.mk
diff -u src/usr.bin/make/unit-tests/varmod-hash.mk:1.4 src/usr.bin/make/unit-tests/varmod-hash.mk:1.5
--- src/usr.bin/make/unit-tests/varmod-hash.mk:1.4 Fri Sep 4 05:23:25 2020
+++ src/usr.bin/make/unit-tests/varmod-hash.mk Fri Sep 4 06:54:07 2020
@@ -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