mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 17:49:01 +00:00
more tests
This commit is contained in:
@@ -245,6 +245,16 @@ chmod 600 ${tmpd}/nomode
|
|||||||
cd ${ddpath} | ${bin} install -c ${cfg} -p p2 -V f_nomode
|
cd ${ddpath} | ${bin} install -c ${cfg} -p p2 -V f_nomode
|
||||||
has_rights "${tmpd}/nomode" "600"
|
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
|
## user confirmation expected
|
||||||
## different mode
|
## different mode
|
||||||
echo "different mode"
|
echo "different mode"
|
||||||
|
|||||||
Reference in New Issue
Block a user