diff --git a/tests-ng/chmod-install.sh b/tests-ng/chmod-install.sh index 01ed80a..67aa009 100755 --- a/tests-ng/chmod-install.sh +++ b/tests-ng/chmod-install.sh @@ -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"