This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: globtest.sh


Ulrich Drepper <drepper@redhat.com> writes:

|> Andreas Schwab <schwab@suse.de> writes:
|> 
|> > 2000-04-10  Andreas Schwab  <schwab@suse.de>
|> > 
|> > 	* posix/globtest.sh: Skip tests that depend on unreadable
|> > 	directories if run as root.
|> 
|> Thanks, I've applied the patch.  I've changed it slightly (id wasn't
|> required so far) and hopefully haven't broken it.

Sorry, you did.

Index: posix/globtest.sh
===================================================================
RCS file: /cvs/glibc/libc/posix/globtest.sh,v
retrieving revision 1.12
diff -u -a -u -r1.12 posix/globtest.sh
--- posix/globtest.sh	2000/04/10 15:55:00	1.12
+++ posix/globtest.sh	2000/04/11 09:52:39
@@ -319,14 +319,14 @@
     cat <<"EOF" | cmp - $testout || result=1
 GLOB_ABORTED
 EOF
-fi # not run as root
 
-${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
-${common_objpfx}posix/globtest -E "$testdir" "noread*/*" |
-sort > $testout
-cat <<"EOF" | cmp - $testout || result=1
+    ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
+    ${common_objpfx}posix/globtest -E "$testdir" "noread*/*" |
+    sort > $testout
+    cat <<"EOF" | cmp - $testout || result=1
 GLOB_ABORTED
 EOF
+fi # not run as root
 
 # Try multiple patterns (GLOB_APPEND)
 ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]