From: Eduardo Bacchi Kienetz Date: Thu, 10 Mar 2011 18:35:54 +0000 (-0800) Subject: t/tmetadata.py: fix a typo st_uid -> st_gid. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d6412402fefe25d8828a0f06c342c0186ffdf5d3;p=packages%2Fb%2Fbup.git t/tmetadata.py: fix a typo st_uid -> st_gid. Signed-off-by: Avery Pennarun --- diff --git a/lib/bup/t/tmetadata.py b/lib/bup/t/tmetadata.py index be583dc..d6af988 100644 --- a/lib/bup/t/tmetadata.py +++ b/lib/bup/t/tmetadata.py @@ -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])