ntdb: fix up tests.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 20 Mar 2015 01:06:52 +0000 (11:36 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 20 Mar 2015 01:06:52 +0000 (11:36 +1030)
commit8ccb14db10cfedc5c97c9222a7955cee8246b741
tree2cee61d545ba6805381c58e5001527f34ba8c7a2
parent6aa2f4e347e5d66a392b879fe901bc582099a552
ntdb: fix up tests.

Mainly include path fixes.

Also Samba's unit tests were enhanced to detect the prefixes
helpapi and helprun to indicate an object was to be linked against
only api/run tests.  We hack around that by #including the helper
code instead.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
66 files changed:
ccan/ntdb/test/api-12-store.c
ccan/ntdb/test/api-13-delete.c
ccan/ntdb/test/api-14-exists.c
ccan/ntdb/test/api-16-wipe_all.c
ccan/ntdb/test/api-20-alloc-attr.c
ccan/ntdb/test/api-21-parse_record.c
ccan/ntdb/test/api-55-transaction.c
ccan/ntdb/test/api-60-noop-transaction.c
ccan/ntdb/test/api-80-tdb_fd.c
ccan/ntdb/test/api-81-seqnum.c
ccan/ntdb/test/api-82-lockattr.c
ccan/ntdb/test/api-83-openhook.c
ccan/ntdb/test/api-91-get-stats.c
ccan/ntdb/test/api-92-get-set-readonly.c
ccan/ntdb/test/api-93-repack.c
ccan/ntdb/test/api-94-expand-during-parse.c
ccan/ntdb/test/api-95-read-only-during-parse.c
ccan/ntdb/test/api-add-remove-flags.c
ccan/ntdb/test/api-check-callback.c
ccan/ntdb/test/api-firstkey-nextkey.c
ccan/ntdb/test/api-fork-test.c
ccan/ntdb/test/api-locktimeout.c
ccan/ntdb/test/api-missing-entries.c
ccan/ntdb/test/api-open-multiple-times.c
ccan/ntdb/test/api-record-expand.c
ccan/ntdb/test/api-simple-delete.c
ccan/ntdb/test/api-summary.c
ccan/ntdb/test/failtest_helper.c
ccan/ntdb/test/helpapi-external-agent.c [deleted file]
ccan/ntdb/test/helpapi-external-agent.h [new file with mode: 0644]
ccan/ntdb/test/helprun-external-agent.c [deleted file]
ccan/ntdb/test/helprun-external-agent.h [new file with mode: 0644]
ccan/ntdb/test/helprun-layout.c [deleted file]
ccan/ntdb/test/helprun-layout.h [new file with mode: 0644]
ccan/ntdb/test/layout.h
ccan/ntdb/test/lock-tracking.c
ccan/ntdb/test/logging.h
ccan/ntdb/test/ntdb-source.h
ccan/ntdb/test/run-001-encode.c
ccan/ntdb/test/run-001-fls.c
ccan/ntdb/test/run-01-new_database.c
ccan/ntdb/test/run-02-expand.c
ccan/ntdb/test/run-03-coalesce.c
ccan/ntdb/test/run-04-basichash.c
ccan/ntdb/test/run-05-readonly-open.c
ccan/ntdb/test/run-10-simple-store.c
ccan/ntdb/test/run-11-simple-fetch.c
ccan/ntdb/test/run-12-check.c
ccan/ntdb/test/run-15-append.c
ccan/ntdb/test/run-25-hashoverload.c
ccan/ntdb/test/run-30-exhaust-before-expand.c
ccan/ntdb/test/run-35-convert.c
ccan/ntdb/test/run-50-multiple-freelists.c
ccan/ntdb/test/run-56-open-during-transaction.c
ccan/ntdb/test/run-57-die-during-transaction.c
ccan/ntdb/test/run-64-bit-tdb.c
ccan/ntdb/test/run-90-get-set-attributes.c
ccan/ntdb/test/run-capabilities.c
ccan/ntdb/test/run-expand-in-transaction.c
ccan/ntdb/test/run-features.c
ccan/ntdb/test/run-lockall.c
ccan/ntdb/test/run-remap-in-read_traverse.c
ccan/ntdb/test/run-seed.c
ccan/ntdb/test/run-tdb_errorstr.c
ccan/ntdb/test/run-tdb_foreach.c
ccan/ntdb/test/run-traverse.c