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
4df7868d
Commit
4df7868d
authored
Aug 17, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix "make check" directory path.
Don't wait for input at end of tests.
parent
bc888e05
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
5 deletions
+25
-5
Makefile.in
Makefile.in
+1
-2
master.test
testsuite/master.test
+22
-3
rsync-hello.test
testsuite/rsync-hello.test
+2
-0
No files found.
Makefile.in
View file @
4df7868d
...
...
@@ -17,7 +17,6 @@ srcdir=@srcdir@
VPATH
=
$(srcdir)
SHELL
=
/bin/sh
.SUFFIXES
:
.SUFFIXES
:
.c .o
...
...
@@ -93,4 +92,4 @@ finddead:
test
:
check
check
:
rsync_bin
=
`
pwd
`
/rsync
testdir
=
$(srcdir)
/testsuite
$(srcdir)
/testsuite/master.test
rsync_bin
=
`
pwd
`
/rsync
srcdir
=
"
$(srcdir)
"
$(srcdir)
/testsuite/master.test
testsuite/master.test
View file @
4df7868d
...
...
@@ -8,8 +8,25 @@
# We need a few environment variables to know what to test.
# rsync_bin gives the location of the rsync binary. This is either
# builddir/rsync if we're testing an uninstalled copy, or
# install_prefix/bin/rsync if we're testing an installed copy. On the
# build farm rsync will be installed, but into a scratch /usr.
# srcdir gives the location of the source tree, which lets us find the
# build scripts. It might be relative, so we need to make it
# absolute.
# The pwd is undefined when this script starts.
srcdir
=
`cd $srcdir && pwd`
echo
"============================================================"
echo
"$0 running"
echo
"$0 running in `pwd`"
echo
" rsync_bin=
$rsync_bin
"
echo
" srcdir=
$srcdir
"
set
-
e
test_names
=
"rsync-hello hands"
...
...
@@ -21,11 +38,13 @@ missing=0
passed
=
0
failed
=
0
testsrcdir
=
"`pwd`"
suitedir
=
"
$srcdir
/testsuite"
cd
"
$suitedir
"
echo
" suitedir=
$suitedir
"
for
testbase
in
$test_names
do
testscript
=
"
$testsrcdir
/
$testbase
.test"
testscript
=
"
.
/
$testbase
.test"
if
test
\
!
-
f
"
$testscript
"
then
echo
"
$testscript
does not exist"
>&
2
...
...
testsuite/rsync-hello.test
View file @
4df7868d
#! /bin/sh
echo
$
0
running
"
$rsync_bin
"
--
version
||
exit
1
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