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
863dff51
Commit
863dff51
authored
Aug 29, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup check_logs feature.
parent
3fedd74b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
runtests.sh
runtests.sh
+1
-2
rsync.fns
testsuite/rsync.fns
+15
-0
No files found.
runtests.sh
View file @
863dff51
...
@@ -147,8 +147,7 @@ do
...
@@ -147,8 +147,7 @@ do
continue
continue
fi
fi
echo
"------------------------------------------------------------"
echo
"-----
$testbase
starting"
echo
"-----
$testbase
running"
if
sh
$RUNSHFLAGS
"
$testscript
"
if
sh
$RUNSHFLAGS
"
$testscript
"
then
then
...
...
testsuite/rsync.fns
View file @
863dff51
...
@@ -83,3 +83,18 @@ checkit() {
...
@@ -83,3 +83,18 @@ checkit() {
fi
fi
}
}
# In fact, we need a more general feature of capturing all stderr/log files,
# and dumping them if something goes wrong.
checkforlogs
()
{
# skip it if we're under debian-test
if
test
-n
"
${
Debian
}
"
;
then return
0
;
fi
if
[
-f
$1
-a
-s
$1
]
;
then
echo
"Failures have occurred.
$1
follows:"
>
&2
cat
$1
>
&2
exit
1
fi
}
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