summaryrefslogtreecommitdiff
path: root/t/werror.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/werror.sh')
-rw-r--r--t/werror.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/t/werror.sh b/t/werror.sh
index 9da201084..479c3082a 100644
--- a/t/werror.sh
+++ b/t/werror.sh
@@ -16,11 +16,19 @@
# Test to make sure -Werror and --add-missing work together.
+am_create_testdir=empty
. test-init.sh
-: > Makefile.am
-
-rm -f install-sh depcomp missing mkinstalldirs
+cat > configure.ac <<END
+AC_INIT([$me], [1.0])
+AM_INIT_AUTOMAKE
+AC_CONFIG_FILES([Makefile])
+END
+: > Makefile.am
+test ! -f install-sh # Sanity check.
$ACLOCAL
$AUTOMAKE -Werror --add-missing
+test -f install-sh # Sanity check.
+
+: