diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_sshfs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_sshfs.py b/test/test_sshfs.py index 08091bd..995ff00 100755 --- a/test/test_sshfs.py +++ b/test/test_sshfs.py @@ -40,6 +40,9 @@ def test_sshfs(tmpdir, debug, cache_timeout, sync_rd, capfd): # capfd.register_output(r'^ unique: [0-9]+, error: -[0-9]+ .+$', # count=0) + # Avoid false positives from storing key for localhost + capfd.register_output(r"^Warning: Permanently added 'localhost' .+", count=0) + # Test if we can ssh into localhost without password try: res = subprocess.call(['ssh', '-o', 'KbdInteractiveAuthentication=no', |