aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-04-05 16:49:39 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-04-07 16:40:15 -0700
commiteb972114156dc5624a50b81562040e8af06cb7e3 (patch)
treecba85f40854799beac6094c137ba514a3106bbf2 /test
parent20b24a16e10c8b5bb0535e9f06c40cf74ed8aabe (diff)
Actually test passthrough* examples
Since os.path.join() interprets leading slashes, we were actually never accessing the mountpoint and doing all the tests in the source directory. Fixes: #139
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_examples.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 18e858b..d508d0f 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -82,7 +82,7 @@ def test_passthrough(tmpdir, name, debug, capfd):
mount_process = subprocess.Popen(cmdline)
try:
wait_for_mount(mount_process, mnt_dir)
- work_dir = pjoin(mnt_dir, src_dir)
+ work_dir = mnt_dir + src_dir
tst_statvfs(work_dir)
tst_readdir(src_dir, work_dir)