summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-27 04:06:31 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-27 04:06:31 +0000
commit507189ee58fddfdf11280a304d454f22c1da9e5d (patch)
treeeaf19b779d021c86955a2d66ae5b93294ab859e8
parent5a1823c27e257286e02e65dae5dd297f1f969a62 (diff)
downloadglibc-507189ee58fddfdf11280a304d454f22c1da9e5d.tar.gz
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.
-rw-r--r--ChangeLog5
-rwxr-xr-xposix/globtest.sh12
2 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ca85cae9cd..41a4a5be07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/posix/globtest.sh b/posix/globtest.sh
index b8509fcaaa..2dc21ce215 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -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" |