tests/hangman: fix when run with absolute path

QA's test rig does that.
This commit is contained in:
Daniel Vetter 2012-05-23 11:37:04 +02:00
parent 96c2fc82ba
commit 2448a75ff6

View File

@ -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"