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
32c58f06
Commit
32c58f06
authored
Sep 07, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to exit 0 if nothing fails.
parent
040f7b65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
runtests.sh
runtests.sh
+8
-2
No files found.
runtests.sh
View file @
32c58f06
...
...
@@ -203,6 +203,12 @@ echo " $passed passed"
[
"
$missing
"
-gt
0
]
&&
echo
"
$missing
missing"
echo
'------------------------------------------------------------'
result
=
`
expr
$failed
+
$missing
`
echo
"(overall result is
$result
)"
# OK, so expr exits with 0 if the result is neither null nor zero; and
# 1 if the expression is null or zero. This is the opposite of what
# we want, and if we just call expr then this script will always fail,
# because -e is set.
set
-x
result
=
`
expr
$failed
+
$missing
||
true
`
echo
"overall result is
$result
"
exit
$result
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