From patchwork Tue May 21 19:18:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramsay Jones X-Patchwork-Id: 2598831 Return-Path: X-Original-To: patchwork-linux-sparse@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 1E9A54020A for ; Tue, 21 May 2013 19:28:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752054Ab3EUT2M (ORCPT ); Tue, 21 May 2013 15:28:12 -0400 Received: from mdfmta005.mxout.tbr.inty.net ([91.221.168.46]:33945 "EHLO smtp.demon.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752428Ab3EUT2L (ORCPT ); Tue, 21 May 2013 15:28:11 -0400 Received: from mdfmta005.tbr.inty.net (unknown [127.0.0.1]) by mdfmta005.tbr.inty.net (Postfix) with ESMTP id 093FCA64715; Tue, 21 May 2013 20:21:51 +0100 (BST) Received: from mdfmta005.tbr.inty.net (unknown [127.0.0.1]) by mdfmta005.tbr.inty.net (Postfix) with ESMTP id 22CE5A646C3; Tue, 21 May 2013 20:21:50 +0100 (BST) Received: from [193.237.126.196] (unknown [193.237.126.196]) by mdfmta005.tbr.inty.net (Postfix) with ESMTP; Tue, 21 May 2013 20:21:48 +0100 (BST) Message-ID: <519BC87D.5080002@ramsay1.demon.co.uk> Date: Tue, 21 May 2013 20:18:21 +0100 From: Ramsay Jones User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Christopher Li CC: Sparse Mailing-list Subject: [PATCH 4/5] test-suite: Add -b option to ignore CR at eol on MinGW X-MDF-HostID: 8 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org Signed-off-by: Ramsay Jones --- validation/test-suite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/test-suite b/validation/test-suite index 3c011c6..ded93fc 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -126,7 +126,7 @@ do_test() actual_exit_value=$? for stream in output error; do - diff -u "$file".$stream.expected "$file".$stream.got > "$file".$stream.diff + diff -ub "$file".$stream.expected "$file".$stream.got > "$file".$stream.diff if [ "$?" -ne "0" ]; then error "actual $stream text does not match expected $stream text." error "see $file.$stream.* for further investigation."