]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: don't wait forever on GNU/Hurd
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 12 Feb 2016 18:59:20 +0000 (10:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 12 Feb 2016 18:59:54 +0000 (10:59 -0800)
commit632eda520f7cf49d9d1662835c7c37e17033e128
tree98c84882401357a94af65e70bbd9a080272df542
parent62e7af0326786a7dec91d982238948eddab9d6af
tests: don't wait forever on GNU/Hurd

* tests/cp/parent-perm-race.sh: Add timeouts so that the test does
not wait forever on GNU/Hurd.  This does not fix the underlying
bug but at least lets the tests make progress.
Problem reported by Nelson H.F. Beebe in: http://bugs.gnu.org/22624
Also, check that 'cp' actually copies the data; this is a better
test anyway, and simplifies the test code.
Also, avoid unlikely race if 'pid' is set in the environment.
tests/cp/parent-perm-race.sh