summaryrefslogtreecommitdiff
path: root/tests/gem_hang.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_hang.c')
-rw-r--r--tests/gem_hang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_hang.c b/tests/gem_hang.c
index 5a66fea3..a675eaed 100644
--- a/tests/gem_hang.c
+++ b/tests/gem_hang.c
@@ -74,7 +74,7 @@ int main(int argc, char **argv)
if (argc != 2) {
fprintf(stderr, "usage: %s <disabled pipe number>\n",
argv[0]);
- exit(-1);
+ igt_fail(-1);
}
bad_pipe = atoi(argv[1]);