tests: improve portability
I am working on porting disorderfs to FreeBSD. This patch helps remove a few non-portable issues in tests, and fixes a minor compiler warning.
Tests are passing on a fresh debian system and my FreeBSD port.
I am working on porting disorderfs to FreeBSD. This patch helps remove a few non-portable issues in tests, and fixes a minor compiler warning.
Tests are passing on a fresh debian system and my FreeBSD port.