Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 13:28:02 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Vladimir Zakharov <zakharov.vv@gmail.com>
Cc:        freebsd-testing@freebsd.org, imp@bsdimp.com, Ed Maste <emaste@FreeBSD.org>
Subject:   Re: [PATCH] Install recently added tests
Message-ID:  <4FD3917E-0A54-49C3-AC09-EA95AF4EA071@gmail.com>
In-Reply-To: <20170929195657.7u4ldyenygkhbiba@vzakharov>
References:  <20170929195657.7u4ldyenygkhbiba@vzakharov>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Sep 29, 2017, at 12:56, Vladimir Zakharov <zakharov.vv@gmail.com> wrote=
:
>=20
> Hello!
>=20
> r323275 added basic tests for chflags, mkdir, rcp and rmdir. But these
> tests are not installed to /usr/tests.

LGTM.

This is the bad downside of the SUBDIR.yes pattern that's bitten me in the a=
ss a couple times now.

> # kyua test -k /usr/tests/Kyuafile bin/chflags
> Results file id is usr_tests.20170929-195409-880951
> Results saved to /root/.kyua/store/results.usr_tests.20170929-195409-88095=
1.db
> kyua: W: No test cases matched by the filter 'bin/chflags'.
> # ls /usr/tests/bin/chflags/
> #
>=20
> Attached patch fixes this problem.
>=20
> Index: bin/chflags/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- bin/chflags/Makefile    (revision 324095)
> +++ bin/chflags/Makefile    (working copy)
> @@ -1,6 +1,8 @@
> #    @(#)Makefile    8.1 (Berkeley) 6/6/93
> # $FreeBSD$
>=20
> +.include <src.opts.mk>
> +
> PACKAGE=3Druntime
> PROG=3D    chflags
>=20
> Index: bin/mkdir/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- bin/mkdir/Makefile    (revision 324095)
> +++ bin/mkdir/Makefile    (working copy)
> @@ -1,6 +1,8 @@
> #    @(#)Makefile    8.1 (Berkeley) 5/31/93
> # $FreeBSD$
>=20
> +.include <src.opts.mk>
> +
> PACKAGE=3Druntime
> PROG=3D    mkdir
>=20
> Index: bin/rcp/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- bin/rcp/Makefile    (revision 324095)
> +++ bin/rcp/Makefile    (working copy)
> @@ -1,6 +1,8 @@
> #    @(#)Makefile    8.1 (Berkeley) 7/19/93
> # $FreeBSD$
>=20
> +.include <src.opts.mk>
> +
> PACKAGE=3Drcmds
> PROG=3D    rcp
> SRCS=3D    rcp.c util.c
> Index: bin/rmdir/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- bin/rmdir/Makefile    (revision 324095)
> +++ bin/rmdir/Makefile    (working copy)
> @@ -1,6 +1,8 @@
> #    @(#)Makefile    8.1 (Berkeley) 5/31/93
> # $FreeBSD$
>=20
> +.include <src.opts.mk>
> +
> PACKAGE=3Druntime
> PROG=3D    rmdir
>=20
> --=20
> Regards,                 | "In theory there is no difference between theor=
y
>  Vladimir Zakharov      | and practice. In practice there is."- Yogi Berra=

> _______________________________________________
> freebsd-testing@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.org"=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD3917E-0A54-49C3-AC09-EA95AF4EA071>