|author||Saleem Abdulrasool <firstname.lastname@example.org>||2014-04-06 16:41:54 -0700|
|committer||Saleem Abdulrasool <email@example.com>||2014-04-06 16:41:54 -0700|
test: fix tests with bash 4.3
bash 4.3 changes the semantics of the read builtin. It will now silently ignore NUL characters in the input stream. This is problematic since the paludis pipe command protocol uses the NUL character as an indicator for end of message. Passing read an explicit delimiter of a NUL char ($'\0') ensures that it treats the NUL character as valid input. This avoids the hang during the process tests. The delimiter option has existed prior to 4.3 (and explicitly tested against 4.2p45) and should not break compatibility with older releases of bash.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions