tests: run fpgad with libmock.so
When running test-gtapi-mock-drv.sh, execute the fpgad process with
libmock.so preloaded so that fpgad monitors the mock sysfs files.
@@ -7,7 +7,7 @@ trap "popd" EXIT
cmake .. -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
make mock gtapi fpgad
-./bin/fpgad -d
+LD_PRELOAD="$PWD/lib/libmock.so" ./bin/fpgad -d
CTEST_OUTPUT_ON_FAILURE=1 make test
kill $(cat /tmp/fpgad.pid)
