#! /bin/sh
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-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 things that cannot be dist_'ed are diagnosed.
-. ./defs || Exit 1
+. test-init.sh
echo AC_OUTPUT >>configure.ac
AUTOMAKE_fails
test 2 -eq $(grep -c 'dist.*forbidden' stderr)
-Exit 0
+exit 0