From f97b4d88f0254588d11b8760fc6714828af0ef28 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 5 Oct 2013 20:46:24 +0100 Subject: mat is now able to check non-writables files This is an implementaion of this suggestion: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721572 --- test/clitest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/clitest.py') diff --git a/test/clitest.py b/test/clitest.py index 31e9015..1e552ba 100644 --- a/test/clitest.py +++ b/test/clitest.py @@ -86,7 +86,7 @@ class TestFileAttributes(unittest.TestCase): proc = subprocess.Popen(['../mat', 'not_writtable'], stdout=subprocess.PIPE) stdout, _ = proc.communicate() - self.assertEqual(str(stdout).strip('\n'), 'Unable to process %s' % 'not_writtable') + self.assertEqual(str(stdout).strip('\n'), '[-] %s is not writable' % 'not_writtable') def test_not_exist(self): ''' test MAT's behaviour on non-existent file''' -- cgit v1.3