summaryrefslogtreecommitdiffstats
path: root/tests/aux
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aux')
-rw-r--r--tests/aux/common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/aux/common.sh b/tests/aux/common.sh
index 3082ab0..82562fd 100644
--- a/tests/aux/common.sh
+++ b/tests/aux/common.sh
@@ -60,8 +60,8 @@ is_diff()
EOF
while :; do
eof=0
- read -r got 0<&3 || eof=$((${eof} + 1))
- read -r exp 0<&4 || eof=$((${eof} + 2))
+ IFS='' read -r got 0<&3 || eof=$((${eof} + 1))
+ IFS='' read -r exp 0<&4 || eof=$((${eof} + 2))
[ ${eof} -eq 3 ] && break
if [ x"${got}" = x"${exp}" ]; then
diag="${diag} '${got}'${LF}"