http://bugs.winehq.org/show_bug.cgi?id=8230
------- Additional Comments From us@edmeades.me.uk 2007-14-06 17:52 ------- Patchset sent to wine-patches tonight which should solve most of the (..) problems (and support ELSE). There's a residual problem with the syntax if 1==1 echo yes So the title of the bug isnt fixed, but the test case uses quoted parms in the if, and that should work once everything is committed.
(I'll test your testcase once the patches get into git, as I had a more comprehensive testcase which included tests like this one and I've just shut Linux down.)