summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-01-15 10:40:40 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-01-15 10:46:19 +0000
commit5e278c86eda1d5ade7c0fc425edc589e3c9dff59 (patch)
tree1f928a01e999941137076fc74b25b5344d7886aa
parenta896ef9c1f67cf707fd2aea900e9276b4ff535d6 (diff)
gem_gtt_hog: use a normal exit()
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>
-rw-r--r--tests/gem_gtt_hog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_gtt_hog.c b/tests/gem_gtt_hog.c
index 73c4e9e6..aa83b400 100644
--- a/tests/gem_gtt_hog.c
+++ b/tests/gem_gtt_hog.c
@@ -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)