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
Got rid of the setting of io_write_phase.
[rsync/rsync.git]
/
testsuite
/
rsync.fns
diff --git
a/testsuite/rsync.fns
b/testsuite/rsync.fns
index
a1902b7
..
943c3d3
100644
(file)
--- a/
testsuite/rsync.fns
+++ b/
testsuite/rsync.fns
@@
-70,7
+70,13
@@
rsync_ls_lR() {
}
check_perms() {
}
check_perms() {
- "$TOOLDIR/tls" "$1" | grep "^-$2" >/dev/null
+ perms=`"$TOOLDIR/tls" "$1" | sed 's/^[-d]\(.........\).*/\1/'`
+ if test $perms = $2; then
+ return 0
+ fi
+ echo "permissions: $perms on $1"
+ echo "should be: $2"
+ test_fail "failed test $3"
}
rsync_getgroups() {
}
rsync_getgroups() {
@@
-138,7
+144,7
@@
hands_setup() {
####################
# Many machines do not have "mkdir -p", so we have to build up long paths.
# How boring.
####################
# Many machines do not have "mkdir -p", so we have to build up long paths.
# How boring.
-makepath
() {
+makepath() {
echo " makepath $1"
p="$1"
(
echo " makepath $1"
p="$1"
(