test-runner.sh: avoid creating files.

Running distcheck on the CI system fails with permission denied.
Try another approach where the output file is checked when there
is no *.exp file present.