busybox/shell/ash_test/ash-glob/glob_dir.tests
Denys Vlasenko 8e2c9cc2fc ash: fix globbing bugs when using glibc glob()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-02 15:17:15 +02:00

26 lines
337 B
Plaintext
Executable File

mkdir dirtest
>dirtest/z.tmp
echo */z.tmp
echo */z.*
echo */?.*
echo */z*p
echo d*r*e*t/z*p
echo *"/z.t"mp
echo */z"."*
echo *"/z"*"p"
echo "d"*r*e*t"/"z*p
echo
echo \*/z.tmp
echo "*"/z.*
echo */"?".*
echo */z"*p"
echo d*r*e\*t/z*p
echo *"\\/z.t"mp
echo */z".*"
echo *"/z"\*"p"
echo "d*"r*e*t"/"z*p
rm dirtest/z.tmp
rmdir dirtest