#! /bin/sh
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+# Copyright (C) 2001-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
# Test to make sure that non-existing common files are distributed
# if they are buildable.
-. ./defs || Exit 1
+. test-init.sh
cat > Makefile.am << 'END'
README:
$ACLOCAL
# Should not warn about missing README, since it is a target.
-$AUTOMAKE --add-missing --gnu >output 2>&1 || { cat output; Exit 1; }
+$AUTOMAKE --add-missing --gnu >output 2>&1 || { cat output; exit 1; }
cat output
-grep README output && Exit 1
+grep README output && exit 1
sed -n -e '/^DIST_COMMON =.*\\$/ {
:loop