☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
frameworks
/
6 gettext
/
data3
/
verify.py
☽
☼
test cases/frameworks/6 gettext/data3/verify.py
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
#!/usr/bin/env python3
2
3
import os
4
import sys
5
6
assert len(sys.argv) == 3
7
8
fname = sys.argv[1]
9
check_str = sys.argv[2]
10
11
assert os.path.isfile(fname)
12
with open(fname, 'r', encoding='utf-8') as f:
13
assert check_str in f.read()