Index: ChangeLog from Akim Demaille * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset. Fixes false failures on Darwin. Index: tests/m4sh.at =================================================================== RCS file: /cvsroot/autoconf/autoconf/tests/m4sh.at,v retrieving revision 1.29 diff -u -u -r1.29 m4sh.at --- tests/m4sh.at 10 Apr 2002 15:58:21 -0000 1.29 +++ tests/m4sh.at 18 Apr 2002 15:39:13 -0000 @@ -45,7 +45,9 @@ [AT_DATA([$1], [[AS@&address@hidden if $2; then - AS@&address@hidden([LINENO]) + # If we can't unset LINENO, then this test makes no sense: skip it. + AS@&address@hidden([LINENO]) || + AS@&address@hidden([cannot unset LINENO], 77) fi _AS@&address@hidden echo "Line: $3" @@ -84,8 +86,8 @@ 0, [expout]) AT_CHECK([sh ./test/test-2], 0, [expout]) -# Beware that *.lineno scripts can be *here* while the masters are in test/. -AT_CLEANUP(reference test test-1.lineno test-2.lineno) +AT_CLEANUP + ## ------------ ## @@ -232,7 +234,7 @@ AT_CHECK_M4SH AT_CHECK([./script]) -AT_CLEANUP(1 a) +AT_CLEANUP