From d6412402fefe25d8828a0f06c342c0186ffdf5d3 Mon Sep 17 00:00:00 2001 From: Eduardo Bacchi Kienetz Date: Thu, 10 Mar 2011 10:35:54 -0800 Subject: [PATCH] t/tmetadata.py: fix a typo st_uid -> st_gid. Signed-off-by: Avery Pennarun --- lib/bup/t/tmetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bup/t/tmetadata.py b/lib/bup/t/tmetadata.py index be583dcb5..d6af988ae 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])