diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-06 12:47:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-06 12:47:32 +0000 |
commit | 6b1ced1674217343ab4e5f966608a21c66bf650c (patch) | |
tree | d7f0e2d7d8645cdf5c8aeff710eb958598f3c49f /source/tests/fcntl_lock.c | |
parent | ce6598c465e3d1e26592af9b90eb271ee837f290 (diff) | |
download | samba-6b1ced1674217343ab4e5f966608a21c66bf650c.tar.gz samba-6b1ced1674217343ab4e5f966608a21c66bf650c.tar.xz samba-6b1ced1674217343ab4e5f966608a21c66bf650c.zip |
add an alarm to fcntl test to stop tru64 from freezing on the test
Diffstat (limited to 'source/tests/fcntl_lock.c')
-rw-r--r-- | source/tests/fcntl_lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/tests/fcntl_lock.c b/source/tests/fcntl_lock.c index 1b790b0a97a..d03efb35b33 100644 --- a/source/tests/fcntl_lock.c +++ b/source/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); |