svn commit: r309774 - head/contrib/netbsd-tests/fs/tmpfs
Konstantin Belousov
kostikbel at gmail.com
Sat Dec 10 10:35:21 UTC 2016
On Fri, Dec 09, 2016 at 10:50:43PM +0000, Ngie Cooper wrote:
> Author: ngie
> Date: Fri Dec 9 22:50:43 2016
> New Revision: 309774
> URL: https://svnweb.freebsd.org/changeset/base/309774
>
> Log:
> Only run mdconfig -d -u 3 if /dev/md3 exists on the system
>
> This will prevent "cleanup failures" (exit code != 0 returned) when
> tmpfs is not loaded
>
> MFC after: 1 week
>
> Modified:
> head/contrib/netbsd-tests/fs/tmpfs/t_vnd.sh
>
> Modified: head/contrib/netbsd-tests/fs/tmpfs/t_vnd.sh
> ==============================================================================
> --- head/contrib/netbsd-tests/fs/tmpfs/t_vnd.sh Fri Dec 9 22:13:00 2016 (r309773)
> +++ head/contrib/netbsd-tests/fs/tmpfs/t_vnd.sh Fri Dec 9 22:50:43 2016 (r309774)
> @@ -85,7 +85,7 @@ basic_cleanup() {
> umount mnt 2>/dev/null 1>&2
> # Begin FreeBSD
> if true; then
> - atf_check -s eq:0 -o empty -e empty mdconfig -d -u 3
> + [ ! -c /dev/md3 ] || mdconfig -d -u 3
> else
> # End FreeBSD
> vndconfig -u /dev/vnd3 2>/dev/null 1>&2
Why this test is under fs/tmpfs ? I was not able to see how tmpfs is
used for this test.
More information about the svn-src-all
mailing list