diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-29 04:32:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-29 04:32:06 +0000 |
commit | add09583da3f652a6695dd534ea9ed4aefca97a0 (patch) | |
tree | 7dbd8b78aab0091637cca11896226583177bacbe /posix | |
parent | bc3bb89c0a7c124d7320f143e52b353cdde645f5 (diff) | |
download | glibc-add09583da3f652a6695dd534ea9ed4aefca97a0.tar.gz |
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.
Diffstat (limited to 'posix')
-rwxr-xr-x | posix/globtest.sh | 13 |
1 files changed, 13 insertions, 0 deletions
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} \ |