Commented the unit of timeout of poll(2).
Redesigned the test for poll(2) to work for Java.

java.io.RandomAccessFile#getFilePosition throws the IOException of
"Illegal seek" for an fifo.

timeouttestd got unused.