From 5d17980815e8fc64288920c59370cfa3df203346 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 9 Sep 2014 13:53:57 +0200 Subject: [PATCH] remove disabled lock test code Signed-off-by: Tobias Ulmer --- generic/lock.lua | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/generic/lock.lua b/generic/lock.lua index 290b748..0534572 100644 --- a/generic/lock.lua +++ b/generic/lock.lua @@ -98,33 +98,6 @@ function lock.cleanup(l) end end ---[[ -local test=false -if test then - -- some dummy functions to test without context... - function err.new(x) - return true - end - e2lib = {} - e2lib.mkdir = function(x) - print("mkdir " .. x) - return true - end - e2lib.rmdir = function(x) - print("rmdir " .. x) - return true - end - - l = new() - - l:lock("/tmp/foo1") - l:lock("/tmp/foo2") - l:lock("/tmp/foo3") - l:unlock("/tmp/foo2") - l:cleanup() -end -]] - return strict.lock(lock) -- vim:sw=4:sts=4:et: -- 2.39.5