mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:39:43 +00:00
adding test case for #250
This commit is contained in:
@@ -109,6 +109,9 @@ cd ${ddpath} | ${bin} files -c ${cfg} -p p2 | grep f_abc
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p3 | grep f_abc
|
||||
cd ${ddpath} | ${bin} files -c ${cfg} -p p0 | grep f_abc
|
||||
|
||||
cnt=`cd ${ddpath} | ${bin} files -c ${cfg} -p p0 | grep f_abc | wc -l`
|
||||
[ "${cnt}" != "1" ] && echo "dotfiles displayed more than once" && exit 1
|
||||
|
||||
# count
|
||||
cnt=`cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -b | grep '^f_' | wc -l`
|
||||
[ "${cnt}" != "1" ] && exit 1
|
||||
|
||||
Reference in New Issue
Block a user