summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-05-06 12:47:32 +0000
committerAndrew Tridgell <tridge@samba.org>2001-05-06 12:47:32 +0000
commita808ca914f74b997d222d47159dc0185511d1862 (patch)
tree69bacc2d9996874ed5d1677f61f8c2f6d5819756 /source3/tests
parentcd2643f8be846b11c91d492c3f8ac94ece42d1cb (diff)
downloadsamba-a808ca914f74b997d222d47159dc0185511d1862.tar.gz
samba-a808ca914f74b997d222d47159dc0185511d1862.tar.bz2
samba-a808ca914f74b997d222d47159dc0185511d1862.zip
add an alarm to fcntl test to stop tru64 from freezing on the test
(This used to be commit 6b1ced1674217343ab4e5f966608a21c66bf650c)
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);