From 5147a642966e2247827cfd9e6f71464439c6d773 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 29 Oct 2020 09:21:52 -0400 Subject: [PATCH] tests/m4sh.at: prevent an undesirable expansion of __oline__. The descriptive comment for AT_DATA_LINENO mentions __oline__, and this is expanded when generating the testsuite, which is confusing to anyone reading the generated testuite. Defang it with @&t@. * tests/m4sh.at (AT_DATA_LINENO): Prevent expansion of __oline__ in the descriptive comment. --- tests/m4sh.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/m4sh.at b/tests/m4sh.at index 30e3fa58..633becdd 100644 --- a/tests/m4sh.at +++ b/tests/m4sh.at @@ -229,7 +229,7 @@ AT_CHECK([test ${ZSH_VERSION+y} && exit 77], ignore) # Use COUNTER, COUNTER-RE = [__LINENO__], [LINENO] # or = [__OLINE__], [_oline__] # -# instead of the obvious $LINENO and __oline__, because they would +# instead of the obvious $LINENO and __oline@&t@__, because they would # be replaced in the test suite itself, even before creating these # scripts. For the same reason, grep for LINENO and _oline__ (sic). # -- 2.47.2