tests: simpler workaround for shells losing the exit status in exit trap
[platform/upstream/automake.git] / t / python5.sh
index 80429f9..8e1e030 100755 (executable)
@@ -18,7 +18,7 @@
 # Same as python4.test, but requiring a version.
 
 # Python is not required for this test.
-. ./defs || Exit 1
+. ./defs || exit 1
 
 cat >>configure.ac <<EOF
 # Hopefully the Python team will never release such a version.
@@ -35,7 +35,7 @@ $AUTOMAKE --add-missing
 ./configure >stdout 2>stderr && {
   cat stdout
   cat stderr >&2
-  Exit 1
+  exit 1
 }
 cat stdout
 cat stderr >&2