projects
/
platform
/
upstream
/
strace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d04bb2b
)
tests: robustify -w option test
author
Dmitry V. Levin
<ldv@altlinux.org>
Thu, 5 Jun 2014 14:53:06 +0000
(14:53 +0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Thu, 5 Jun 2014 15:42:04 +0000
(15:42 +0000)
* tests/count.test: Allow nanosleep to spend a bit less time than 1 second.
tests/count.test
patch
|
blob
|
history
diff --git
a/tests/count.test
b/tests/count.test
index bc7ae7cde1c82c06d8aaae2562bb9cc2d15779d5..e9eafd91092320200326fcdebae103aa83408dff 100755
(executable)
--- a/
tests/count.test
+++ b/
tests/count.test
@@
-35,10
+35,10
@@
grep_log ' *[^ ]+ +0\.0[^n]*nanosleep'
args='-cw sleep 1'
make_log
-grep_log ' *[^ ]+ +
1\.0
[^n]*nanosleep'
+grep_log ' *[^ ]+ +
(1\.0|0\.99)
[^n]*nanosleep'
args='-cw -enanosleep sleep 1'
make_log
-grep_log '100\.00 +
1\.0
[^n]*nanosleep'
+grep_log '100\.00 +
(1\.0|0\.99)
[^n]*nanosleep'
exit 0