Skip to content

Commit

Permalink
Remove last entry again since the globtest.sh patch has been reverted.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Jaeger committed Apr 27, 2000
1 parent 312afdd commit 548f51f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
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-27 Bruno Haible <clisp.cons.org>

* intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
Expand Down
12 changes: 6 additions & 6 deletions posix/globtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,19 +235,19 @@ 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
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" |
Expand Down

0 comments on commit 548f51f

Please sign in to comment.