From: Stefano Lattarini Date: Sun, 19 Feb 2012 10:00:45 +0000 (+0100) Subject: tests: fix race condition in 'self-check-dir.tap' X-Git-Tag: v1.11b~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec94d5945575c6664110cb76e0ff317491c44ec1;p=platform%2Fupstream%2Fautomake.git tests: fix race condition in 'self-check-dir.tap' * tests/self-check-dir.tap (do_check): Don't fail if "ls -l" fails. --- diff --git a/tests/self-check-dir.tap b/tests/self-check-dir.tap index 1a5d6b4..a934188 100755 --- a/tests/self-check-dir.tap +++ b/tests/self-check-dir.tap @@ -38,7 +38,8 @@ do_check () command_ok_ "$1 [$2]" $SHELL -c " $2 . ./defs || Exit 99 - pwd; ls -l; # For debugging. + # Don't fail if 'ls -l' fails; avoids possible racy spurious failures. + pwd; ls -l || : # For debugging. $3 " _self.test }