Add useful comment in test script obsolete.test.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 12 Jun 2010 18:32:00 +0000 (20:32 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 13 Jun 2010 17:20:05 +0000 (19:20 +0200)
* tests/obsolte.test: Add a comment explaining why we need
an indirection in adding $AUTOUPDATE to $required.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/obsolete.test

index b6d93f9..6174ee0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       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.
index e6601c9..337e4db 100755 (executable)
@@ -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