diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-08 22:17:20 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-08 22:17:20 +0000 |
commit | a825a73a0f7bf62f8aac714ca0189acad53360af (patch) | |
tree | 874ca9681ec4d90e88704eedaf1c84f1a4e53962 | |
parent | af8b797da62451486414748b0bde23c6eab37ddf (diff) | |
download | rdiff-backup-a825a73a0f7bf62f8aac714ca0189acad53360af.tar.gz |
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
-rw-r--r-- | rdiff-backup/testing/securitytest.py | 6 |
1 files 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"), |