exec git init
exec git config user.email "you@example.com"
exec git config user.name "Your Name"
exec git add -A
exec lefthook install
exec git commit -m 'test'
stderr '\s*Hi there from Lefthook\s*'

-- lefthook.yml --
output:
  - execution_out

pre-commit:
  commands:
    echo:
      run: echo Hi there from Lefthook
