Skip to content

Commit

Permalink
test(chezmoi): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zydou committed Sep 5, 2023
1 parent 845c962 commit 8a9f0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/chezmoi/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ "${NON_ROOT_USER}" = "" ]; then
NON_ROOT_USER=root
fi

su "$NON_ROOT_USER" -c "chezmoi --version"
su "$NON_ROOT_USER" -c "/home/$NON_ROOT_USER/.local/bin/chezmoi data"
ret=$?
if [ "$ret" -eq '0' ]; then
echo '✅ Passed(chezmoi): chezmoi installed successfully'
Expand Down

0 comments on commit 8a9f0e0

Please sign in to comment.