From 122d84991204bc27f91b2603ca1b3331310ee8cb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 18 Mar 2007 00:12:31 +0000 Subject: [PATCH] Produce output that makes it easier to debug failures. --- ChangeLog | 4 ++++ tests/test-argp-2.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 06846916a..42690fc14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-03-17 Bruno Haible + * tests/test-argp-2.sh (func_compare): Output a context diff. + +2007-03-17 Bruno Haible + * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the locale's decimal-point character. diff --git a/tests/test-argp-2.sh b/tests/test-argp-2.sh index 5ea7a4297..7d73f5ccd 100755 --- a/tests/test-argp-2.sh +++ b/tests/test-argp-2.sh @@ -1,6 +1,6 @@ #! /bin/sh # Test suite for argp. -# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2006-2007 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # This program is free software; you can redistribute it and/or modify @@ -26,7 +26,7 @@ func_compare() { # If argp was compiled without base_name, it will display full program name sed '1{ s,: [^ ]*/test-argp,: test-argp, - }' | cmp - $TMP + }' | diff -c $TMP - } #### -- 2.11.0