summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 2da887e..4d41d9a 100644
--- a/tests/aux/common.sh
+++ b/tests/aux/common.sh
@@ -49,8 +49,8 @@ cmd_is()
EOF
while :; do
eof=0
- read -r got <&3 || eof=$((${eof} + 1))
- read -r exp <&0 || eof=$((${eof} + 2))
+ IFS='' read -r got <&3 || eof=$((${eof} + 1))
+ IFS='' read -r exp <&0 || eof=$((${eof} + 2))
[ ${eof} -eq 3 ] && break
[ x"${got}" = x"${exp}" ] && continue
if ${ok}; then