[gvfs] test: Remove test key after use
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] test: Remove test key after use
- Date: Fri, 11 May 2018 08:32:36 +0000 (UTC)
commit 9bf1a008b9c103be49eb750ca3625d628e25ab32
Author: Ondrej Holy <oholy redhat com>
Date: Fri May 11 10:03:52 2018 +0200
test: Remove test key after use
gvfs_test_authorized_keys is not properly removed from runtime dir,
which causes permission denied errors in some configuration. Let's
remove the key after use.
test/gvfs-test | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index 4537d8a..11fc035 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -485,6 +485,7 @@ Subsystem sftp %(sftp_server)s
stderr=subprocess.PIPE)
def tearDown(self):
+ os.unlink(self.authorized_keys)
if self.sshd.returncode is None:
self.sshd.terminate()
self.sshd.wait()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]