Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6fbd56
)
Added a new function: check_perms().
author
Wayne Davison
<wayned@samba.org>
Fri, 3 Feb 2006 17:28:03 +0000
(17:28 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 3 Feb 2006 17:28:03 +0000
(17:28 +0000)
testsuite/rsync.fns
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/rsync.fns
b/testsuite/rsync.fns
index
80c218d
..
a1902b7
100644
(file)
--- a/
testsuite/rsync.fns
+++ b/
testsuite/rsync.fns
@@
-65,11
+65,14
@@
printmsg() {
echo "$1"
}
-
rsync_ls_lR() {
find "$@" -print | sort | sed 's/ /\\ /g' | xargs "$TOOLDIR/tls"
}
+check_perms() {
+ "$TOOLDIR/tls" "$1" | grep "^-$2" >/dev/null
+}
+
rsync_getgroups() {
"$TOOLDIR/getgroups"
}