summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/fcntl_lock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/tests/fcntl_lock.c b/source3/tests/fcntl_lock.c
index 1b790b0a97..d03efb35b3 100644
--- a/source3/tests/fcntl_lock.c
+++ b/source3/tests/fcntl_lock.c
@@ -44,6 +44,8 @@ int main(int argc, char *argv[])
int fd, ret, status=1;
pid_t pid;
+ alarm(10);
+
if (!(pid=fork())) {
sleep(2);
fd = open(DATA, O_RDONLY);