#! /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
# in the same directory.
required='cc c++ yacc'
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CC
test -f p.c
test -f p.h
test -f c2-p.c
- test ! -r c2-p.h
+ test ! -e c2-p.h
test -f parse.cc
test -f parse.hh
test -f parse3.hxx
test -f cxx2-parse2.c++
- test ! -r parse2.h++
- test ! -r cxx2-parse2.h++
+ test ! -e parse2.h++
+ test ! -e cxx2-parse2.h++
# Minimal checks about recovering from header removal.
rm -f p.h parse.hh parse3.hxx
$debug_info
test -f p.h
test -f parse.hh
- test ! -r parse3.hxx
+ test ! -e parse3.hxx
$run_make
$debug_info
test -f parse3.hxx