tests: test-hash: avoid wholesale duplication
authorJim Meyering <meyering@redhat.com>
Fri, 19 Jun 2009 16:15:28 +0000 (18:15 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 19 Jun 2009 16:15:28 +0000 (18:15 +0200)
commit4b3351f5c0077459bcdfd5c26607ee1b31602ba6
tree30829896b2e3844d3b3255fcda0595052804b553
parent8b7595fca68a6f6514fe0e29bbe646ccab3ffd77
tests: test-hash: avoid wholesale duplication

* tests/test-hash.c (main): Don't copy/paste a 60-line loop.
Instead, use a loop and add a single conditional.
ChangeLog
tests/test-hash.c