This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
commit 0d946defbec70e8a2e1ffbce56100cb3e700fc20
Author: Nir Soffer <nsoffer(a)redhat.com>
Date: Mon Feb 19 12:04:10 2018 -0600
Use /var/tmp/sanlock for temporary test files
Recent pytest started to use /tmp by default for temporary files. This
causes tests using direct I/O to fail. Use /var/tmp which typically
supports direct I/O.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
pytest.ini | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..73176d5
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,3 @@
+[pytest]
+# Note: we must use /var/tmp as sanlock uses direct I/O.
+addopts = -rxs --basetemp=/var/tmp/sanlock
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.