Skip to content

Commit

Permalink
chore: Fix hang in tests when umask is 027
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 1, 2025
1 parent bde9ae7 commit b19a9b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/testdata/scripts/edgecasesumask.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ stdout 634a4dd193c7b3b926d2e08026aa81a416fd41cec52854863b974af422495663 # sha256
edit $CHEZMOISOURCEDIR/dot_file
edit $HOME/.file
cmp $HOME/.file $CHEZMOISOURCEDIR/dot_file
exec chezmoi apply --dry-run $HOME${/}.file
exec chezmoi apply --dry-run --force $HOME${/}.file
exec chezmoi state dump
! stdout 2e9dd6a2a8c15b20d4b0882d4c0fb8c7eea4e8ece46818090b387132f9f84c34 # sha256sum of "# contents of .file\n# edited\n"
exec chezmoi apply $HOME${/}.file
exec chezmoi apply --force $HOME${/}.file
exec chezmoi state dump
stdout 2e9dd6a2a8c15b20d4b0882d4c0fb8c7eea4e8ece46818090b387132f9f84c34 # sha256sum of "# contents of .file\n# edited\n"

0 comments on commit b19a9b5

Please sign in to comment.