aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile1
-rw-r--r--tests/deadlock.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b1348ae..79d7dd9 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@ test:
77 $(MAKE) basic 77 $(MAKE) basic
78 $(MAKE) cancel 78 $(MAKE) cancel
79 $(MAKE) cyclic 79 $(MAKE) cyclic
80 $(MAKE) deadlock
80 $(MAKE) errhangtest 81 $(MAKE) errhangtest
81 $(MAKE) fibonacci 82 $(MAKE) fibonacci
82 $(MAKE) fifo 83 $(MAKE) fifo
diff --git a/tests/deadlock.lua b/tests/deadlock.lua
index 73d7ccb..c85d99f 100644
--- a/tests/deadlock.lua
+++ b/tests/deadlock.lua
@@ -1,7 +1,7 @@
1-- this script tests the fix of a bug that could cause the mutex of a keeper state to remain locked 1-- this script tests the fix of a bug that could cause the mutex of a keeper state to remain locked
2-- see https://github.com/LuaLanes/lanes/commit/0cc1c9c9dcea5955f7dab921d9a2fff78c4e1729 2-- see https://github.com/LuaLanes/lanes/commit/0cc1c9c9dcea5955f7dab921d9a2fff78c4e1729
3 3
4local lanes = require('lanes').configure() 4local lanes = require('lanes').configure{with_timers=false}
5local linda = lanes.linda "deadlock_linda" 5local linda = lanes.linda "deadlock_linda"
6 6
7print "let's begin" 7print "let's begin"