aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-09 20:29:04 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-09 22:03:07 -0700
commit64c97de5be7f899e1d36e620b3a5959d122909c7 (patch)
tree643c4e3c8fc8aeccfb7cc8416cd2e0d9d292e5cb /test
parenta668d264d6d123bba3e33b0af39e2cacce88d047 (diff)
Renamed timefsN examples to fuse_notify_*
This should make it more obvious at first glance what the different examples do.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_examples.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 0d754d2..9d83ae9 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -142,10 +142,12 @@ def test_poll(tmpdir):
else:
umount(mount_process, mnt_dir)
-@pytest.mark.parametrize("name", ('timefs1', 'timefs2'))
+@pytest.mark.parametrize("name",
+ ('notify_inval_inode',
+ 'notify_store_retrieve'))
@pytest.mark.parametrize("options", LL_OPTIONS)
@pytest.mark.parametrize("notify", (True, False))
-def test_timefs12(tmpdir, name, options, notify):
+def test_notify1(tmpdir, name, options, notify):
mnt_dir = str(tmpdir)
cmdline = base_cmdline + \
[ pjoin(basename, 'example', name),
@@ -172,10 +174,10 @@ def test_timefs12(tmpdir, name, options, notify):
umount(mount_process, mnt_dir)
@pytest.mark.parametrize("notify", (True, False))
-def test_timefs3(tmpdir, notify):
+def test_notify_inval_entry(tmpdir, notify):
mnt_dir = str(tmpdir)
cmdline = base_cmdline + \
- [ pjoin(basename, 'example', 'timefs3'),
+ [ pjoin(basename, 'example', 'notify_inval_entry'),
'-f', '--update-interval=2',
'--timeout=4', mnt_dir ]
if not notify: