tests.at: Use correct `m4_bpatsubst' instead of wrong `m4_bregexp'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 13 May 2021 14:22:33 +0000 (15:22 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 13 May 2021 14:22:33 +0000 (15:22 +0100)
This was preventing tests for non-installed Lisps from being skipped.

tests.at

index 8c5d0c6..d769420 100644 (file)
--- a/tests.at
+++ b/tests.at
@@ -51,7 +51,7 @@ unset RUNLISP_USERCONFIG
 m4_define([PREPARE_LISP_TEST],
 [SETUP_RUNLISP_ENV
 lisp=$1
-LISP=$m4_translit(m4_bregexp([$1], [/.*$], []), [a-z], [A-Z])
+LISP=$m4_translit(m4_bpatsubst([$1], [/.*$], []), [a-z], [A-Z])
 AT_SKIP_IF([test "x$LISP" = x])
 case $lisp in
   */*) opt=${lisp#*/} lisp=${lisp%%/*} ;;