Exit test-hup only after the background process has died.
Otherwise the open file might let the tests fail on NFS.
#!/bin/shhg initecho"Is there an error message when trying to diff non-existing files?"hg diff not foundecho"Is there an error message when trying to add non-existing files?"hg add not found