]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/FREEBSD-upgrade
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / FREEBSD-upgrade
1 $FreeBSD$
2
3 This document contains a collection of notes specific to the import
4 of the NetBSD test suite into head.  These notes are built on the instructions
5 in the FreeBSD Subversion Primer that detail how to deal with vendor
6 branches and you are supposed to follow those:
7
8         http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html
9
10 The NetBSD test source code was originally obtained via NetBSD anoncvs as
11 described in the NetBSD handbook:
12
13         http://www.netbsd.org/docs/guide/en/chap-fetch.html#chap-fetch-cvs
14
15 and is imported into the NetBSD/tests vendor branch (see
16 base/vendor/NetBSD/tests/).
17
18 The process used to bootstrap the vendor tree was similar to the following:
19
20         /bin/sh
21         export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot"
22         cvs -z9 co -D "09/30/2014 20:45" -P src/tests
23         mv src/tests/* tests/dist/.
24
25 Please adjust the checkout date spec (the argument passed via -D) to match
26 the desired checkout time.
27
28 To merge the vendor branch into head do something like this:
29
30         cd .../base/head/contrib/netbsd-tests
31         svn merge --accept=postpone \
32             svn+ssh://svn.freebsd.org/base/vendor/NetBSD/tests/dist .
33         find . -name Makefile\* | xargs svn rm --force
34
35 and resolve any conflicts that may arise at this point.
36
37 Lastly, with the list of old and new files in this import, make sure
38 to update the reachover Makefiles accordingly.