tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / depend5.sh
old mode 100755 (executable)
new mode 100644 (file)
index 3029bdb..d1650bc
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-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
@@ -18,7 +18,7 @@
 # quoting in $CONFIG_FILES, done by newer Autoconf.
 
 required=cc
-. ./defs || Exit 1
+. test-init.sh
 
 cat >>configure.ac << END
 AC_PROG_CC
@@ -64,13 +64,13 @@ for arg in Makefile \
 do
   rm -rf .deps _deps
   ./config.status "$arg" depfiles >stdout 2>stderr ||
-    { cat stdout; cat stderr >&2; Exit 1; }
+    { cat stdout; cat stderr >&2; exit 1; }
   cat stdout
   cat stderr >&2
-  grep '[Nn]o such file' stderr && Exit 1
+  grep '[Nn]o such file' stderr && exit 1
 
   if test -n "$depdir"; then
-    test -d $depdir || Exit 1
+    test -d $depdir || exit 1
   fi
 done