diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-08 22:19:22 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-08-08 22:19:22 +0000 |
commit | d20a76a29c8f11e2800a1f529f3a3883aa16b23d (patch) | |
tree | 851e3dbbb7836cef2ebfd5e19d7920ecf776b839 | |
parent | f7a9124f2a4c50d872941da83768b988ae419669 (diff) | |
download | rdiff-backup-d20a76a29c8f11e2800a1f529f3a3883aa16b23d.tar.gz |
Use rdiff-backup script in cvs, not in path
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@386 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"), |