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
a4772a4d
Commit
a4772a4d
authored
Aug 16, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start to unify the "make check" and build farm test suites
parent
2ee91aed
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
59 additions
and
13 deletions
+59
-13
Makefile.in
Makefile.in
+8
-0
README
testsuite/README
+0
-3
master.test
testsuite/master.test
+41
-0
rsync-hello.test
testsuite/rsync-hello.test
+1
-5
rsync.fns
testsuite/rsync.fns
+0
-4
runlist
testsuite/runlist
+9
-1
No files found.
Makefile.in
View file @
a4772a4d
...
@@ -86,3 +86,11 @@ finddead:
...
@@ -86,3 +86,11 @@ finddead:
nm
*
.o
*
/
*
.o |grep
'U '
|
awk
'{print $$2}'
|
sort
-u
>
nmused.txt
nm
*
.o
*
/
*
.o |grep
'U '
|
awk
'{print $$2}'
|
sort
-u
>
nmused.txt
nm
*
.o
*
/
*
.o |grep
'T '
|
awk
'{print $$3}'
|
sort
-u
>
nmfns.txt
nm
*
.o
*
/
*
.o |grep
'T '
|
awk
'{print $$3}'
|
sort
-u
>
nmfns.txt
comm
-13
nmused.txt nmfns.txt
comm
-13
nmused.txt nmfns.txt
# 'check' is the GNU name, 'test' is the name for everybody else :-)
.PHONY
:
check test
test
:
check
check
:
rsync_bin
=
`
pwd
`
/rsync
testdir
=
$(srcdir)
/testsuite
$(srcdir)
/testsuite/master.test
testsuite/README
View file @
a4772a4d
...
@@ -5,6 +5,3 @@ top-level source directory. (Not implemented yet.)
...
@@ -5,6 +5,3 @@ top-level source directory. (Not implemented yet.)
They also run automatically on the build farm, and you can see the
They also run automatically on the build farm, and you can see the
results on http://build.samba.org/. That's controlled by the file
results on http://build.samba.org/. That's controlled by the file
./runlist.
./runlist.
TEST_ALL="rsync-hello"
testsuite/master.test
0 → 100755
View file @
a4772a4d
#! /bin/sh
# Copyright (C) 2001 by Martin Pool <mbp@samba.org>
# rsync top-level test script -- this invokes all the other more
# detailed tests in order. This script can either be called by 'make
# check' or through 'runlist' from the build farm.
# We need a few environment variables to know what to test.
echo
"============================================================"
echo
"$0 running"
test_names
=
"rsync-hello"
export
rsync_bin
export
testdir
cd
"
$testdir
"
for
testbase
in
$test_names
do
echo
"------------------------------------------------------------"
echo
"-----
$testbase
running"
testscript
=
"
$testbase
.test"
if
test
\
!
-
f
"
$testscript
"
then
echo
"
$testscript
does not exist"
>&
2
continue
fi
if
sh
$testscript
then
echo
"-----
$testbase
completed succesfully"
else
echo
"-----
$testbase
failed!"
fi
done
echo
'------------------------------------------------------------'
testsuite/rsync-hello.test
View file @
a4772a4d
#! /bin/sh
#! /bin/sh
set
-
x
"
$rsync_bin
"
--
version
||
exit
1
.
rsync
.
fns
"
$rsync
"
--
version
||
exit
1
testsuite/rsync.fns
deleted
100644 → 0
View file @
2ee91aed
#! /bin/sh
rsync
=
"
$prefix
/bin/rsync"
testsuite/runlist
View file @
a4772a4d
...
@@ -6,4 +6,12 @@
...
@@ -6,4 +6,12 @@
echo
"
$0
running"
echo
"
$0
running"
TEST_ALL
=
"rsync-hello"
TEST_ALL
=
"master"
# Also, we need a little bit of special set up when running from the
# build farm.
# It's already been installed in a scratch copy of /usr.
rsync_bin
=
"
$prefix
/bin/rsync"
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