[!windows] skip 'Windows only'

chezmoi apply --force
stdout evidence

chezmoi dump
cmp stdout golden/dump.json

chezmoi managed --include=scripts
cmpenv stdout golden/managed

chezmoi archive --gzip --output=archive.tar.gz
exec tar -tzf archive.tar.gz
[windows] unix2dos golden/archive
cmp stdout golden/archive

-- golden/archive --
script.cmd
-- golden/dump.json --
{
  "script.cmd": {
    "type": "script",
    "name": "script.cmd",
    "contents": "echo evidence\n"
  }
}
-- golden/managed --
script.cmd
-- home/user/.local/share/chezmoi/run_script.cmd --
echo evidence
