tests: prune some weed in a non-POSIX test
[platform/upstream/automake.git] / t / instdat2.sh
old mode 100755 (executable)
new mode 100644 (file)
index 8773fc3..1a55e8e
@@ -1,5 +1,5 @@
 #! /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
@@ -17,7 +17,7 @@
 # Test that installing under $exec_prefix is handled by install-exec.
 # Testing with headers for instance.
 
-. ./defs || Exit 1
+. test-init.sh
 
 cat >Makefile.am << 'EOF'
 # User directories.
@@ -62,7 +62,7 @@ pkgdata_SCRIPTS = script
 ##pkginclude_SCRIPTS = script
 EOF
 
-$ACLOCAL || Exit 1
+$ACLOCAL || exit 1
 $AUTOMAKE
 
 # install-SCRIPTS targets.
@@ -86,4 +86,4 @@ EOF
 
 diff expected produced
 
-Exit 0
+exit 0