aboutsummaryrefslogtreecommitdiff
path: root/posix/globtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'posix/globtest.sh')
-rwxr-xr-xposix/globtest.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/posix/globtest.sh b/posix/globtest.sh
index 919c584b59..ba41fc4896 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -267,6 +267,15 @@ cat <<"EOF" | cmp - $testout || result=1
`file1'
EOF
+# Test NOCHECK with non-existing file in subdir.
+${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
+${common_objpfx}posix/globtest -c "$testdir" "*/blahblah" |
+sort > $testout
+cat <<"EOF" | cmp - $testout || result=1
+`dir1/blahblah'
+`dir2/blahblah'
+EOF
+
if test $result -eq 0; then
rm -fr $testdir $testout
fi