From add09583da3f652a6695dd534ea9ed4aefca97a0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 29 Apr 2002 04:32:06 +0000 Subject: Update. * sysdeps/generic/glob.c (glob): Don't pass GLOB_NOMAGIC flag to glob_in_dir [PR libc/3385]. * posix/globtest.sh: Add test case. --- posix/globtest.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'posix') diff --git a/posix/globtest.sh b/posix/globtest.sh index a57c49f872..d5032562ea 100755 --- a/posix/globtest.sh +++ b/posix/globtest.sh @@ -211,6 +211,19 @@ if test $failed -ne 0; then result=1 fi +# Test NOMAGIC for subdirs +failed=0 +${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ +${common_objpfx}posix/globtest -g "$testdir" "*/does-not-exist" | +sort > $testout +cat <<"EOF" | cmp - $testout >> $logfile || failed=1 +GLOB_NOMATCH +EOF +if test $failed -ne 0; then + echo "No magic in subdir test failed" >> $logfile + result=1 +fi + # Test subdirs correctly failed=0 ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ -- cgit v1.2.3