Commit 474f5d0b authored by Łukasz Nowak's avatar Łukasz Nowak

- assert runability of rdiff-backup


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36336 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a55db1b
......@@ -147,6 +147,12 @@ class AssertSoftwareRunable(unittest.TestCase):
self.assertEqual(stderr, '')
self.assertTrue(stdout.startswith('flare'))
def test_rdiff_backup(self):
stdout, stderr = subprocess.Popen(["parts/rdiff-backup/bin/rdiff-backup",
"-v"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
self.assertEqual(stderr, '')
self.assertEqual(stdout.strip(), 'rdiff-backup 1.0.5')
class AssertApache(unittest.TestCase):
"""Tests for built apache"""
......
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