From 2fe86f6854a7e3b42a6efb7499e5a98afc80349e Mon Sep 17 00:00:00 2001 From: Stepan Kasal Date: Sat, 24 Nov 2007 00:35:16 +0100 Subject: [PATCH] * lib/autotest/general.m4 (AT_INIT): Do not extract the `#AT_STOP_...' line at the end of each test. --- ChangeLog | 5 +++++ lib/autotest/general.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d6d42ea8..60a292d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-24 Stepan Kasal + + * lib/autotest/general.m4 (AT_INIT): Do not extract the + `#AT_STOP_...' line at the end of each test. + 2007-11-23 Ralf Wildenhues * lib/autotest/general.m4 (AT_INIT): For awk line number diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 6fa3f2e4..022c56d2 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -884,7 +884,7 @@ BEGIN { FS="" } } /^@%:@AT_STOP_/ { test = substr ($ 0, 10) - print "at_sed" test "=\"1," start "d;" NR "q\"" + print "at_sed" test "=\"1," start "d;" (NR-1) "q\"" if (test == "'"$at_group"'") exit }' "$at_myself" > "$at_test_source" . "$at_test_source" -- 2.47.2