1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 04:29:47 +00:00

more tests

This commit is contained in:
deadc0de6
2020-11-14 15:04:35 +01:00
parent ae15569041
commit 36be2027da

View File

@@ -245,6 +245,16 @@ chmod 600 ${tmpd}/nomode
cd ${ddpath} | ${bin} install -c ${cfg} -p p2 -V f_nomode
has_rights "${tmpd}/nomode" "600"
## no user confirmation with force
## different mode
echo "different mode"
echo "nomode" > ${tmps}/dotfiles/nomode
chmod 600 ${tmps}/dotfiles/nomode
echo "nomode" > ${tmpd}/nomode
chmod 700 ${tmpd}/nomode
cd ${ddpath} | ${bin} install -c ${cfg} -f -p p2 -V f_nomode
has_rights "${tmpd}/nomode" "600"
## user confirmation expected
## different mode
echo "different mode"