From d846b88d2f441ce866effde1c3bb40fa8516c7e8 Mon Sep 17 00:00:00 2001 From: Ileana Dumitrescu Date: Mon, 3 Jun 2024 20:38:10 +0300 Subject: [PATCH] Fixed failing test when program-prefix is used * tests/libtoolize.at: When -program-prefix is used, stdout for the program changes from the expected output. As a result, the test fails. Replaced the transformed name to account for program-prefix. --- tests/libtoolize.at | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/libtoolize.at b/tests/libtoolize.at index a9ed75a67..1030b15b1 100644 --- a/tests/libtoolize.at +++ b/tests/libtoolize.at @@ -1074,6 +1074,10 @@ libtoolize: linking file 'ltdl/ltdl.h' libtoolize: linking file 'ltdl/slist.c' ]]) +# Replace transformed name of $lt_name to account for program-prefix +lt_name=`$ECHO "$LIBTOOLIZE" | $SED "s|^.*/||"` +$SED -i "s/libtoolize/$lt_name/g" expout + AT_DATA([no-m4], [[#! /bin/sh echo 'error: do not call m4' >&2 -- 2.47.3