diff --git a/ksh.spec b/ksh.spec index 6117a1d..ea93a1a 100644 --- a/ksh.spec +++ b/ksh.spec @@ -544,6 +544,12 @@ fi unset ${!LESS*} grep -E '^(model name|flags)[[:blank:]]*:' /proc/cpuinfo | sort -ur ${SHELL} shtests + result=$(${SHELL} -k -c 'd=`/bin/echo x y=z`; echo $d x y=z') + test "$result" = 'x x' || exit 1 + result=$(${SHELL} -c 'echo | echo "x`/bin/echo y`"') + test "$result" = xy || exit 1 + result=$(${SHELL} -c 'echo | echo "x$(/bin/echo y)"') + test "$result" = xy || exit 1 exec 3> ${TMPDIR:-/tmp}/log LANG=POSIX strace $MEMORY -o '!%{S:31}' ${SHELL} %{S:10} 400