From a808ca914f74b997d222d47159dc0185511d1862 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 6 May 2001 12:47:32 +0000 Subject: add an alarm to fcntl test to stop tru64 from freezing on the test (This used to be commit 6b1ced1674217343ab4e5f966608a21c66bf650c) --- source3/tests/fcntl_lock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/tests') 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); -- cgit