summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index 004ef0f3c..376e78929 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -744,7 +744,7 @@ function ts_lock {
fd=$(ts_find_free_fd) || ts_skip "failed to find lock fd"
eval "exec $fd>$lockfile"
- flock --exclusive --timeout 30 $fd || ts_skip "failed to lock $resource"
+ flock --exclusive "$fd" || ts_skip "failed to lock $resource"
TS_LOCKFILE_FD["$resource"]="$fd"
###echo "[$$ $TS_TESTNAME] Locked $resource"