summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg/tests
Commit message (Collapse)AuthorAgeFilesLines
* MFC r319293:ngie2017-07-181-2/+6
| | | | | | | Formalize the dependent/dependency relationship for <foo>.gz.uu vs <foo> This helps ensure that the output files are regenerated if the input files change, after the output files have been created.
* MFC r319294:ngie2017-06-041-3/+4
| | | | | | | | | | Approved by: re (gjb) Fix "make rebase" after ^/head@r315776 "make rebase" can be used for rebasing the output files from mkimg after making a change to mkimg. This will come in handy soon, per bug 219673.
* MFC r315776:ngie2017-03-302-1/+165
| | | | | | | | Rename tests from <foo> to <foo>_test to match the FreeBSD test suite naming scheme usr.bin/diff/diff_test was renamed to usr.bin/diff/netbsd_diff_test to avoid collisions with the renamed FreeBSD test.
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedngie2016-05-041-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
* MFHgjb2016-03-101-0/+11
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-091-0/+11
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | First pass to fix the 'tests' packages.gjb2016-02-021-0/+4
|/ | | | Sponsored by: The FreeBSD Foundation
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-2/+0
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Rebase after r286395: rounding fix for dynamic VHDmarcel2015-08-0728-402/+407
|
* Rebase after r284658:marcel2015-06-2156-711/+710
| | | | | 1. Change creator OS to "wi2k" 2. Bump tool version to 2.0
* Rebase the fixed VHD images after the rounding fix.marcel2015-06-2128-314/+310
|
* Update tests after sizing changes to the fixed VHD format.marcel2015-06-1128-309/+314
|
* Update baseline files for EBR, MBR and PC98 now that mkimg fills inmarcel2014-10-0336-1229/+1227
| | | | | the CHS fields appropriately when -T and -H are given on the command line.
* Add baseline files for QCOW2.marcel2014-09-2429-1/+625
|
* Update the baseline for QCOW version 1. A bug was found that renderedmarcel2014-09-2428-1466/+3456
| | | | the baseline invalid.
* Clean the generated baseline files by adding them to CLEANFILES.marcel2014-09-241-0/+2
|
* Rename the tests to something more meaningful. I spent way too longmarcel2014-09-221-5/+2
| | | | | | | | | | | | trying to get the test name right, failed, gave up and used a sequence number instead. When I realized it wasn't because of the number of underscores in the name that I really started to think. I didn't have braces around the variable names ... Thus: test_1 is now called apm_1x1_512_qcow, which gives you all you need to run mkimg by hand. Dumb-ass: marcel
* Don't update the baseline file when the result of the test is identicalmarcel2014-09-221-5/+30
| | | | | | | | | | | | | | to the baseline. Since we don't run gzip with the -n option, the output of gzip varies for identical result files if and when they are created at different time. Ouch... Rather than add -n and commit a 600K+ diff for the changes to all the .uu files, it's less of a churn to uudecode and gunzip the baseline file and compare that to the new result file to determine if the baseline file needs to be updated. This way, "atf-sh mkimg.sh rebase" can be run as many times as people like and a subsequent "svn status" will not show unnecessary diffs.
* Don't echo '# $FreeBSD$' as the first line into the .uu file. Keywordmarcel2014-09-221-1/+2
| | | | | substitution applies to this file, including the echo command. Avoid the match (and substitution) by breaking the string up into 3 parts.
* Update the unit tests to include the QCOW (version 1) format.marcel2014-09-2229-1/+1579
| | | | This is a good safety net for when V2 is added.
* Add unit tests for mkimg(1):marcel2014-09-20114-0/+3751
OpenPOWER on IntegriCloud