aboutsummaryrefslogtreecommitdiff
path: root/test/test_examples.py
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-13 09:07:55 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-13 11:02:04 -0700
commita47dedd47f79685c1b025331d30de7d998e1c4b7 (patch)
treecfcbb9db5b5a6b5eb2027604fa3a4d8c1450ac15 /test/test_examples.py
parentfaf109f1d25df6e374582f3ad96e39b4f9354646 (diff)
tests: use freshly-build fusermount (instead of system version)
When running tests as non-root, make fusermount setuid root.
Diffstat (limited to 'test/test_examples.py')
-rwxr-xr-xtest/test_examples.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 9f62054..a8064c3 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -17,10 +17,9 @@ import platform
from distutils.version import LooseVersion
from tempfile import NamedTemporaryFile
from util import (wait_for_mount, umount, cleanup, base_cmdline,
- safe_sleep)
+ safe_sleep, basename)
from os.path import join as pjoin
-basename = pjoin(os.path.dirname(__file__), '..')
TEST_FILE = __file__
with open(TEST_FILE, 'rb') as fh: