]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix grep_test:recurse with ZFS and TMPFS tmpdirs
authorAlan Somers <asomers@FreeBSD.org>
Wed, 27 Jan 2016 16:13:10 +0000 (16:13 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Wed, 27 Jan 2016 16:13:10 +0000 (16:13 +0000)
commiteaae77f810aa27ebb2160289e4cb01c130543404
tree090b066087196d4635457cbb8358b5d1cd04bb5d
parent116cc28a358fb1a1ad2992af08125e03baab2033
Fix grep_test:recurse with ZFS and TMPFS tmpdirs

contrib/netbsd-tests/usr.bin/grep/t_grep.sh
Fix grep_test:recurse when /tmp is either zfs or tmpfs. The test was
relying on an implicit ordering of directory recursion which happens
to be true when using UFS. grep's specification requires no such
ordering. The solution is to ignore the order of grep's results.

Reviewed by: ngie
MFC after: 32 days
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D4925
contrib/netbsd-tests/usr.bin/grep/t_grep.sh