Permalink
Browse files

t/tmetadata.py: fix a typo st_uid -> st_gid.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
  • Loading branch information...
1 parent 96a717d commit d6412402fefe25d8828a0f06c342c0186ffdf5d3 @eduardok eduardok committed with apenwarr Mar 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bup/t/tmetadata.py
View
@@ -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])

0 comments on commit d641240

Please sign in to comment.