On 20/02/18 17:19, Junio C Hamano wrote:
Eric Sunshine writes:
test_expect_success 'setup fake editor' '
- echo "#!$SHELL_PATH" >fake_editor.sh &&
- cat >>fake_editor.sh <<-\EOF &&
+ FAKE_EDITOR="$(pwd)/fake-editor.sh" &&
+ write_script
Eric Sunshine writes:
>> test_expect_success 'setup fake editor' '
>> - echo "#!$SHELL_PATH" >fake_editor.sh &&
>> - cat >>fake_editor.sh <<-\EOF &&
>> + FAKE_EDITOR="$(pwd)/fake-editor.sh" &&
>> + write_script "$FAKE_EDITOR" <<-\EOF &&
>>
On Mon, Feb 19, 2018 at 6:29 AM, Phillip Wood wrote:
> From: Phillip Wood
>
> Simplify things slightly by using the above helpers.
>
> Signed-off-by: Phillip Wood
> ---
> diff --git a/t/t3701-add-interactive.sh
From: Phillip Wood
Simplify things slightly by using the above helpers.
Signed-off-by: Phillip Wood
---
t/t3701-add-interactive.sh | 36 +++-
1 file changed, 7 insertions(+), 29 deletions(-)
diff --git
4 matches
Mail list logo