Commit d6e95978 authored by bescoto's avatar bescoto

Use rdiff-backup script in CVS, not in path


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@385 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 931564e5
......@@ -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"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment