aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/qemu_test/asset.py2
-rw-r--r--tests/tcg/plugins/syscall.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/qemu_test/asset.py b/tests/functional/qemu_test/asset.py
index 3ec4292..e47bfac 100644
--- a/tests/functional/qemu_test/asset.py
+++ b/tests/functional/qemu_test/asset.py
@@ -57,7 +57,7 @@ class Asset:
break
hl.update(chunk)
- return hl.hexdigest()
+ return self.hash == hl.hexdigest()
def valid(self):
return self.cache_file.exists() and self._check(self.cache_file)
diff --git a/tests/tcg/plugins/syscall.c b/tests/tcg/plugins/syscall.c
index 89dc7f4..ff45217 100644
--- a/tests/tcg/plugins/syscall.c
+++ b/tests/tcg/plugins/syscall.c
@@ -34,7 +34,6 @@ static const struct SyscallInfo arch_syscall_info[] = {
{ "arm", 4 },
{ "armeb", 4 },
{ "avr", -1 },
- { "cris", -1 },
{ "hexagon", 64 },
{ "hppa", -1 },
{ "i386", 4 },