[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Typo in the test suite
From: |
Akim Demaille |
Subject: |
Typo in the test suite |
Date: |
31 Oct 2002 14:58:08 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
Index: ChangeLog
from Akim Demaille <address@hidden>
The test suite was no longer checking for trailing envvars and files.
* tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
(AT_CHECK_ENV): Make sure the `state-ls.before file exists.
Index: tests/atspecific.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/atspecific.m4,v
retrieving revision 1.74
diff -u -u -r1.74 atspecific.m4
--- tests/atspecific.m4 28 Oct 2002 07:15:06 -0000 1.74
+++ tests/atspecific.m4 31 Oct 2002 13:56:37 -0000
@@ -187,10 +187,9 @@
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
- grep '^m4_defn([m4_re_word])=' >address@hidden&address@hidden
-test $? = 0 || rm -f address@hidden&address@hidden
-
-ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort
>address@hidden&address@hidden
+ grep '^m4_defn([m4_re_word])=' >state-env.$][1
+test $? = 0 || rm -f state-env.$][1
+ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1
])# AC_STATE_SAVE
]])
@@ -237,14 +236,16 @@
# ------------
# Check that the full configure run remained in its variable name space,
# and cleaned up tmp files.
-# me tests might exit prematurely when they find a problem, in
+# Some tests might exit prematurely when they find a problem, in
# which case `env-after' is probably missing. Don't check it then.
m4_define([AT_CHECK_ENV],
-[if test -f state-env.before && test -f state-env.after; then
+[test -f state-ls.before ||
+ AS_ERROR([state-ls.before not present])
+if test -f state-env.before && test -f state-env.after; then
mv -f state-env.before expout
AT_CHECK([cat state-env.after], 0, expout)
fi
-if test -f state-ls.before && test -f state-ls.after; then
+if test -f state-ls.after; then
mv -f state-ls.before expout
AT_CHECK([cat state-ls.after], 0, expout)
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Typo in the test suite,
Akim Demaille <=