From 6ea06c1f4ee12f4ea66d81425c726c31cb631d78 Mon Sep 17 00:00:00 2001 From: Mika Kuoppala Date: Mon, 13 Jun 2016 15:50:32 +0300 Subject: [PATCH 1/1] tests/drv_missed_irq_hang: Fix gem_blt path Don't add SOURCE_DIR to the path for gem_blt as if this script is invocated on some other directory, the path to gem_blt will be concatenated two times. References: https://bugs.freedesktop.org/show_bug.cgi?id=88437 Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- tests/drv_missed_irq_hang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/drv_missed_irq_hang b/tests/drv_missed_irq_hang index e76c7db674ac..96a653846005 100755 --- a/tests/drv_missed_irq_hang +++ b/tests/drv_missed_irq_hang @@ -6,12 +6,12 @@ SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )" . $SOURCE_DIR/drm_lib.sh -oldpath=`pwd` +oldpath=$PWD cd $i915_dfs_path function blt_wait { - $oldpath/$SOURCE_DIR/../benchmarks/gem_blt -r 1 -b 64 -t 1 -S > /dev/null + ${oldpath}/../benchmarks/gem_blt -r 1 -b 64 -t 1 -S > /dev/null } function check_for_missed_irq { -- 2.7.4