autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autotest: do not extract #AT_STOP_


From: Stepan Kasal
Subject: Autotest: do not extract #AT_STOP_
Date: Sat, 24 Nov 2007 00:38:08 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

Hello,
  attached find a oneliner. Passes "make check".
Ok to push?
Stepan

diff --git a/ChangeLog b/ChangeLog
index d6d42ea..60a292d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-24  Stepan Kasal  <address@hidden>
+
+       * lib/autotest/general.m4 (AT_INIT): Do not extract the
+       `#AT_STOP_...' line at the end of each test.
+
 2007-11-23  Ralf Wildenhues  <address@hidden>
 
        * lib/autotest/general.m4 (AT_INIT): For awk line number
diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
index 6fa3f2e..022c56d 100644
--- a/lib/autotest/general.m4
+++ b/lib/autotest/general.m4
@@ -884,7 +884,7 @@ BEGIN { FS="" }
 }
 /address@hidden:@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"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]