summaryrefslogtreecommitdiff
path: root/tests/futility/test_update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/futility/test_update.sh')
-rwxr-xr-xtests/futility/test_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/futility/test_update.sh b/tests/futility/test_update.sh
index 902ad947..002f1050 100755
--- a/tests/futility/test_update.sh
+++ b/tests/futility/test_update.sh
@@ -161,7 +161,7 @@ test_update() {
echo "*** Test Item: ${test_name}"
if [ "${error_msg}" != "${expected}" ] && [ -n "${error_msg}" ]; then
msg="$(! "${FUTILITY}" update --emulate "${TMP}.emu" "$@" 2>&1)"
- echo "${msg}" | grep -qF -- "${error_msg}"
+ grep -qF -- "${error_msg}" <<<"${msg}"
else
"${FUTILITY}" update --emulate "${TMP}.emu" "$@"
cmp "${TMP}.emu" "${expected}"