diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2019-07-05 11:03:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 11:03:31 +0100 |
commit | 4cfbc27d4ec1a18d42f08e704eafb1b7b37332a9 (patch) | |
tree | c6272fbff667351bbb2ca63ea0b3ceb29f0736ae /test | |
parent | 1343f59c274bd5c4cea3ed5ca3dea092000f2b13 (diff) | |
download | libfuse-4cfbc27d4ec1a18d42f08e704eafb1b7b37332a9.tar.gz |
test_cuse: fix runtime error
We are no longer using the capfd mechanism.
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_examples.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_examples.py b/test/test_examples.py index 72c4100..26f3b92 100755 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -338,12 +338,12 @@ def test_notify_inval_entry(tmpdir, notify, output_checker): @pytest.mark.skipif(os.getuid() != 0, reason='needs to run as root') -def test_cuse(capfd, output_checker): +def test_cuse(output_checker): # Valgrind warns about unknown ioctls, that's ok - capfd.register_output(r'^==([0-9]+).+unhandled ioctl.+\n' - r'==\1== \s{3}.+\n' - r'==\1== \s{3}.+$', count=0) + output_checker.register_output(r'^==([0-9]+).+unhandled ioctl.+\n' + r'==\1== \s{3}.+\n' + r'==\1== \s{3}.+$', count=0) devname = 'cuse-test-%d' % os.getpid() devpath = '/dev/%s' % devname |