[windows] skip 'UNIX only'

# test that chezmoi merge-all does not run the merge command if nothing is modified
exec chezmoi merge-all
! stdout .

# test that chezmoi merge-all runs the merge command if a file is modified
edit $HOME/.file
exec chezmoi merge-all
stdout ^${HOME@R}/\.file\s+${CHEZMOISOURCEDIR@R}/dot_file\.tmpl\s+${WORK@R}/.*/\.file$

chhome home2/user

# test that chezmoi merge-all only merges files
exec chezmoi merge-all
! stdout .
! stderr .

-- home/user/.config/chezmoi/chezmoi.toml --
[merge]
    command = "echo"
-- home/user/.file --
# contents of .file
-- home/user/.local/share/chezmoi/dot_file.tmpl --
{{ "# contents of .file" }}
-- home2/user/.local/share/chezmoi/run_script.sh --
#!/bin/sh

echo script
