Daniel P. Berrangé 3e8703368b tests: mock virRandomBits to make it endian stable
virRandomBits is implemented in terms of virRandomBytes. Although we
mock virRandomBytes to give a stable value, this is not sufficient to
make virRandomBits give a stable value. The result of virRandomBits will
vary depending on endianness. Thus we mock virRandomBits to return a
stable value directly.

Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Tested-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-08-02 14:24:40 +01:00
..
2018-07-18 17:54:18 +02:00
2018-07-18 17:54:18 +02:00
2018-07-18 17:54:18 +02:00
2017-11-24 11:47:26 -05:00
2018-07-18 17:54:18 +02:00
2018-07-18 17:54:18 +02:00
2018-07-27 15:47:45 +02:00
2018-07-27 15:44:42 +02:00