From 30d2f3d50f9a4f3f2604a03664c989c99b991983 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 27 Jan 2002 10:59:15 +0000 Subject: [PATCH 1/1] * tests/actions.at, tests/calc.at, tests/headers.at, * tests/torture.at: Adjust to the newest Autotest which no longer forces `.' in the PATH. --- ChangeLog | 6 ++++++ tests/actions.at | 2 +- tests/calc.at | 6 +++--- tests/headers.at | 2 +- tests/torture.at | 12 ++++++------ 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1eef7317..06f73c00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-01-26 Akim Demaille + + * tests/actions.at, tests/calc.at, tests/headers.at, + * tests/torture.at: Adjust to the newest Autotest which no longer + forces `.' in the PATH. + 2002-01-25 Akim Demaille * tests/regression.at (%nonassoc and eof): New. diff --git a/tests/actions.at b/tests/actions.at index e3d4ba29..6850ce65 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -74,7 +74,7 @@ main (void) AT_CHECK([bison input.y -d -v -o input.c]) AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore]) -AT_CHECK([input], 0, +AT_CHECK([./input], 0, [[0123456789 ]]) diff --git a/tests/calc.at b/tests/calc.at index 90241b35..f813c462 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -285,7 +285,7 @@ m4_define([_AT_CHECK_CALC], [AT_DATA([[input]], [[$2 ]]) -AT_CHECK([calc input], 0, [], [stderr])dnl +AT_CHECK([./calc input], 0, [], [stderr])dnl AT_CHECK([wc -l 5120 is the last possible). -AT_CHECK([input 10000], 1, [], [ignore]) +AT_CHECK([./input 10000], 1, [], [ignore]) AT_CLEANUP @@ -106,12 +106,12 @@ AT_SETUP([Exploding the Stack Size with Malloc]) AT_DATA_STACK_TORTURE([[#define YYSTACK_USE_ALLOCA 0]]) # Below the limit of 200. -AT_CHECK([input 20], 0, [], [ignore]) +AT_CHECK([./input 20], 0, [], [ignore]) # Two enlargements: 2 * 2 * 200. -AT_CHECK([input 900], 0, [], [ignore]) +AT_CHECK([./input 900], 0, [], [ignore]) # Fails: beyond the limit of 10,000 (which we don't reach anyway since we # multiply by two starting at 200 => 5120 is the possible). -AT_CHECK([input 10000], 1, [], [ignore]) +AT_CHECK([./input 10000], 1, [], [ignore]) AT_CLEANUP -- 2.47.2