mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-13 01:40:14 +00:00
shell linting
This commit is contained in:
4
tests-ng/import-configs.sh
vendored
4
tests-ng/import-configs.sh
vendored
@@ -158,7 +158,7 @@ cd "${ddpath}" | ${bin} compare -c "${cfg1}" -p p2 -V
|
||||
# test with non-existing dotpath this time
|
||||
|
||||
rm -rf "${tmps}"/dotfiles
|
||||
rm -rf "${tmpd}"/*
|
||||
rm -rf "${tmpd:?}"/*
|
||||
|
||||
cat > "${cfg1}" << _EOF
|
||||
config:
|
||||
@@ -190,7 +190,7 @@ cd "${ddpath}" | ${bin} compare -c "${cfg1}" -p p2 -V
|
||||
|
||||
# test with same profile defined in both
|
||||
rm -rf "${tmps}"/dotfiles
|
||||
rm -rf "${tmpd}"/*
|
||||
rm -rf "${tmpd:?}"/*
|
||||
|
||||
cat > "${cfg1}" << _EOF
|
||||
config:
|
||||
|
||||
Reference in New Issue
Block a user