]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/t/tmetadata.py
t/tmetadata.py: fix a typo st_uid -> st_gid.
[bup.git] / lib / bup / t / tmetadata.py
index be583dcb52ce4634b8d854962a8382bd11a34ada..d6af988aea5f07c0e1b0e8edb3c8fded20d78d52 100644 (file)
@@ -194,7 +194,7 @@ def test_restore_nonexistent_user_group():
         WVPASSEQ(os.stat(path).st_gid, m.gid)
         WVPASSEQ(m.apply_to_path(path, restore_numeric_ids=False), None)
         WVPASSEQ(os.stat(path).st_uid, os.geteuid())
-        WVPASSEQ(os.stat(path).st_uid, os.getgid())
+        WVPASSEQ(os.stat(path).st_gid, os.getgid())
     finally:
         subprocess.call(['rm', '-rf', tmpdir])