about summary refs log tree commit diff
path: root/posix/globtest.sh
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-27 04:03:53 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-27 04:03:53 +0000
commit548f51f6be65dc24db751e7fed792df48e865df5 (patch)
tree5e7d4c5760cc65cd4fb83b1c8bf9accaf9fd301c /posix/globtest.sh
parent312afddb246616b0603ba54d3fce90786fa8fe72 (diff)
downloadglibc-548f51f6be65dc24db751e7fed792df48e865df5.tar.gz
glibc-548f51f6be65dc24db751e7fed792df48e865df5.tar.xz
glibc-548f51f6be65dc24db751e7fed792df48e865df5.zip
Remove last entry again since the globtest.sh patch has been reverted.
Diffstat (limited to 'posix/globtest.sh')
-rwxr-xr-xposix/globtest.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/posix/globtest.sh b/posix/globtest.sh
index 27e340c14b..956a5e6bb1 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -235,12 +235,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
@@ -248,6 +242,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" |