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
dfef3f10
Commit
dfef3f10
authored
Mar 25, 2002
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change chgrp.test to use our getgroups rather than the system's.
parent
fa3690f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
Makefile.in
Makefile.in
+3
-3
chgrp.test
testsuite/chgrp.test
+1
-1
rsync.fns
testsuite/rsync.fns
+5
-1
No files found.
Makefile.in
View file @
dfef3f10
...
...
@@ -40,7 +40,7 @@ OBJS=$(OBJS1) $(OBJS2) $(DAEMON_OBJ) $(LIBOBJ) $(ZLIBOBJ) @BUILD_POPT@
TLS_OBJ
=
tls.o syscall.o lib/permstring.o
# Programs we must have to run the test cases
CHECK_PROGS
=
rsync tls
CHECK_PROGS
=
rsync tls
getgroups
# note that the -I. is needed to handle config.h when using VPATH
.c.o
:
...
...
@@ -135,14 +135,14 @@ test: check
# might lose in the future where POSIX diverges from old sh.
check
:
all $(CHECK_PROGS)
POSIXLY_CORRECT
=
1
T
LS
=
`
pwd
`
/tls
rsync_bin
=
`
pwd
`
/rsync
srcdir
=
"
$(srcdir)
"
$(srcdir)
/runtests.sh
POSIXLY_CORRECT
=
1
T
OOLDIR
=
`
pwd
`
rsync_bin
=
`
pwd
`
/rsync
srcdir
=
"
$(srcdir)
"
$(srcdir)
/runtests.sh
# This does *not* depend on building or installing: you can use it to
# check a version installed from a binary or some other source tree,
# if you want.
installcheck
:
$(CHECK_PROGS)
POSIXLY_CORRECT
=
1
T
LS
=
`
pwd
`
/tls
rsync_bin
=
"
$(bindir)
/rsync"
srcdir
=
"
$(srcdir)
"
$(srcdir)
/runtests.sh
POSIXLY_CORRECT
=
1
T
OOLDIR
=
`
pwd
`
rsync_bin
=
"
$(bindir)
/rsync"
srcdir
=
"
$(srcdir)
"
$(srcdir)
/runtests.sh
# TODO: Add 'dist' target; need to know which files will be included
...
...
testsuite/chgrp.test
View file @
dfef3f10
...
...
@@ -20,7 +20,7 @@ todir="$scratchdir/to"
# TODO: I guess some systems will not have 'id', and therefore we have
# to ship or emulate it.
mygrps
=
"`
id -G
`"
||
fail
"Can't get groups"
mygrps
=
"`
rsync_getgroups
`"
||
fail
"Can't get groups"
mkdir
"
$fromdir
"
for
g
in
$mygrps
...
...
testsuite/rsync.fns
View file @
dfef3f10
...
...
@@ -45,7 +45,11 @@ printmsg() {
rsync_ls_lR
()
{
find
"
$@
"
-print
|
sort
| xargs
$TLS
find
"
$@
"
-print
|
sort
| xargs
"
$TOOLDIR
/tls"
}
rsync_getgroups
()
{
"
$TOOLDIR
/getgroups"
}
...
...
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