From 103cf704b2b6cfd290a0c63f0d400b9ff08e1783 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 14 Nov 2020 20:19:28 -0800 Subject: [PATCH] tests: accommodate an $ac_aux_dir of "." or "./" * t/auxdir-pr15981.sh: This test would fail when run with autoconf-2.69d because $ac_aux_dir would be "./" rather than the expected ".". Accept both. --- t/auxdir-pr15981.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/auxdir-pr15981.sh b/t/auxdir-pr15981.sh index 14e9879d3..6ade6ce3a 100644 --- a/t/auxdir-pr15981.sh +++ b/t/auxdir-pr15981.sh @@ -24,7 +24,7 @@ AC_INIT([test], [0.0]) AM_AUX_DIR_EXPAND printf '%s\n' "ac_aux_dir: '$ac_aux_dir'" printf '%s\n' "am_aux_dir: '$am_aux_dir'" -test "$ac_aux_dir" = . || AS_EXIT([1]) +test "${ac_aux_dir%/}" = . || AS_EXIT([1]) test "$am_aux_dir" = "`pwd`" || AS_EXIT([1]) AS_EXIT([0]) END -- 2.47.3