about summary refs log tree commit diff
path: root/dirent
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-09-14 09:57:58 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2015-09-14 09:57:58 -0400
commit3b2cc56dbcbee6bc211cbb58a08384aa6147f825 (patch)
tree0fa976af3fd69f25e6a8c6fb50fa25b8bf48273d /dirent
parent7650f7be3a934cba6c21595dec38eb5537bf3197 (diff)
downloadglibc-3b2cc56dbcbee6bc211cbb58a08384aa6147f825.tar.gz
glibc-3b2cc56dbcbee6bc211cbb58a08384aa6147f825.tar.xz
glibc-3b2cc56dbcbee6bc211cbb58a08384aa6147f825.zip
Prevent check-local-headers.sh hang.
Consensus in [1] was that the right way to fix this was simply to
redirect from /dev/null to terminate the test if no inputs was found
by the tests own globbing e.g. "*/*.{o,os,oS}.d" This can happen when
the build is incomplete and the tests are started. This failure causes
check-local-headers.sh to hang forever waiting for input from stdin.
This change makes the test terminate immediately if the glob doesn't
return any files.

[1] https://sourceware.org/ml/libc-alpha/2014-12/msg00337.html
Diffstat (limited to 'dirent')
0 files changed, 0 insertions, 0 deletions