Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
margo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
sds
margo
Commits
d74e817a
Commit
d74e817a
authored
Apr 28, 2016
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small bug fixes in test scripts
parent
e67f56a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
tests/basic.sh
tests/basic.sh
+0
-3
tests/timeout.sh
tests/timeout.sh
+6
-6
No files found.
tests/basic.sh
View file @
d74e817a
...
...
@@ -25,7 +25,4 @@ fi
wait
echo
cleaning up
$TMPBASE
rm
-rf
$TMPBASE
exit
0
tests/timeout.sh
View file @
d74e817a
...
...
@@ -19,13 +19,15 @@ sleep 1
run_to 10 examples/client-timeout
$svr1
&>
$TMPOUT
if
[
$?
-ne
0
]
;
then
wait
rm
-rf
$TMPOUT
exit
1
fi
# check output; look for four "returned
9" to indicate HG_CANCELED
in the four
# check output; look for four "returned
2" to indicate HG_TIMEOUT
in the four
# concurrent RPCs
LINECOUNT
=
$(
grep
"returned 9"
$TMPOUT
|
wc
-l
)
if
[
$LINECOUNT
-ne
4]
;
then
LINECOUNT
=
$(
grep
"returned 2"
$TMPOUT
|
wc
-l
)
if
[
$LINECOUNT
-ne
4
]
;
then
rm
-rf
$TMPOUT
exit
1
fi
...
...
@@ -36,7 +38,5 @@ fi
wait
echo
cleaning up
$TMPBASE
rm
-rf
$TMPBASE
rm
-rf
$TMPOUT
exit
0
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