Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
0b67d5e3
Commit
0b67d5e3
authored
Mar 14, 2011
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix xattrs test on OS X.
parent
d52aeae4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
rsync.fns
testsuite/rsync.fns
+1
-0
xattrs.test
testsuite/xattrs.test
+5
-3
No files found.
testsuite/rsync.fns
View file @
0b67d5e3
...
...
@@ -26,6 +26,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"
...
...
testsuite/xattrs.test
View file @
0b67d5e3
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment