Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement --tweak, --no-tweak, --no-tweak-hlinked options.
[rsync/rsync.git]
/
testsuite
/
rsync.fns
diff --git
a/testsuite/rsync.fns
b/testsuite/rsync.fns
index
de62866
..
441fbb4
100644
(file)
--- a/
testsuite/rsync.fns
+++ b/
testsuite/rsync.fns
@@
-78,7
+78,7
@@
rsync_ls_lR() {
}
check_perms() {
}
check_perms() {
- perms=`"$TOOLDIR/tls" "$1" | sed 's/^[-d]\(.........\).*/\1/'`
+ perms=`"$TOOLDIR/tls" "$1" | sed 's/^[-d
lp
]\(.........\).*/\1/'`
if test $perms = $2; then
return 0
fi
if test $perms = $2; then
return 0
fi
@@
-91,6
+91,10
@@
rsync_getgroups() {
"$TOOLDIR/getgroups"
}
"$TOOLDIR/getgroups"
}
+confile=`echo "$scratchdir" | sed 's;/testtmp/[^/]*$;/config.h;'`
+config_test() {
+ egrep "^#define $1 1" "$confile" >/dev/null
+}
####################
# Build test directories $todir and $fromdir, with $fromdir full of files.
####################
# Build test directories $todir and $fromdir, with $fromdir full of files.