am-ft: make the environment available earlier
[platform/upstream/automake.git] / t / suffix3.tap
old mode 100755 (executable)
new mode 100644 (file)
index 2498ae1..620c3e4
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-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
@@ -17,7 +17,7 @@
 # Test to make sure that suffix rules chain.
 
 required=c++
-. ./defs || exit 1
+. test-init.sh
 
 plan_ 10
 
@@ -77,6 +77,6 @@ done
 
 # Intermediate files should not be distributed.
 command_ok_ "make distdir" $MAKE distdir
-command_ok_ "intermediate file not distributed" test ! -r $me-1.0/foo.cc
+command_ok_ "intermediate file not distributed" test ! -e $me-1.0/foo.cc
 
 :