[Reproducible-commits] [diffoscope] 11/13: Do skip squashfs test if there's no user with uid 1000
Jérémy Bobbio
lunar at moszumanska.debian.org
Thu Oct 15 16:04:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository diffoscope.
commit 4d598d137890c9529c7407ac5ea980d2e37656af
Author: Jérémy Bobbio <lunar at debian.org>
Date: Thu Oct 15 14:39:19 2015 +0000
Do skip squashfs test if there's no user with uid 1000
---
tests/comparators/test_squashfs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/comparators/test_squashfs.py b/tests/comparators/test_squashfs.py
index 6331176..c38dd15 100644
--- a/tests/comparators/test_squashfs.py
+++ b/tests/comparators/test_squashfs.py
@@ -59,7 +59,7 @@ def test_superblock(differences):
assert differences[0].unified_diff == expected_diff
# I know, the next line is pretty lame. But fixing #794096 would be the real fix for this.
- at pytest.mark.skipif(try_except(lambda: pwd.getpwuid(1000).pw_name != 'lunar', False, KeyError), reason='uid 1000 is not lunar')
+ at pytest.mark.skipif(try_except(lambda: pwd.getpwuid(1000).pw_name != 'lunar', True, KeyError), reason='uid 1000 is not lunar')
@pytest.mark.skipif(tool_missing('unsquashfs'), reason='missing unsquashfs')
def test_listing(differences):
expected_diff = open(os.path.join(os.path.dirname(__file__), '../data/squashfs_listing_expected_diff')).read()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list