tst_link(): wait for RELEASE request
authorNikolaus Rath <Nikolaus@rath.org>
Wed, 31 May 2017 16:34:40 +0000 (09:34 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 31 May 2017 16:36:51 +0000 (09:36 -0700)
commit5e20b4da8ec861573fdf50205221542604be9bbc
tree042874ecca4ee7962e5dbe3a56fd576559262e42
parent952492ff432a54f54307a368e0256653060648b5
tst_link(): wait for RELEASE request

Since RELEASE requests are asynchronous, it is possible that libfuse
still considers the file to be open when userspace has closed it, so
that a successive unlink() call from userspace actually triggers
a rename(). We avoid the resulting test failure by re-trying a few
times.

Fixes: #157.
test/test_examples.py