#! /bin/sh
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-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
# Check that 'dist-hook' works. See automake bug#10878.
-. ./defs || exit 1
+. test-init.sh
echo AC_OUTPUT >> configure.ac
ls -l $distdir $distdir/doc
cd $distdir
test "$(cat write)" = "all is ok"
-test ! -f removed
-test ! -r removed
+test ! -e removed
test -f doc/README
test -f doc/RELEASE-DATE
-test ! -f doc/HACING
-test ! -r doc/HACING
+test ! -e doc/HACING
./execute
./execute | grep 'I run successfully'
cd ..