gem_gtt_hog: use a normal exit()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Jan 2014 10:40:40 +0000 (10:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Jan 2014 10:46:19 +0000 (10:46 +0000)
Since we don't execute any subtests, using igt_exit leads to
inconsistent behaviour. In the future, this may be converted.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73641
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_gtt_hog.c

index 73c4e9e..aa83b40 100644 (file)
@@ -141,7 +141,7 @@ static void run(int child)
        munmap(ptr, size);
 
        igt_assert(x == canary);
-       igt_exit();
+       exit(0);
 }
 
 int main(int argc, char **argv)