Fix for building on HPUX

The current HPUX machine has very little space, creating
both a tdb and a qdbm database for testing makes it run out
of space.
(cherry picked from commit 05a7e7c36b36801a5d16d64df96c8fc331efc4c4)
Merge pull request #959 from cduclos/3.5.x

Fix for building on HPUX
Fixes for building on hpux

Creating 1000 entries is too much on that small hard drive, therefore
reducing it to 2. After all, even one entry will do the trick of
corrupting the file.
(cherry picked from commit 2d8f47a18f09f85cb70eeb405f409756b2771b35)
Merge pull request #961 from cduclos/3.5.x

Fixes for building on hpux
remove asserts from test as this test fails because of unresoved symbol assert on aix
change assert to assert_true in aix_process_test
Merge pull request #967 from McAtte/3.5.x

3.5.x
Merge remote-tracking branch 'upstream/3.5.x' into 3.5_surfsara