]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
test init: remove a couple of paranoid sanity checks
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Jul 2012 16:49:50 +0000 (18:49 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 26 Jul 2012 12:11:34 +0000 (14:11 +0200)
* t/ax/test-init.sh: Here, about 'am_top_srcdir' and 'am_top_builddir';
the values of those variables are AC_SUBST'd, so it's nigh impossible
for the to be wrong or get "messed up".

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/ax/test-init.sh

index 5376b4700517d5bd3075bd107605ea190bcfcc1b..95a42e009e2d991e7e982be01939fa0c9641230d 100644 (file)
 set -e
 
 
-## --------------------- ##
-##  Early sanity checks. ##
-## --------------------- ##
-
-# Ensure $am_top_srcdir is set correctly.
-test -f "$am_top_srcdir/automake.in" || {
-   echo "$me: $am_top_srcdir/automake.in not found," \
-        "check \$am_top_srcdir" >&2
-   exit 99
-}
-
-# Ensure $am_top_builddir is set correctly.
-test -f "$am_top_builddir/automake" || {
-   echo "$me: $am_top_builddir/automake not found," \
-        "check \$am_top_builddir" >&2
-   exit 99
-}
-
-
 ## ------------------ ##
 ##  Early variables.  ##
 ## ------------------ ##