diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-04-05 16:49:39 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-04-07 16:40:15 -0700 |
commit | eb972114156dc5624a50b81562040e8af06cb7e3 (patch) | |
tree | cba85f40854799beac6094c137ba514a3106bbf2 /test | |
parent | 20b24a16e10c8b5bb0535e9f06c40cf74ed8aabe (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-x | test/test_examples.py | 2 |
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) |