ntdb: fix occasional abort in testing.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Jun 2012 12:01:21 +0000 (21:31 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Jun 2012 14:50:20 +0000 (16:50 +0200)
commit5ec43055103f8890e957a163f094431fcdbcbd74
tree3a224d10a2890bb6a3bfed9303c07f2635851f7d
parentab96359bfefa08eddfb688137ca07c1efcbb494f
ntdb: fix occasional abort in testing.

Occasionally, the capability test inserts multiple used records and they
clash, but our primitive test layout engine doesn't handle hash clashes
and aborts.

Force a seed value which we know doesn't clash.

Reported-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date(master): Wed Jun 20 16:50:20 CEST 2012 on sn-devel-104
lib/ntdb/test/run-capabilities.c