From 312afddb246616b0603ba54d3fce90786fa8fe72 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 27 Apr 2000 03:45:05 +0000 Subject: [PATCH] Update. 2000-04-18 H.J. Lu * posix/globtest.sh: Properly apply the patch by Ulrich Drepper on 2000-04-13. --- ChangeLog | 5 +++++ posix/globtest.sh | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6adf933..2289908 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-04-18 H.J. Lu + + * posix/globtest.sh: Properly apply the patch by Ulrich Drepper + on 2000-04-13. + 2000-04-27 Bruno Haible * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. diff --git a/posix/globtest.sh b/posix/globtest.sh index 956a5e6..27e340c 100755 --- a/posix/globtest.sh +++ b/posix/globtest.sh @@ -235,6 +235,12 @@ 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 @@ -242,12 +248,6 @@ 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" | -- 2.7.4