[SCM] The rsync repository. - branch b3.0.x updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Sun Mar 13 21:46:37 MDT 2011
The branch, b3.0.x has been updated
via 779663f Fix xattrs test on OS X.
from 9562cc8 A few minor NEWS improvements.
;a=shortlog;h=b3.0.x
- Log -----------------------------------------------------------------
commit 779663fc6cabf042cfaa6869fd0b10b2d21f5b85
Author: Wayne Davison <wayned at samba.org>
Date: Sun Mar 13 20:42:58 2011 -0700
Fix xattrs test on OS X.
-----------------------------------------------------------------------
Summary of changes:
testsuite/rsync.fns | 1 +
testsuite/xattrs.test | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns
index 903bd6c..fbca180 100644
--- a/testsuite/rsync.fns
+++ b/testsuite/rsync.fns
@@ -27,6 +27,7 @@ chkdir="$tmpdir/chk"
all_plus='+++++++++'
allspace=' '
dots='.....' # trailing dots after changes
+tab_ch=' ' # a single tab character
# Berkley's nice.
PATH="$PATH:/usr/ucb"
diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test
index b61f561..97056b7 100644
--- a/testsuite/xattrs.test
+++ b/testsuite/xattrs.test
@@ -18,8 +18,9 @@ case "`xattr 2>&1`" in
xattr -s "$xnam" "$xval" "${@}"
}
xls() {
- xattr -l "${@}"
+ xattr -l "${@}" | sed "s/^[ $tab_ch]*//"
}
+ RSYNC_PREFIX='rsync'
RUSR='rsync.nonuser'
;;
*)
@@ -32,6 +33,7 @@ case "`xattr 2>&1`" in
xls() {
getfattr -d "${@}"
}
+ RSYNC_PREFIX='user.rsync'
RUSR='user.rsync'
;;
esac
@@ -125,8 +127,8 @@ cd "$chkdir"
chmod go-rwx . $dirs $files
xset user.nice 'this is nice, but different' file1
-xset user.rsync.%stat "40000 0,0 $uid_gid" $dirs
-xset user.rsync.%stat "100000 0,0 $uid_gid" $files
+xset $RSYNC_PREFIX.%stat "40000 0,0 $uid_gid" $dirs
+xset $RSYNC_PREFIX.%stat "100000 0,0 $uid_gid" $files
xls $dirs $files >"$scratchdir/xattrs.txt"
--
The rsync repository.
More information about the rsync-cvs
mailing list