From: Damien Lespiau Subject: [PATCH 16/23] drm_lib.sh: Tune the DRM master message a bit Date: Fri, 15 Nov 2013 16:33:33 +0000 Message-ID: <1384533220-20780-17-git-send-email-damien.lespiau@intel.com> References: <1384533220-20780-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 mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id B2C5DFB903 for ; Fri, 15 Nov 2013 08:34:00 -0800 (PST) In-Reply-To: <1384533220-20780-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org check_drm_clients can be used to make sure there's no master running. Tune a bit the error message as this is really what we want to test. Signed-off-by: Damien Lespiau --- tests/drm_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh index 97f6f92..92b379f 100755 --- a/tests/drm_lib.sh +++ b/tests/drm_lib.sh @@ -31,7 +31,7 @@ fi # read everything we can if [ `cat $i915_dfs_path/clients | wc -l` -gt "2" ] ; then [ -n "$DRM_LIB_ALLOW_NO_MASTER" ] || \ - die "ERROR: other drm clients running" + die "ERROR: a drm master is already running" fi i915_sfs_path= -- 1.8.3.1