diff --git a/tests/gem_persistent_relocs.c b/tests/gem_persistent_relocs.c index 50338747..bc1d52a4 100644 --- a/tests/gem_persistent_relocs.c +++ b/tests/gem_persistent_relocs.c @@ -381,5 +381,5 @@ int main(int argc, char **argv) close(fd); } - return 0; + igt_exit(); } diff --git a/tests/gem_reloc_vs_gpu.c b/tests/gem_reloc_vs_gpu.c index baa7072f..9f85e9cd 100644 --- a/tests/gem_reloc_vs_gpu.c +++ b/tests/gem_reloc_vs_gpu.c @@ -384,5 +384,5 @@ int main(int argc, char **argv) close(fd); } - return 0; + igt_exit(); }