From: Damien Lespiau Subject: [PATCH 6/8] tests: Allow a shell test to declare it doesn't need to be DRM master Date: Fri, 19 Jul 2013 17:49:46 +0100 Message-ID: <1374252588-8260-7-git-send-email-damien.lespiau@intel.com> References: <1374252588-8260-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 778D2E60DE for ; Fri, 19 Jul 2013 09:50:30 -0700 (PDT) In-Reply-To: <1374252588-8260-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Damien Lespiau --- tests/drm_lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh index 2532352..25197d4 100755 --- a/tests/drm_lib.sh +++ b/tests/drm_lib.sh @@ -26,7 +26,8 @@ fi # read everything we can if [ `cat $i915_dfs_path/clients | wc -l` -gt "2" ] ; then - die "ERROR: other drm clients running" + [ -n "$DRM_LIB_ALLOW_NO_MASTER" ] || \ + die "ERROR: other drm clients running" fi i915_sfs_path= -- 1.8.3.1