2000-04-18 H.J. Lu <hjl@gnu.org>

* posix/globtest.sh: Properly apply the patch by Ulrich Drepper
        <drepper@redhat.com> on 2000-04-13.
This commit is contained in:
Andreas Jaeger 2000-04-27 04:06:31 +00:00
parent 5a1823c27e
commit 507189ee58
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2000-04-18 H.J. Lu <hjl@gnu.org>
* posix/globtest.sh: Properly apply the patch by Ulrich Drepper
<drepper@redhat.com> on 2000-04-13.
2000-04-18 Ulrich Drepper <drepper@redhat.com>
* po/cs.po: Update from translation team.

View File

@ -211,12 +211,6 @@ echo ~ | cmp - $testout || result=1
${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
${common_objpfx}posix/globtest -q -t "$testdir" "~/" |
sort > $testout
echo ~/ | cmp - $testout || result=1
# Test tilde expansion with username
${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
${common_objpfx}posix/globtest -q -t "$testdir" "~"$USER |
sort > $testout
# Some shell incorrectly(?) convert ~/ into // if ~ expands to /.
if test ~/ = //; then
echo / | cmp - $testout || result=1
@ -224,6 +218,12 @@ else
echo ~/ | cmp - $testout || result=1
fi
# Test tilde expansion with username
${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
${common_objpfx}posix/globtest -q -t "$testdir" "~"$USER |
sort > $testout
eval echo ~$USER | cmp - $testout || result=1
# Tilde expansion shouldn't match a file
${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
${common_objpfx}posix/globtest -T "$testdir" "~file4" |