]> arthur.barton.de Git - bup.git/commitdiff
Fix lib/bup/t/tmetadata.py test on Linux
authorAlexander Barton <alex@barton.de>
Thu, 1 Jan 2015 16:17:05 +0000 (17:17 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 1 Jan 2015 16:17:48 +0000 (17:17 +0100)
Bug introduced by 163c72e6 "Streamline output: Debug, error, progress, and log
messages", my bad :-/

lib/bup/t/tmetadata.py

index e992ccc5255cd58731ec93bf04ce607a6d2ee848..31ee5a6174e977acaf30d32c63003dcbeb12ae3c 100644 (file)
@@ -170,7 +170,7 @@ def test_from_path_error():
     if metadata.get_linux_file_attr:
         WVPASS(len(helpers.saved_errors) == 1)
         errmsg = _first_err()
-        WVPASS(errmsg.startswith('read Linux attr'))
+        WVPASS(errmsg.startswith('Read Linux attr'))
         clear_errors()
     if wvfailure_count() == initial_failures:
         subprocess.call(['chmod', '-R', 'u+rwX', tmpdir])