From a825a73a0f7bf62f8aac714ca0189acad53360af Mon Sep 17 00:00:00 2001 From: bescoto Date: Fri, 8 Aug 2003 22:17:20 +0000 Subject: Use rdiff-backup script in CVS, not in path git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@385 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/testing/securitytest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rdiff-backup/testing/securitytest.py b/rdiff-backup/testing/securitytest.py index 7ce12a7..863d36a 100644 --- a/rdiff-backup/testing/securitytest.py +++ b/rdiff-backup/testing/securitytest.py @@ -17,7 +17,7 @@ class SecurityTest(unittest.TestCase): def test_vet_request_ro(self): """Test vetting of ConnectionRequests on read-only server""" - remote_cmd = "rdiff-backup --server --restrict-read-only foo" + remote_cmd = "../rdiff-backup --server --restrict-read-only foo" conn = SetConnections.init_connection(remote_cmd) assert type(conn.os.getuid()) is type(5) try: conn.os.remove("/tmp/foobar") @@ -27,7 +27,7 @@ class SecurityTest(unittest.TestCase): def test_vet_request_minimal(self): """Test vetting of ConnectionRequests on minimal server""" - remote_cmd = "rdiff-backup --server --restrict-update-only foo" + remote_cmd = "../rdiff-backup --server --restrict-update-only foo" conn = SetConnections.init_connection(remote_cmd) assert type(conn.os.getuid()) is type(5) try: conn.os.remove("/tmp/foobar") @@ -37,7 +37,7 @@ class SecurityTest(unittest.TestCase): def test_vet_rpath(self): """Test to make sure rpaths not in restricted path will be rejected""" - remote_cmd = "rdiff-backup --server --restrict-update-only foo" + remote_cmd = "../rdiff-backup --server --restrict-update-only foo" conn = SetConnections.init_connection(remote_cmd) for rp in [RPath(Globals.local_connection, "blahblah"), -- cgit v1.2.1