path: root/src
diff options
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2014-04-06 16:41:54 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2014-04-06 16:41:54 -0700
commitb20013e387047ba016cbee9014093dd76225c7d1 (patch)
tree49a5cb5ed0436356f56299c9d8102c8f6ed432e7 /src
parent8b097ba038d2744e45810428bddfaf729c64e789 (diff)
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