Re: [PATCH v2 10/11] test-lib: make it possible to override how test code is eval'd

2014-06-06 Thread Junio C Hamano
Richard Hansen rhan...@bbn.com writes: On 2014-06-05 17:11, Junio C Hamano wrote: ... In any case, the above explanation confuses me somewhat. test_eval_ is fed a scriptlet defined for various test_expect_success tests, and they are written in POSIX shells, not zsh, so wouldn't it be wrong

Re: [PATCH v2 10/11] test-lib: make it possible to override how test code is eval'd

2014-06-05 Thread Junio C Hamano
Richard Hansen rhan...@bbn.com writes: Because test_eval_ is defined while zsh is in sh emulation mode, the shell code passed as an argument to test_expect_success would normally be evaluated in sh emulation mode. However, with this change, it is now possible to evaluate the test code in zsh

Re: [PATCH v2 10/11] test-lib: make it possible to override how test code is eval'd

2014-06-05 Thread Richard Hansen
On 2014-06-05 17:11, Junio C Hamano wrote: Richard Hansen rhan...@bbn.com writes: Because test_eval_ is defined while zsh is in sh emulation mode, the shell code passed as an argument to test_expect_success would normally be evaluated in sh emulation mode. However, with this change, it is