repo.or.cz
/
trivial-shell.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Create README.md
[trivial-shell.git]
/
tests
/
test-timeout.lisp
blob
e81a6be487998d757276aa66a8b22f02773e175d
1
(
in-package
#:
trivial-shell-test
)
2
3
(
deftestsuite
test-with-timeout
(
trivial-shell-test
)
4
())
5
6
(
addtest
(
test-with-timeout
)
7
timeout-times-out
8
(
ensure-condition
timeout-error
9
(
with-timeout
(
1
.0
)
10
(
sleep
2.0
))))