globtest.sh
Andreas Schwab
schwab@suse.de
Tue Apr 11 02:55:00 GMT 2000
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
More information about the Libc-hacker
mailing list