diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-06 18:38:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-03-06 21:42:24 +0100 |
commit | 827d556311b79d44fd67b4bd24cf17e5f781d502 (patch) | |
tree | 2cca723e2af3c14ae07a6f5167f6a03fb0f4594a /doc | |
parent | 56c72822a81cdf5ff4022d64a26887df427d62dd (diff) | |
download | guix-827d556311b79d44fd67b4bd24cf17e5f781d502.tar guix-827d556311b79d44fd67b4bd24cf17e5f781d502.tar.gz |
tests: Rewrite 'fcntl-lock' test.
* tests/utils.scm (temp-file): New variable.
("fcntl-flock"): Rewrite to actually test whether the child process
waits for the lock to be released. The previous test was wrong
because (1) it expected F_SETLK semantics, not F_SETLKW, and (2) it
got EBADF because of a mismatch between the open mode and the lock
style.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions