From 37f5a0380524f487f7dbf6737ee30e8510967af6 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 9 Nov 2020 11:19:58 -0500 Subject: [PATCH] commit bash-20201103 snapshot --- tests/glob.right | 2 ++ tests/glob9.sub | 4 ++++ tests/history5.sub | 6 ++++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/glob.right b/tests/glob.right index 8f4db354..94966905 100644 --- a/tests/glob.right +++ b/tests/glob.right @@ -119,6 +119,8 @@ searchable/. 6: a\*b a\*b* +é/* +é/* argv[1] = argv[2] = argv[3] = diff --git a/tests/glob9.sub b/tests/glob9.sub index 50105e52..ef2af2bd 100644 --- a/tests/glob9.sub +++ b/tests/glob9.sub @@ -7,3 +7,7 @@ touch ~/ಇಳಿಕೆಗಳು/{a,b}.txt echo ~/ಇಳಿಕೆಗಳು/*.txt >/dev/null rm -rf ${TMPDIR}/ಇಳಿಕೆಗಳು + +LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 +echo é/* +echo 'é'/* diff --git a/tests/history5.sub b/tests/history5.sub index c44ace8a..245c28d0 100644 --- a/tests/history5.sub +++ b/tests/history5.sub @@ -12,9 +12,9 @@ # along with this program. If not, see . # -trap 'rm -f $HISTFILE' 0 1 2 3 6 15 +trap 'rm -f "$OUT"' 0 1 2 3 6 15 -HISTFILE=$TMPDIR/fchist-$$ +HISTFILE=$TMPDIR/fchist-$$ ; OUT=$HISTFILE unset HISTIGNORE HISTCONTROL set -o history @@ -53,3 +53,5 @@ fc -l 1 99 # other out-of-range behavior for future work echo out of range 4 fc -l -20 -40 + +unset HISTFILE # suppress writing history file