From eb972114156dc5624a50b81562040e8af06cb7e3 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 5 Apr 2017 16:49:39 -0700 Subject: 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 --- test/test_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3