diff options
author | Jim Meyering <meyering@fb.com> | 2020-11-14 20:19:28 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2020-11-14 20:19:28 -0800 |
commit | 103cf704b2b6cfd290a0c63f0d400b9ff08e1783 (patch) | |
tree | f76f83c05bdd4e6993808107a045ed75ac8ddb2f /t | |
parent | b495c128a64d9ff6652636cc9839e1a4b4926e3b (diff) | |
download | automake-103cf704b2b6cfd290a0c63f0d400b9ff08e1783.tar.gz |
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.
Diffstat (limited to 't')
-rw-r--r-- | t/auxdir-pr15981.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |