summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-03-06 18:38:19 +0100
committerLudovic Courtès <ludo@gnu.org>2014-03-06 21:42:24 +0100
commit827d556311b79d44fd67b4bd24cf17e5f781d502 (patch)
tree2cca723e2af3c14ae07a6f5167f6a03fb0f4594a /guix/scripts
parent56c72822a81cdf5ff4022d64a26887df427d62dd (diff)
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 'guix/scripts')
0 files changed, 0 insertions, 0 deletions