From 2448a75ff6127a03404e659a5e1046236eef41d4 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 23 May 2012 11:37:04 +0200 Subject: [PATCH] tests/hangman: fix when run with absolute path QA's test rig does that. --- tests/ZZ_hangman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ZZ_hangman b/tests/ZZ_hangman index cc81c36d..b8f4a682 100755 --- a/tests/ZZ_hangman +++ b/tests/ZZ_hangman @@ -27,7 +27,7 @@ fi echo 0xf > i915_ring_stop echo "rings stopped" -$oldpath/$SOURCE_DIR/gem_exec_nop > /dev/null +(cd $oldpath; $SOURCE_DIR/gem_exec_nop) > /dev/null if cat i915_error_state | grep -v "no error state collected" > /dev/null ; then echo "gpu hang correctly dectected"