From f5976391875f8ff34aabbafa55f8e1ee06e9f53f Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 12 Jun 2010 20:32:00 +0200 Subject: [PATCH] Add useful comment in test script obsolete.test. * tests/obsolte.test: Add a comment explaining why we need an indirection in adding $AUTOUPDATE to $required. Signed-off-by: Ralf Wildenhues --- ChangeLog | 4 ++++ tests/obsolete.test | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b6d93f9..6174ee0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-06-13 Stefano Lattarini + Add useful comment in test script obsolete.test. + * tests/obsolte.test: Add a comment explaining why we need + an indirection in adding $AUTOUPDATE to $required. + Normalize whitespaces in 'tests/Makefile.am'. * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the definition of this variable. diff --git a/tests/obsolete.test b/tests/obsolete.test index e6601c9..337e4db 100755 --- a/tests/obsolete.test +++ b/tests/obsolete.test @@ -1,5 +1,6 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2007, 2008, 2010 Free Software +# Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +17,8 @@ # Test to make sure obsolete macros can be autoupdated. +# We need the following indirection in case someone exported e.g. +# AUTOUPDATE='autoupdate --verbose'. set x ${AUTOUPDATE-autoupdate} required=$2 . ./defs || Exit 1 -- 2.7.4