Sign in
qemu
/
meson
/
7b43a2e19613f3702935872b21b1020f7d8c6a9b
/
.
/
test cases
/
frameworks
/
6 gettext
/
data3
/
verify.py
blob: aff2f2eb611c4af6958c68a83f8d90333f038f60 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
os
import
sys
assert
len
(
sys
.
argv
)
==
3
fname
=
sys
.
argv
[
1
]
check_str
=
sys
.
argv
[
2
]
assert
os
.
path
.
isfile
(
fname
)
with
open
(
fname
,
'r'
,
encoding
=
'utf-8'
)
as
f
:
assert
check_str
in
f
.
read
()