tests: avoid test failure due to rmdir race * tests/init.sh (remove_tmp_): If the rm -rf fails, wait a second and try again. This works around a problem I observed on Solaris 10 on a circa 2001 Sun Fire 280R with a single 750 MHz UltraSPARC III, where a subprocess had not yet exited by the time the test script attempted to remove the subprocess’s working directory. This can happen, for example, if the process A in the shell command ‘A | B’ closes stdout, checks that the close succeeded -- a necessary check if stdout is NFS, on Solaris anyway -- and uses that check to affect its exit status. In this situation, B can read end-of-file from its standard input and exit before A exits, and then the shell, which waits only for B, can then attempt to remove A’s working directory during cleanup. This is not a problem on GNU/Linux where one can remove a process’s working directory, but it is a problem on Solaris 10 which does not allow this. POSIX allows the Solaris 10 behavior.