Just run git tests against HEAD and am happy to report they all passed
successfully, however I'm not really sure why :). During test execution
I came up with this simplest yet complete reproducer:

OUT=$( ((cat /dev/zero; echo $? 1>&3) | :) 3>&1 ) && echo "$OUT"

which is expected to echo 141. In all shells I have installed (bash,
zsh, dash) it indeed echoes 141, but latest mksh echoes nothing. Am I
missing something?

-- 
You received this bug notification because you are a member of mksh
Mailing List, which is subscribed to mksh.
Matching subscriptions: mkshlist-to-mksh-bugmail
https://bugs.launchpad.net/bugs/1532621

Title:
  Tests in git-2.7.0 fail with mksh R52

Status in mksh:
  Fix Committed

Bug description:
  Newly released git version 2.7.0 fails to pass tests with most recent
  release of mksh -- test t0005-signals.sh fails on case 4 and 5:

  4: OUT=$( ((large_git; echo $? 1>&3) | :) 3>&1 ) && test "$OUT" -eq 141
  5: OUT=$( ((trap "" PIPE; large_git; echo $? 1>&3) | :) 3>&1 ) && test "$OUT" 
-eq 141

  Note that everything works perfectly fine with R51 and ie bash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mksh/+bug/1532621/+subscriptions

Reply via email to