* tests/misc/stty: Don't waste a subshell to perform this:
eval rev=\$REV_$opt. Fix rev1,rev2 assignments similarly.
# Likewise, 'stty -cread' would fail, so skip that, too.
test $opt = cread && continue
- rev=$(eval echo "\$REV_$opt")
+ eval rev=\$REV_$opt
if test -n "$rev"; then
stty -$opt || { fail=1; echo -$opt; }
fi
stty $opt1 $opt2 || fail=1
- rev1=$(eval echo "\$REV_$opt1")
- rev2=$(eval echo "\$REV_$opt2")
+ eval rev1=\$REV_$opt1
+ eval rev2=\$REV_$opt2
if test -n "$rev1"; then
stty -$opt1 $opt2 || fail=1
fi