>From 24872a578ce0156187ccd06b3e3cd2507d8084e1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 17 Oct 2019 11:39:51 -0700 Subject: [PATCH 08/11] tests: port to Solaris 10 sed As documented in the Autoconf manual, Solaris 10 sed rejects script labels contianing more than 7 characters. POSIX requires support for at least 8 characters, but we might as well be portable to Solaris 10 which is still supported. * tests/local.at (AT_SETS_CHECK): Use only the first 7 characters in sed labels. --- tests/local.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/local.at b/tests/local.at index 14cd448c..43de4abc 100644 --- a/tests/local.at +++ b/tests/local.at @@ -1435,10 +1435,10 @@ m4_define([AT_SETS_CHECK], [[#n ]m4_foreach([m4_Set], [$2], [[ /^]m4_Set[/ { - :]m4_Set[ + :]m4_substr(m4_Set, 0, 7)[ p n - /^ *$/ !b ]m4_Set[ + /^ *$/ !b ]m4_substr(m4_Set, 0, 7)[ } ]])]) -- 2.21.0