test: Fix random number generation in IPC tests
test: Fix random number generation in IPC tests

The sockets are named using a random() suffix in at attempt to isolate
concurrent test.  However random() always returns the same random number
by design ... unless pre-seeded with some value being unique enough for
the particular execution.

Borrowing the most of the above message from original "srandom" fix by
Chrissie who also discovered this issue (nice!), I thought it would be
more viable if we encoded such "unique enough" variables directly to
IPC name being generated, not relying on pseudorandom generators in any
way.  Hence this other fix.

Signed-off-by: Jan Pokorný <f06ec55ecfb6704a26166905f43ade3ead1f75d3@redhat.com>

ClusterLabs/libqb,kgaillot/libqb,kgaillot/libqb,ClusterLabs/libqb,kgaillot/libqb,ClusterLabs/libqb