The port lock mechanism in XB test suite does not work
The following code in the XB test suite which is supposed to lock ports atomically doesn't work as intended:
if ! set -C > $lockfile
# check if the process still exists
It should be (set -C; > $lockfile) to check and lock the file atomically.