#! /bin/sh
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2013 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
# of the "deleted header problem". This test checks that we can rename
# an included .am file without confusing the remake rules.
-. ./defs || Exit 1
+. test-init.sh
echo AC_OUTPUT >> configure.ac
mv -f foo.am bar.am
echo include bar.am > Makefile.am
$MAKE Makefile
-$FGREP 'foo.am' Makefile Makefile.in && Exit 1
+$FGREP 'foo.am' Makefile Makefile.in && exit 1
$sleep
rm -f has-run-1 bar.am
echo 'include $(srcdir)/zardoz.am' > Makefile.am
using_gmake || $MAKE Makefile
$MAKE
-test ! -f has-run-1
+test ! -e has-run-1
test -f has-run-2
: