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 script\s*'

-- lefthook.yml --
output:
  - execution_out

pre-commit:
  scripts:
    "file.sh":
      runner: sh

-- .lefthook/pre-commit/file.sh --
#!/usr/bin/env sh

echo Hi there from scripts
