This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from 19a07f6 Start python binding test module
new 0d946de Use /var/tmp/sanlock for temporary test files
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
pytest.ini | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 pytest.ini
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by thread
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.