Up to [cvs.NetBSD.org] / src / distrib / sets / lists / tests
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.1266 / (download) - annotate - [select for diffs], Thu Jun 1 07:27:30 2023 UTC (8 days, 8 hours ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1265: +3 -3
lines
Diff to previous 1.1265 (colored)
tests/make: clean up comments, extend a few tests
Revision 1.1265 / (download) - annotate - [select for diffs], Wed May 31 00:18:44 2023 UTC (9 days, 15 hours ago) by riastradh
Branch: MAIN
Changes since 1.1264: +2 -1
lines
Diff to previous 1.1264 (colored)
ld.elf_so: New test for extern initial-exec TLS, PR toolchain/50277. XXX pullup-10
Revision 1.1264 / (download) - annotate - [select for diffs], Sat May 20 21:32:05 2023 UTC (2 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.1263: +3 -2
lines
Diff to previous 1.1263 (colored)
tests/indent: migrate test driver from AWK to Lua Lua reports more details when os.execute fails, which is useful when running old versions of indent for comparison. The new test driver also supports multiple test files in the same run.
Revision 1.1263 / (download) - annotate - [select for diffs], Sat May 13 13:24:01 2023 UTC (3 weeks, 6 days ago) by rillig
Branch: MAIN
Changes since 1.1262: +2 -1
lines
Diff to previous 1.1262 (colored)
tests/indent: add test for lexing of numbers
Revision 1.1262 / (download) - annotate - [select for diffs], Sat May 13 13:21:35 2023 UTC (3 weeks, 6 days ago) by rillig
Branch: MAIN
Changes since 1.1261: +80 -80
lines
Diff to previous 1.1261 (colored)
distrib/sets: format tests list
Revision 1.1261 / (download) - annotate - [select for diffs], Wed May 10 15:52:08 2023 UTC (4 weeks, 2 days ago) by christos
Branch: MAIN
Changes since 1.1260: +91 -21
lines
Diff to previous 1.1260 (colored)
update the sets for OpenSSL-3.x
Revision 1.1260 / (download) - annotate - [select for diffs], Wed May 10 13:03:06 2023 UTC (4 weeks, 2 days ago) by rillig
Branch: MAIN
Changes since 1.1259: +3 -3
lines
Diff to previous 1.1259 (colored)
tests/make: clean up tests for .for loops Most of the tests from forloop.mk were already in directive-for.mk.
Revision 1.1259 / (download) - annotate - [select for diffs], Tue May 9 20:14:28 2023 UTC (4 weeks, 2 days ago) by sjg
Branch: MAIN
Changes since 1.1258: +3 -1
lines
Diff to previous 1.1258 (colored)
make: add :mtime to provide mtime of file The value of the variable is passed to stat(2) and st_mtime is new value. An optional arg can be used if stat(2) fails, otherwise the current time is used. See varmod-mtime.mk for usage examples.
Revision 1.1258 / (download) - annotate - [select for diffs], Sun Apr 23 08:47:27 2023 UTC (6 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.1257: +2 -1
lines
Diff to previous 1.1257 (colored)
tests/lint: test command line parsing for message and query IDs The parsing methods differ but shouldn't.
Revision 1.1257 / (download) - annotate - [select for diffs], Fri Apr 21 21:50:05 2023 UTC (6 weeks, 6 days ago) by gutteridge
Branch: MAIN
Changes since 1.1256: +2 -1
lines
Diff to previous 1.1256 (colored)
Add new test t_open_pr_57260 New test case that reflects the fix in PR kern/57260. The majority of work for this case itself was by riastradh@, who'd supplied the basis for it in the ticket, and provided further guidance.
Revision 1.1256 / (download) - annotate - [select for diffs], Tue Mar 28 20:04:51 2023 UTC (2 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1255: +2 -1
lines
Diff to previous 1.1255 (colored)
lint: warn about 'extern' declarations inside function bodies https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html The previous attempt (message 351 about 'extern' declarations outside headers) did not cover the proposal from the tech-userlevel mailing list but instead warns about a different usage pattern of the 'extern' keyword.
Revision 1.1255 / (download) - annotate - [select for diffs], Tue Mar 28 14:44:34 2023 UTC (2 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1254: +2 -1
lines
Diff to previous 1.1254 (colored)
lint: warn about extern declarations outside headers https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
Revision 1.1254 / (download) - annotate - [select for diffs], Mon Feb 27 23:07:53 2023 UTC (3 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1253: +3 -1
lines
Diff to previous 1.1253 (colored)
lint: split platform-specific test for loss of accuracy Lint distinguishes between platforms where size_t is unsigned int and platforms where size_t is unsigned long.
Revision 1.1253 / (download) - annotate - [select for diffs], Fri Feb 24 12:47:23 2023 UTC (3 months, 1 week ago) by martin
Branch: MAIN
Changes since 1.1252: +2 -1
lines
Diff to previous 1.1252 (colored)
Add mew file make/unit-tests/meta-ignore.inc
Revision 1.1252 / (download) - annotate - [select for diffs], Sun Feb 5 13:01:28 2023 UTC (4 months ago) by rillig
Branch: MAIN
Changes since 1.1251: +3 -3
lines
Diff to previous 1.1251 (colored)
tests/lint: merge tests for initialization
Revision 1.1251 / (download) - annotate - [select for diffs], Sun Feb 5 12:25:11 2023 UTC (4 months ago) by rillig
Branch: MAIN
Changes since 1.1250: +6 -6
lines
Diff to previous 1.1250 (colored)
tests/lint: remove redundant tests The names of the tests were misleading: 'recursive' should have been 'nested', and the interesting topic in the 'cast' tests was not the cast but the pointer dereference.
Revision 1.1250 / (download) - annotate - [select for diffs], Mon Jan 30 19:51:33 2023 UTC (4 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.1249: +2 -1
lines
Diff to previous 1.1249 (colored)
add t_strchrnul
Revision 1.1249 / (download) - annotate - [select for diffs], Sun Jan 29 17:02:09 2023 UTC (4 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1248: +2 -2
lines
Diff to previous 1.1248 (colored)
tests/lint: merge tests for '>>'
Revision 1.1248 / (download) - annotate - [select for diffs], Mon Jan 23 23:01:52 2023 UTC (4 months, 2 weeks ago) by sjg
Branch: MAIN
Changes since 1.1247: +3 -1
lines
Diff to previous 1.1247 (colored)
make: .[NO]READONLY for control of read-only variables Reviewed by: rillig
Revision 1.1247 / (download) - annotate - [select for diffs], Sun Jan 22 17:17:24 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1246: +3 -3
lines
Diff to previous 1.1246 (colored)
tests/lint: merge tests for declaration after statement
Revision 1.1246 / (download) - annotate - [select for diffs], Sat Jan 21 13:07:21 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1245: +2 -1
lines
Diff to previous 1.1245 (colored)
lint: add support for the C11 type qualifier '_Atomic' That keyword can be used as a type specifier as well, support for that will be added later.
Revision 1.1245 / (download) - annotate - [select for diffs], Sat Jan 21 11:57:03 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1244: +3 -1
lines
Diff to previous 1.1244 (colored)
tests/lint: test _Atomic, added in C11
Revision 1.1244 / (download) - annotate - [select for diffs], Thu Jan 19 23:26:14 2023 UTC (4 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1243: +5 -3
lines
Diff to previous 1.1243 (colored)
tests/make: rename files that are not test cases
Revision 1.1243 / (download) - annotate - [select for diffs], Mon Jan 16 00:23:55 2023 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1242: +2 -1
lines
Diff to previous 1.1242 (colored)
distrib/sets: add missing directory for xlint tests
Revision 1.1242 / (download) - annotate - [select for diffs], Sun Jan 15 23:18:05 2023 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1241: +3 -1
lines
Diff to previous 1.1241 (colored)
tests/lint: add basic tests for lint (not lint1 or lint2)
Revision 1.1241 / (download) - annotate - [select for diffs], Sun Jan 15 00:53:19 2023 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1240: +2 -1
lines
Diff to previous 1.1240 (colored)
tests/lint: add test for parsing sizeof expressions
Revision 1.1240 / (download) - annotate - [select for diffs], Sun Jan 15 00:34:10 2023 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1239: +9 -9
lines
Diff to previous 1.1239 (colored)
distrib/sets: sort list of test files In ASCII, '_' comes before lowercase letters.
Revision 1.1239 / (download) - annotate - [select for diffs], Wed Jan 4 05:25:08 2023 UTC (5 months ago) by rillig
Branch: MAIN
Changes since 1.1238: +2 -2
lines
Diff to previous 1.1238 (colored)
tests/lint: merge tests for ':?' with null pointer constant
Revision 1.1238 / (download) - annotate - [select for diffs], Thu Dec 1 04:24:37 2022 UTC (6 months, 1 week ago) by ozaki-r
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10
Changes since 1.1237: +2 -2
lines
Diff to previous 1.1237 (colored)
tests: fix Makefile and lists for MKRUMP=no Pointed out by Michael Scholz, thanks.
Revision 1.1237 / (download) - annotate - [select for diffs], Wed Nov 30 06:07:51 2022 UTC (6 months, 1 week ago) by ozaki-r
Branch: MAIN
Changes since 1.1236: +2 -1
lines
Diff to previous 1.1236 (colored)
tests: build and install t_ip_reass.c
Revision 1.1236 / (download) - annotate - [select for diffs], Fri Nov 25 08:43:15 2022 UTC (6 months, 1 week ago) by knakahara
Branch: MAIN
Changes since 1.1235: +4 -1
lines
Diff to previous 1.1235 (colored)
Add ATF for unnumbered interfaces.
Revision 1.1235 / (download) - annotate - [select for diffs], Tue Nov 22 17:35:45 2022 UTC (6 months, 2 weeks ago) by jakllsch
Branch: MAIN
Changes since 1.1234: +3 -1
lines
Diff to previous 1.1234 (colored)
Fix h_lualibm debug set lists.
Revision 1.1234 / (download) - annotate - [select for diffs], Mon Nov 21 22:01:33 2022 UTC (6 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.1233: +8 -1
lines
Diff to previous 1.1233 (colored)
lua libm API from Phil Rulon
Revision 1.1233 / (download) - annotate - [select for diffs], Thu Nov 17 09:58:42 2022 UTC (6 months, 3 weeks ago) by ozaki-r
Branch: MAIN
Changes since 1.1232: +2 -1
lines
Diff to previous 1.1232 (colored)
distrib: add missing ./usr/libdata/debug/usr/tests/net/inpcb
Revision 1.1232 / (download) - annotate - [select for diffs], Thu Nov 17 08:45:35 2022 UTC (6 months, 3 weeks ago) by ozaki-r
Branch: MAIN
Changes since 1.1231: +10 -1
lines
Diff to previous 1.1231 (colored)
tests: build and install added test files
Revision 1.1231 / (download) - annotate - [select for diffs], Thu Nov 17 06:40:38 2022 UTC (6 months, 3 weeks ago) by chs
Branch: MAIN
Changes since 1.1230: +2 -1
lines
Diff to previous 1.1230 (colored)
Restore backward compatibility of UFS2 with previous NetBSD releases by disabling support in UFS2 for extended attributes (including ACLs). Add a new variant of UFS2 called "UFS2ea" that does support extended attributes. Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended attributes in the process).
Revision 1.1230 / (download) - annotate - [select for diffs], Thu Nov 10 06:13:58 2022 UTC (6 months, 4 weeks ago) by blymn
Branch: MAIN
Changes since 1.1229: +2 -1
lines
Diff to previous 1.1229 (colored)
Added new libcurses test checkfile.
Revision 1.1229 / (download) - annotate - [select for diffs], Wed Nov 9 08:21:20 2022 UTC (6 months, 4 weeks ago) by knakahara
Branch: MAIN
Changes since 1.1228: +2 -1
lines
Diff to previous 1.1228 (colored)
Add test for sys/netipsec/ipsec.c:r1.176.
Revision 1.1228 / (download) - annotate - [select for diffs], Tue Nov 8 06:08:33 2022 UTC (7 months ago) by blymn
Branch: MAIN
Changes since 1.1227: +2 -1
lines
Diff to previous 1.1227 (colored)
Added a new check file for libcurses test slk
Revision 1.1227 / (download) - annotate - [select for diffs], Fri Nov 4 08:01:42 2022 UTC (7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.1226: +4 -1
lines
Diff to previous 1.1226 (colored)
tests: add tests for invalid extra operations on a shutdown socket The tests cover some error paths that normally happen.
Revision 1.1226 / (download) - annotate - [select for diffs], Fri Nov 4 07:54:27 2022 UTC (7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.1225: +4 -4
lines
Diff to previous 1.1225 (colored)
sets: fix wrong keywords for tests/net/tcp
Revision 1.1225 / (download) - annotate - [select for diffs], Wed Nov 2 09:37:56 2022 UTC (7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.1224: +5 -1
lines
Diff to previous 1.1224 (colored)
tests: add tests for TCP with nc
Revision 1.1224 / (download) - annotate - [select for diffs], Tue Oct 11 09:55:21 2022 UTC (7 months, 4 weeks ago) by knakahara
Branch: MAIN
Changes since 1.1223: +2 -1
lines
Diff to previous 1.1223 (colored)
Add test for sadb_x_policy->sadb_x_policy_flags.
Revision 1.1223 / (download) - annotate - [select for diffs], Fri Sep 9 22:14:28 2022 UTC (8 months, 4 weeks ago) by wiz
Branch: MAIN
Changes since 1.1222: +2 -1
lines
Diff to previous 1.1222 (colored)
grep: when -r is used, but no path argument provided, search the current dir As discussed on tech-userlevel.
Revision 1.1222 / (download) - annotate - [select for diffs], Sat Sep 3 03:33:37 2022 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.1221: +1 -2
lines
Diff to previous 1.1221 (colored)
tests/make: remove nonexistent file from file list The file had been added accidentally, it never existed in distdir.
Revision 1.1221 / (download) - annotate - [select for diffs], Fri Sep 2 18:54:25 2022 UTC (9 months ago) by sjg
Branch: MAIN
Changes since 1.1220: +4 -1
lines
Diff to previous 1.1220 (colored)
Enable make/unit-tests/directive-for-break Also ensure MAKE_VERSION is ignored.
Revision 1.1220 / (download) - annotate - [select for diffs], Sat Aug 27 08:31:58 2022 UTC (9 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.1219: +2 -1
lines
Diff to previous 1.1219 (colored)
Add sincos{,f,l} from FreeBSD
Revision 1.1219 / (download) - annotate - [select for diffs], Fri Aug 12 10:49:17 2022 UTC (9 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.1218: +2 -1
lines
Diff to previous 1.1218 (colored)
cgdconfig(8): Add support for shared keys. New clause `shared <id> algorithm <alg> subkey <info>' in a keygen block enables `cgdconfig -C' to reuse a key between different params files, so you can, e.g., use a single password for multiple disks. This is better than simply caching the password itself because: - Hashing the password is expensive, so it should only be done once. Suppose your budget is time t before you get bored, and you calibrate password hash parameters to unlock n disks before you get bored waiting for `cgdconfig -C'. . With n password hashings the adversary's cost goes up only by a factor of t/n. . With one password hashing and n subkeys the adversary's cost goes up by a factor of n. And if you ever add a disk, rehashing it will make `cgdconfig -C' go over budget, whereas another subkey adds negligible cost to you. - Subkeys work for other types of keygen blocks, like shell_cmd, which could be used to get a key from a hardware token that needs a button press. The <info> parameter must be different for each params file; everything else in the keygen block must be the same. With this clause, the keygen block determines a shared key used only to derive keys; the actual key used by cgdconfig is derived from the shared key by the specified algorithm. The only supported algorithm is hkdf-hmac-sha256, which uses HKDF-Expand of RFC 5869 instantiated with SHA-256. Example: algorithm aes-cbc; iv-method encblkno1; keylength 128; verify_method none; keygen pkcs5_pbkdf2/sha1 { iterations 39361; salt AAAAgMoHiYonye6KogdYJAobCHE=; shared "pw" algorithm hkdf-hmac-sha256 subkey AAAAgFlw0BMQ5gY+haYkZ6JC+yY=; }; The key used for this disk will be derived by HKDF-HMAC-SHA256_k(WXDQExDmBj6FpiRnokL7Jg==), where k is the outcome of PBKDF2-SHA1 with the given parameters. Note that <info> encodes a four-byte prefix giving the big-endian length in bits of the info argument to HKDF, just like all other bit strings in cgdconfig parameters files. If you have multiple disks configured using the same keygen block except for the info parameter, `cgdconfig -C' will only prompt once for your passphrase, generate a shared key k with PBKDF2 as usual, and then reuse it for each of the disks.
Revision 1.1218 / (download) - annotate - [select for diffs], Fri Aug 12 10:48:27 2022 UTC (9 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.1217: +2 -1
lines
Diff to previous 1.1217 (colored)
cgdconfig(8): New -t operation just prints the derived key in base64. For testing purposes.
Revision 1.1217 / (download) - annotate - [select for diffs], Thu Jul 21 09:52:48 2022 UTC (10 months, 2 weeks ago) by kre
Branch: MAIN
Changes since 1.1216: +5 -1
lines
Diff to previous 1.1216 (colored)
Add ATF tests for realpath(1) Note that realpath can act differently for root than for other users (where an ordinary user will see EACCESS root just barrels right through). The tests adapt themselves, when run as root, less error cases can be tested than when run as some other user.
Revision 1.1216 / (download) - annotate - [select for diffs], Tue Jul 5 22:50:41 2022 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.1215: +2 -1
lines
Diff to previous 1.1215 (colored)
lint: add additional queries that are not enabled by default In the last 18 months, several lint warnings have been made adjusted to allow common usage patterns. For example, lint no longer warns about a constant condition in the statement 'do { ... } while (false)' (message 161), as this pattern is well-known in statement-like macros, making it unlikely that the 'false' is a mistake. Another example is casts between unequal pointer types (message 247) for a few well-known patterns that are unlikely to be bugs. Occasionally, it is useful to query the code for patterns or events that would not justify a warning. These patterns are modeled as predefined queries that can be selected individually, in addition to and independently of the existing warnings and errors. New queries can be added as needed, in the same way as new warnings. Queries that are deemed no longer used can be deactivated in the same way as warnings that are no longer used. As long as none of the queries is enabled, they produce a minimal overhead of querying a single global variable. Computations that are more expensive than a few machine instructions should be guarded by any_query_enabled. https://mail-index.netbsd.org/source-changes-d/2022/06/28/msg013716.html ok christos@
Revision 1.1215 / (download) - annotate - [select for diffs], Fri Jun 17 20:23:58 2022 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1214: +447 -446
lines
Diff to previous 1.1214 (colored)
tests/lint: remove .exp files, as they have become redundant Now that each lint1 test lists all generated diagnostics as 'expect' comments, the information from the .exp files is no longer needed. The only information that gets lost is the order of the diagnostics, which is mostly relevant for paired messages like 'inconsistent definition' + 'previous definition was here'.
Revision 1.1214 / (download) - annotate - [select for diffs], Thu Jun 16 21:24:41 2022 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1213: +2 -2
lines
Diff to previous 1.1213 (colored)
tests/lint: add more details to messages in msg_200 until msg_299 Add some tests that were previously empty. Some other tests are still empty.
Revision 1.1213 / (download) - annotate - [select for diffs], Thu Jun 16 16:58:35 2022 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1212: +2 -2
lines
Diff to previous 1.1212 (colored)
tests/lint: make expectation lines in the tests more detailed This commit migrates msg_100 until msg_199.
Revision 1.1212 / (download) - annotate - [select for diffs], Fri Jun 10 18:29:01 2022 UTC (11 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1211: +3 -1
lines
Diff to previous 1.1211 (colored)
tests/lint: fix test for loss of accuracy on ILP32 platforms The test had been wrong since msg_132.c 1.14 from 2022-05-30. Using 'unsigned long' in a test that was intended to behave the same on ILP32 and LP64 was an accident. Use 'unsigned long long' instead, which is 64-bits wide on all platforms supported by lint. Move the test about conversion from 'long' to 'int' to the platform-specific test files. Noticed by martin@ on powerpc.
Revision 1.1211 / (download) - annotate - [select for diffs], Mon Jun 6 10:57:05 2022 UTC (12 months ago) by nia
Branch: MAIN
Changes since 1.1210: +1 -2
lines
Diff to previous 1.1210 (colored)
Remove accidentally committed merge conflict line.
Revision 1.1210 / (download) - annotate - [select for diffs], Mon Jun 6 10:56:28 2022 UTC (12 months ago) by nia
Branch: MAIN
Changes since 1.1209: +6 -5
lines
Diff to previous 1.1209 (colored)
build system: Revert all the recent additions of MK[...] knobs that allow conditionally disabling the building of certain user space programs in the 'base' set. There is not enough consensus that this is the right way and a few people had strong objections, see source-changes-d@.
Revision 1.1209 / (download) - annotate - [select for diffs], Tue May 31 13:42:59 2022 UTC (12 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.1208: +2 -1
lines
Diff to previous 1.1208 (colored)
libc: Reintroduce getentropy. This was introduced two years ago when the getrandom/getentropy API question was still open, and removed because the discussion was ongoing. Now getentropy is more widely adopted and soon to be in POSIX. So reintroduce the symbol into libc since we'll be keeping it anyway. Discussion of details of the semantics, as interpreted by NetBSD, is ongoing, but the symbol needs to get in before the netbsd-10 branch. The draft POSIX text is (https://www.opengroup.org/austin/docs/austin_1110.pdf): SYNOPSIS #include <unistd.h> int getentropy(void *buffer, size_t length); DESCRIPTION The getentropy() function shall write length bytes of data starting at the location pointed to by buffer. The output shall be unpredictable high quality random data, generated by a cryptographically secure pseudo-random number generator. The maximum permitted value for the length argument is given by the {GETENTROPY_MAX} symbolic constant defined in <limits.h>. RETURN VALUES Upon successful completion, getentropy() shall return 0; otherwise, -1 shall be retunred and errno set to indicate the error. ERRORS The getentropy() function shall fail if: [EINVAL] The value of length is greater than {GETENTROPY_MAX}. The getentropy() function may fail if: [ENOSYS] The system does not provide the necessary source of entropy. RATIONALE The getentropy() function is not a cancellation point. Minor changes from the previous introduction of getentropy into libc: - Return EINVAL, not EIO, on buflen > 256. - Define GETENTROPY_MAX in limits.h. The declaration of getentropy in unistd.h and definition of GETENTROPY_MAX in limits.h are currently conditional on _NETBSD_SOURCE. When the next revision of POSIX is finalized, we can expose them also under _POSIX_C_SOURCE > 20yymmL as usual -- and this can be done as a pullup without breaking existing compiled programs.
Revision 1.1208 / (download) - annotate - [select for diffs], Fri May 27 07:28:22 2022 UTC (12 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.1207: +5 -5
lines
Diff to previous 1.1207 (colored)
mk: Add a MKLFS flag for excluding the log-structured filesystem userspace tools from the build.
Revision 1.1207 / (download) - annotate - [select for diffs], Mon May 23 22:33:56 2022 UTC (12 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1206: +3 -1
lines
Diff to previous 1.1206 (colored)
tests/make: document and demonstrate .for i containing .if empty(i) PR bin/43821 describes the inconsistency that in a '.for i' loop, the condition '.if ${i:M*.c}' works since 2009 while the seemingly equivalent condition '.if !empty(i:M*.c)' does not access the variable 'i' from the .for loop but instead the global 'i'. Resolving this situation in a backwards-compatible and non-surprising way is hard, as make has grown several features during the last 20 years that interact in various edge cases. For now, document the most obvious pitfalls.
Revision 1.1206 / (download) - annotate - [select for diffs], Sun May 22 17:55:08 2022 UTC (12 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1205: +4 -1
lines
Diff to previous 1.1205 (colored)
tests/compress: demonstrate truncation of target file Reported by Giorgos Keramidas in PR#19722.
Revision 1.1205 / (download) - annotate - [select for diffs], Thu May 12 20:49:21 2022 UTC (12 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1204: +3 -1
lines
Diff to previous 1.1204 (colored)
tests/lint: add more tests for __alignof__
Revision 1.1204 / (download) - annotate - [select for diffs], Thu May 12 00:09:44 2022 UTC (12 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1203: +2 -1
lines
Diff to previous 1.1203 (colored)
tests/lint: adjust tests to reflect missing support of __alignof__ The change in lex.c 1.129 attempted to add support for __alignof, in addition to the existing support for __alignof__. It failed by removing support for __alignof__, while allowing the plain 'alignof' instead.
Revision 1.1203 / (download) - annotate - [select for diffs], Sun May 8 10:20:49 2022 UTC (13 months ago) by rillig
Branch: MAIN
Changes since 1.1202: +3 -3
lines
Diff to previous 1.1202 (colored)
tests/make: remove test varquote The test varmod-quote-dollar covers the same topic.
Revision 1.1202 / (download) - annotate - [select for diffs], Sun May 8 06:51:27 2022 UTC (13 months ago) by rillig
Branch: MAIN
Changes since 1.1201: +3 -3
lines
Diff to previous 1.1201 (colored)
tests/make: migrate cond1 test to other, more specific tests The tests in cond1 were a mixture of "everything related to conditions", and the test cases were heavily dependent on each other, which made them hard to understand. Move each test case to its corresponding special-purpose test.
Revision 1.1201 / (download) - annotate - [select for diffs], Fri Apr 29 22:17:50 2022 UTC (13 months, 1 week ago) by pgoyette
Branch: MAIN
Changes since 1.1200: +7 -1
lines
Diff to previous 1.1200 (colored)
Add a new test for PR kern/56713 and set to expected_failure for now.
Revision 1.1200 / (download) - annotate - [select for diffs], Thu Apr 28 21:38:38 2022 UTC (13 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1199: +2 -2
lines
Diff to previous 1.1199 (colored)
lint: revert resolving grammar conflicts for labeled statements Restore the grammar rule for labeled_statement as it was before cgram.y 1.400 from 2022-04-24. This allows labels with attributes again. Fix the wrong interpretation in the tests; the attributes belong to the label, not to the statement. Today in the morning, when I thought that the change in cgram.y 1.400 were innocent, I accidentally ran lint only with the options '-Sw' but forgot the option '-g' for GNU mode. Without that option, the token '__attribute__' is unknown, which unsurprisingly leads to lots of syntax errors, and these didn't change with that commit. The actual change was only visible in GNU mode.
Revision 1.1199 / (download) - annotate - [select for diffs], Tue Apr 26 22:48:53 2022 UTC (13 months, 1 week ago) by blymn
Branch: MAIN
Changes since 1.1198: +2 -1
lines
Diff to previous 1.1198 (colored)
Added new libcurses test.
Revision 1.1198 / (download) - annotate - [select for diffs], Sun Apr 24 10:36:37 2022 UTC (13 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1197: +30 -28
lines
Diff to previous 1.1197 (colored)
tests/indent: migrate token tests to other tests In indent.h 1.49 from 2021-10-25, the enumeration token_type was split into lexer_symbol and parser_symbol to more clearly express that these tokens fall into completely different classes of usage patterns.
Revision 1.1197 / (download) - annotate - [select for diffs], Sun Apr 24 08:48:17 2022 UTC (13 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1196: +3 -3
lines
Diff to previous 1.1196 (colored)
tests/indent: migrate tests for parentheses, brackets, braces
Revision 1.1196 / (download) - annotate - [select for diffs], Sat Apr 23 09:59:13 2022 UTC (13 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1195: +3 -3
lines
Diff to previous 1.1195 (colored)
tests/indent: migrate tests for the tokens '{' and '.'
Revision 1.1195 / (download) - annotate - [select for diffs], Sat Apr 23 09:01:03 2022 UTC (13 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1194: +4 -4
lines
Diff to previous 1.1194 (colored)
tests/indent: migrate a few token tests to psym tests
Revision 1.1194 / (download) - annotate - [select for diffs], Wed Apr 20 07:41:04 2022 UTC (13 months, 2 weeks ago) by blymn
Branch: MAIN
Changes since 1.1193: +4 -1
lines
Diff to previous 1.1193 (colored)
Add test and check file for bkgrndset
Revision 1.1193 / (download) - annotate - [select for diffs], Mon Apr 18 15:06:27 2022 UTC (13 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1192: +3 -1
lines
Diff to previous 1.1192 (colored)
make: only switch to POSIX mode if '.POSIX:' is the first line https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html says that in order to make a makefile POSIX-conforming, its first non-comment line must be the special dependency line '.POSIX:' without any source dependencies. Previously, make switched to POSIX mode even if such a line occurred anywhere else, which was allowed by POSIX but was deep in the "unspecified behavior" area. For NetBSD make, there is no big difference since it doesn't ship any <posix.mk> file, this change mainly affects the bmake distribution. Previously, makefiles that contain '.POSIX:' somewhere in the middle could fail due to <posix.mk> resetting .SUFFIXES, among other things. Suggested by Simon J. Gerraty, who also reviewed an earlier version of this change.
Revision 1.1192 / (download) - annotate - [select for diffs], Fri Apr 8 23:35:52 2022 UTC (14 months ago) by riastradh
Branch: MAIN
Changes since 1.1191: +8 -1
lines
Diff to previous 1.1191 (colored)
membar_ops(3): Add some automatic tests. These tests run two threads for five seconds each to try to trigger races in the event of broken memory barriers. They run only on machines with at least two CPUs; on uniprocessor systems there's no point -- the membars can correctly just be (instruction barrier) no-ops.
Revision 1.1191 / (download) - annotate - [select for diffs], Fri Apr 8 21:29:29 2022 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.1190: +2 -2
lines
Diff to previous 1.1190 (colored)
lint: remove unused message 70, add some more tests
Revision 1.1190 / (download) - annotate - [select for diffs], Tue Apr 5 23:09:19 2022 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.1189: +2 -2
lines
Diff to previous 1.1189 (colored)
tests/lint: add tests for a few early messages
Revision 1.1189 / (download) - annotate - [select for diffs], Mon Mar 28 20:52:17 2022 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.1188: +2 -1
lines
Diff to previous 1.1188 (colored)
Add t_link
Revision 1.1188 / (download) - annotate - [select for diffs], Sat Feb 12 13:17:57 2022 UTC (15 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1187: +3 -1
lines
Diff to previous 1.1187 (colored)
tests/make: document the history of bugs in '-k' mode Reported in PR#49720 in 2015, fixed independently in compat.c 1.199 from 2020-12-07.
Revision 1.1187 / (download) - annotate - [select for diffs], Sat Feb 12 01:15:17 2022 UTC (15 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1186: +3 -1
lines
Diff to previous 1.1186 (colored)
tests/make: demonstrate bug for .SILENT in jobs mode (since 2003) Reported 2011 in PR#45356.
Revision 1.1186 / (download) - annotate - [select for diffs], Mon Feb 7 22:43:50 2022 UTC (16 months ago) by rillig
Branch: MAIN
Changes since 1.1185: +3 -1
lines
Diff to previous 1.1185 (colored)
tests/make: demonstrate combination of .USE with transformation rule Reported in 2003 in PR toolchain/20993. Linking a transformation rule with .USE or .USEBEFORE node makes the transformation rule fail.
Revision 1.1185 / (download) - annotate - [select for diffs], Sun Jan 23 18:00:53 2022 UTC (16 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1184: +3 -3
lines
Diff to previous 1.1184 (colored)
tests/make: migrate modts to varmod-to-separator and explain
Revision 1.1184 / (download) - annotate - [select for diffs], Sun Jan 23 16:25:53 2022 UTC (16 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1183: +25 -13
lines
Diff to previous 1.1183 (colored)
tests/make: rename var-class to var-scope There is no such concept as a "variable class" in make, these tests focus on the variable scope instead.
Revision 1.1183 / (download) - annotate - [select for diffs], Sun Jan 23 16:09:38 2022 UTC (16 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1182: +5 -5
lines
Diff to previous 1.1182 (colored)
tests/make: extend test suite, move old tests to 2020 scheme The tests from envfirst.mk are now in opt-env.mk. The tests from modword.mk are now in varmod-select-words.mk.
Revision 1.1182 / (download) - annotate - [select for diffs], Wed Jan 19 22:10:41 2022 UTC (16 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1181: +3 -1
lines
Diff to previous 1.1181 (colored)
tests/make: demonstrate wrong location in diagnostic (since 2018-12-22) When a target has multiple places where commands are defined, the diagnostics mixed up the filename in some cases.
Revision 1.1181 / (download) - annotate - [select for diffs], Tue Dec 28 00:56:16 2021 UTC (17 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1180: +3 -1
lines
Diff to previous 1.1180 (colored)
tests/make: document inconsistencies between '!=' and '::!=' Found while trying to make the error messages from Cmd_Exec more detailed.
Revision 1.1180 / (download) - annotate - [select for diffs], Thu Dec 23 11:05:58 2021 UTC (17 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1179: +3 -1
lines
Diff to previous 1.1179 (colored)
tests/make: explain the current behavior of the option '--version'
Revision 1.1179 / (download) - annotate - [select for diffs], Mon Dec 20 19:48:05 2021 UTC (17 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1178: +3 -1
lines
Diff to previous 1.1178 (colored)
tests/lint: test excess braces around initializers
Revision 1.1178 / (download) - annotate - [select for diffs], Tue Dec 14 00:02:57 2021 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1177: +3 -1
lines
Diff to previous 1.1177 (colored)
make: remove unreachable code for parsing the dependency operator At the point where ParseDependencyOp is called, cp is guaranteed to point to either ':' or '!'. No functional change.
Revision 1.1177 / (download) - annotate - [select for diffs], Mon Dec 13 23:38:54 2021 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1176: +3 -1
lines
Diff to previous 1.1176 (colored)
tests/make: extend tests for parsing makefiles
Revision 1.1176 / (download) - annotate - [select for diffs], Sun Dec 12 22:16:48 2021 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1175: +3 -1
lines
Diff to previous 1.1175 (colored)
tests/make: test and document the newly added "variable" .SUFFIXES
Revision 1.1175 / (download) - annotate - [select for diffs], Mon Dec 6 23:20:26 2021 UTC (18 months ago) by rillig
Branch: MAIN
Changes since 1.1174: +3 -1
lines
Diff to previous 1.1174 (colored)
tests/lint: demonstrate wrong warning for __builtin_alloca
Revision 1.1174 / (download) - annotate - [select for diffs], Sun Dec 5 15:20:13 2021 UTC (18 months ago) by rillig
Branch: MAIN
Changes since 1.1173: +3 -1
lines
Diff to previous 1.1173 (colored)
make: fix use-after-free in modifier ':@' Without memory allocator debugging, the newly added test doesn't show any obvious failure. With memory allocator debugging enabled, all make versions since 2016.02.27.16.20.06 crash with a segmentation fault.
Revision 1.1173 / (download) - annotate - [select for diffs], Sun Nov 28 16:20:13 2021 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1172: +2 -2
lines
Diff to previous 1.1172 (colored)
tests/indent: migrate token_question to lsym_question and extend it
Revision 1.1172 / (download) - annotate - [select for diffs], Sun Nov 28 16:05:59 2021 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1171: +2 -2
lines
Diff to previous 1.1171 (colored)
tests/indent: migrate test token_case_label to lsym_case_label
Revision 1.1171 / (download) - annotate - [select for diffs], Sun Nov 28 15:26:22 2021 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1170: +2 -2
lines
Diff to previous 1.1170 (colored)
tests/indent: migrate token_comma to lsym_comma The section on initializer values is new.
Revision 1.1170 / (download) - annotate - [select for diffs], Sun Nov 28 14:49:28 2021 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1169: +2 -2
lines
Diff to previous 1.1169 (colored)
tests/indent: move test for ':' to lsym_token.c
Revision 1.1169 / (download) - annotate - [select for diffs], Sun Nov 28 14:29:03 2021 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1168: +2 -2
lines
Diff to previous 1.1168 (colored)
indent: treat L"string" as a single token There is never whitespace between the 'L' and the string literal or the character constant. There might be a backslash-newline between them, but that case was not handled before either. No functional change.
Revision 1.1168 / (download) - annotate - [select for diffs], Thu Nov 18 21:19:18 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1167: +51 -1
lines
Diff to previous 1.1167 (colored)
tests/indent: add skeletons for testing tokens and parser symbols The constants that were previously defined in indent_codes.h were a wild mixture of tokens from the lexer and symbols on the parser stack. They were split into separate types starting at indent.h 1.49 from 2021-10-25 and finishing at 1.73 from 2021-10-31. To match the tests with the new token names, the old tests need to be migrated to the newly added tests. This will take some time so first add the skeletons and migrate them in smaller steps, cleaning them up and extending them on the way.
Revision 1.1167 / (download) - annotate - [select for diffs], Thu Nov 18 18:14:47 2021 UTC (18 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1166: +4 -4
lines
Diff to previous 1.1166 (colored)
distrib/sets: sort mi file
Revision 1.1166 / (download) - annotate - [select for diffs], Thu Nov 18 15:03:19 2021 UTC (18 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1165: +2 -1
lines
Diff to previous 1.1165 (colored)
Add a test case for backtrace(3) across a signal handler.
Revision 1.1165 / (download) - annotate - [select for diffs], Wed Nov 17 04:33:26 2021 UTC (18 months, 3 weeks ago) by kre
Branch: MAIN
Changes since 1.1164: +4 -4
lines
Diff to previous 1.1164 (colored)
Adjust new libcurses test filenames to the ones atually installed. Possibly the intent was that the names used here were correct, and the error is where they're installed - if so, that can be corrected later. Hopefully this will fix the remaining current build issue.
Revision 1.1164 / (download) - annotate - [select for diffs], Tue Nov 16 21:05:33 2021 UTC (18 months, 3 weeks ago) by blymn
Branch: MAIN
Changes since 1.1163: +7 -1
lines
Diff to previous 1.1163 (colored)
Add more check files for libcurses tests.
Revision 1.1163 / (download) - annotate - [select for diffs], Mon Nov 15 06:34:05 2021 UTC (18 months, 3 weeks ago) by blymn
Branch: MAIN
Changes since 1.1162: +7 -1
lines
Diff to previous 1.1162 (colored)
Add new check files for curses atf.
Revision 1.1162 / (download) - annotate - [select for diffs], Sat Oct 30 22:04:42 2021 UTC (19 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1161: +3 -1
lines
Diff to previous 1.1161 (colored)
lint: warn if an enum name is used for mismatched array access This helps to keep the enum definition and the straight-forward implementation of a to_string or name function in sync. The test for message 241 had to be adjusted because of exactly this bug. That test defined a bit mask enum but accessed it like a value enum type.
Revision 1.1161 / (download) - annotate - [select for diffs], Sat Oct 23 21:45:14 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1160: +16 -16
lines
Diff to previous 1.1160 (colored)
tests/indent: migrate remaining tests from t_indent to t_options The test types_from_file was a subset of opt_U and thus has been removed.
Revision 1.1160 / (download) - annotate - [select for diffs], Sat Oct 23 20:30:23 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1159: +5 -4
lines
Diff to previous 1.1159 (colored)
tests/indent: migrate test for '-bap -sob' to t_options
Revision 1.1159 / (download) - annotate - [select for diffs], Sat Oct 23 20:23:27 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1158: +5 -4
lines
Diff to previous 1.1158 (colored)
tests/indent: migrate test for '--version' to t_options
Revision 1.1158 / (download) - annotate - [select for diffs], Sat Oct 23 20:17:08 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1157: +4 -3
lines
Diff to previous 1.1157 (colored)
tests/indent: migrate test for offsetof to t_options
Revision 1.1157 / (download) - annotate - [select for diffs], Sat Oct 23 20:07:03 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1156: +3 -3
lines
Diff to previous 1.1156 (colored)
tests/indent: remove redundant test list_head The test cases are already in fmt_decl.c, in old_style_definition and LIST_HEAD.
Revision 1.1156 / (download) - annotate - [select for diffs], Sat Oct 23 20:01:14 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1155: +3 -3
lines
Diff to previous 1.1155 (colored)
tests/indent: migrate f_decls to using t_options, add more tests
Revision 1.1155 / (download) - annotate - [select for diffs], Sat Oct 23 18:46:26 2021 UTC (19 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1154: +2 -1
lines
Diff to previous 1.1154 (colored)
Fix a regression introduced in kern_event.c,v 1.129 that would cause "udata" to get clobbered on ONESHOT events, and add a unit test for it. Reported by martin@ (manifested in his case as a KASSERT() firing when running unit tests in COMPAT_NETBSD32).
Revision 1.1154 / (download) - annotate - [select for diffs], Sat Oct 23 01:28:34 2021 UTC (19 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1153: +2 -1
lines
Diff to previous 1.1153 (colored)
Add support for the EVFILT_EMPTY filter, which is activated when the write buffer associated with the file descriptor is empty. This is currently implemented only for sockets, and is intended primarily to provide visibility to applications that all previously written data has been acknowledged by the TCP layer on the receiver. Compatible with the same filter in FreeBSD.
Revision 1.1153 / (download) - annotate - [select for diffs], Fri Oct 22 22:31:55 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1152: +16 -1
lines
Diff to previous 1.1152 (colored)
tests/indent: fix file list
Revision 1.1152 / (download) - annotate - [select for diffs], Fri Oct 22 21:06:21 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1151: +2 -2
lines
Diff to previous 1.1151 (colored)
tests/indent: fix file list lex.c got renamed to lex_ident.c.
Revision 1.1151 / (download) - annotate - [select for diffs], Fri Oct 22 20:54:36 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1150: +57 -55
lines
Diff to previous 1.1150 (colored)
tests/indent: migrate integer options tests to t_options
Revision 1.1150 / (download) - annotate - [select for diffs], Fri Oct 22 19:46:41 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1149: +11 -11
lines
Diff to previous 1.1149 (colored)
tests/indent: migrate tests for parentheses, struct, #if, wide char
Revision 1.1149 / (download) - annotate - [select for diffs], Fri Oct 22 19:27:53 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1148: +23 -18
lines
Diff to previous 1.1148 (colored)
tests/indent: migrate a few more tests to t_options
Revision 1.1148 / (download) - annotate - [select for diffs], Tue Oct 19 20:20:24 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1147: +2 -1
lines
Diff to previous 1.1147 (colored)
tests/indent: add test for INDENT OFF/ON comments Just to prevent unintended side effects when fixing bugs in this area.
Revision 1.1147 / (download) - annotate - [select for diffs], Mon Oct 18 23:01:10 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1146: +7 -7
lines
Diff to previous 1.1146 (colored)
tests/indent: remove redundant tests for '-ncs' and '-pcs' These tests are already covered by opt_cs.c and opt_pcs.c.
Revision 1.1146 / (download) - annotate - [select for diffs], Mon Oct 18 22:46:33 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1145: +41 -4
lines
Diff to previous 1.1145 (colored)
tests/indent: condense test for indentation level, add missing files
Revision 1.1145 / (download) - annotate - [select for diffs], Mon Oct 18 22:30:34 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1144: +109 -109
lines
Diff to previous 1.1144 (colored)
tests/indent: condense the token tests This reduces the number of files in the test directory. It also allows the tests to be read from top to bottom, looking at only a single file. Since t_options.awk complains about files that don't have any test case at all, add some test for each token kind. Most of the tests had previously been effectively empty.
Revision 1.1144 / (download) - annotate - [select for diffs], Mon Oct 18 20:18:00 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1143: +6 -4
lines
Diff to previous 1.1143 (colored)
tests/indent: extend tests for labels, extract test driver Having the test driver in a separate file allows to run it on its own, as 'awk -f t_options.awk label.c'. When the test driver warns, exit 1; this is only needed for the standalone version, when run from inside ATF the warnings on stderr already suffice to make the test fail in the end.
Revision 1.1143 / (download) - annotate - [select for diffs], Mon Oct 18 19:36:29 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1142: +10 -9
lines
Diff to previous 1.1142 (colored)
tests/indent: consolidate tests for comments These tests have been the motivation for t_options.sh, which allows to run indent with various command line options on the same input, without having to create 3 files per test case. A test file actually contains several tests, all separated by '#indent' directives. Isolating each of these tests is simpler than having to pick up the corresponding sections from 3 separate files. Running indent on each small test case isolates the test cases from each other, preventing them to influence later test cases. Exactly this had happened when support for C99 comments was added in March 2021, which later turned out to be done wrong.
Revision 1.1142 / (download) - annotate - [select for diffs], Mon Oct 18 18:10:19 2021 UTC (19 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1141: +12 -11
lines
Diff to previous 1.1141 (colored)
tests/indent: merge tests for numbers into token_ident The previous tests 'binary' and 'float' not only test binary and floating point numbers, making their names too specific. Move them into a new test token_ident that covers all "identifier-like" tokens, just as in the code. The test cases for the option '-cs' are already covered more systematically in opt_cs.c, so remove that test.
Revision 1.1141 / (download) - annotate - [select for diffs], Sat Oct 16 09:17:21 2021 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1140: +2 -1
lines
Diff to previous 1.1140 (colored)
tests/indent: add newly added t_options to file list
Revision 1.1140 / (download) - annotate - [select for diffs], Sat Oct 16 05:21:57 2021 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1139: +1 -2
lines
Diff to previous 1.1139 (colored)
tests/indent: remove accidentally added file from the mi list
Revision 1.1139 / (download) - annotate - [select for diffs], Sat Oct 16 03:20:12 2021 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1138: +177 -151
lines
Diff to previous 1.1138 (colored)
tests/indent: condense tests for bool options Previously, each bool option such as '-bacc/-nbacc' had 6 test files: input, options, output for the positive and negative option. Splitting this test data into separate files made it harder than necessary to quickly compare the test output from '-bacc' with that of '-nbacc'. Have a single test for the positive and negative option, allowing several tests to run on the same input with different options. This commit only contains the rather mechanic changes of concatenating the previous test files and inserting the '#indent' directives, which are documented in t_options.sh. Removing duplicate input sections, as well as other cleanups will follow soon. No functional change.
Revision 1.1138 / (download) - annotate - [select for diffs], Thu Oct 14 17:42:12 2021 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1137: +2 -1
lines
Diff to previous 1.1137 (colored)
tests/indent: provide full line coverage for argument handling
Revision 1.1137 / (download) - annotate - [select for diffs], Wed Oct 13 23:33:52 2021 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1136: +2 -1
lines
Diff to previous 1.1136 (colored)
indent: check command line options stricter Previously, bool options were allowed to have trailing garbage. For example, the option '-bacc' could be spelled '-bacchus' as well. Check that the exact option name is given in the command line, to prevent typos in the configuration files and to reduce surprises just in case a future option is a prefix of an existing option, or vice versa. Add a new test program for error handling. Most of these tests are so simple that it would be overkill to create 3 files for each test.
Revision 1.1136 / (download) - annotate - [select for diffs], Wed Oct 13 04:57:20 2021 UTC (19 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1135: +2 -1
lines
Diff to previous 1.1135 (colored)
Add support for the NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS, NOTE_NSECONDS, and NOTE_ABSTIME filter flags to EVFILT_TIMER, API-compatible with the same in FreeBSD.
Revision 1.1135 / (download) - annotate - [select for diffs], Sun Oct 10 17:47:38 2021 UTC (19 months, 4 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1134: +2 -1
lines
Diff to previous 1.1134 (colored)
Add a test case for the race condition in PR kern/50094, modeled after the Go run-time scenario described in the PR.
Revision 1.1134 / (download) - annotate - [select for diffs], Sun Oct 10 17:43:15 2021 UTC (19 months, 4 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1133: +2 -1
lines
Diff to previous 1.1133 (colored)
Add a test case to heavily exercise EVFILT_PROC + NOTE_TRACK.
Revision 1.1133 / (download) - annotate - [select for diffs], Thu Oct 7 18:07:25 2021 UTC (20 months ago) by rillig
Branch: MAIN
Changes since 1.1132: +4 -1
lines
Diff to previous 1.1132 (colored)
tests/indent: test parsing of command line options in profile file
Revision 1.1132 / (download) - annotate - [select for diffs], Tue Oct 5 17:09:45 2021 UTC (20 months ago) by rillig
Branch: MAIN
Changes since 1.1131: +4 -1
lines
Diff to previous 1.1131 (colored)
tests/indent: demonstrate off-by-one error in edge case
Revision 1.1131 / (download) - annotate - [select for diffs], Thu Sep 30 02:00:19 2021 UTC (20 months, 1 week ago) by yamaguchi
Branch: MAIN
Changes since 1.1130: +2 -1
lines
Diff to previous 1.1130 (colored)
Added tests for the linear hook APIs
Revision 1.1130 / (download) - annotate - [select for diffs], Sun Sep 26 03:17:59 2021 UTC (20 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1129: +19 -1
lines
Diff to previous 1.1129 (colored)
tests/lint: add tests for platform characteristics Running lint in usr.bin/make on i386 fails due to this warning: cond.c(800): warning: argument #3 is converted from 'unsigned char' to 'unsigned int' due to prototype [259] This warning only occurred on i386 but not on sparc or x86_64. Try to reproduce the test situation in platform_int. The platform code in t_integration.sh was not strict enough, it didn't check for multiple conditions, such as in msg_132_ilp32. That test was only supposed to run on ILP32 platforms where size_t is unsigned int. It also ran on sparc, even though size_t is long there.
Revision 1.1129 / (download) - annotate - [select for diffs], Sat Sep 25 13:06:05 2021 UTC (20 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1128: +2 -1
lines
Diff to previous 1.1128 (colored)
tests/indent: test deeply nested struct declarations
Revision 1.1128 / (download) - annotate - [select for diffs], Sat Sep 25 12:20:44 2021 UTC (20 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1127: +4 -1
lines
Diff to previous 1.1127 (colored)
tests/indent: test edge cases for the tokenizer
Revision 1.1127 / (download) - annotate - [select for diffs], Sat Sep 25 09:46:29 2021 UTC (20 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1126: +7 -1
lines
Diff to previous 1.1126 (colored)
tests/indent: test lexing of character constants and string literals
Revision 1.1126 / (download) - annotate - [select for diffs], Sun Sep 19 15:51:28 2021 UTC (20 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1125: +3 -1
lines
Diff to previous 1.1125 (colored)
Add native implementations of eventfd(2) and timerfd(2), compatible with the Linux interfaces of the same name.
Revision 1.1125 / (download) - annotate - [select for diffs], Mon Sep 13 22:09:06 2021 UTC (20 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1124: +3 -1
lines
Diff to previous 1.1124 (colored)
tests/lint: add more tests for direct-abstract-declarator Lint's grammar in this area differs a lot from the grammar in C99. GCC's parser has a long comment about special cases in this area. It's tricky to even parse these type names correctly, let alone assign them the correct types, that's why it needs more tests before trying to refactor that code.
Revision 1.1124 / (download) - annotate - [select for diffs], Sun Sep 12 16:28:44 2021 UTC (20 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1123: +3 -1
lines
Diff to previous 1.1123 (colored)
lint: add more details to error about redeclaration Message 27 is triggered by several conditions. The one triggered by register_vget in sbin/fsck_lfs/vnode.c needs more details than the others.
Revision 1.1123 / (download) - annotate - [select for diffs], Fri Sep 10 19:40:18 2021 UTC (20 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1122: +3 -1
lines
Diff to previous 1.1122 (colored)
tests/lint: test line number tracking with \v and \f
Revision 1.1122 / (download) - annotate - [select for diffs], Fri Sep 3 22:44:08 2021 UTC (21 months ago) by rillig
Branch: MAIN
Changes since 1.1121: +3 -1
lines
Diff to previous 1.1121 (colored)
tests/lint: test GCC builtins for overflow in strict bool mode Seen in inetd.c.
Revision 1.1121 / (download) - annotate - [select for diffs], Tue Aug 31 18:59:26 2021 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1120: +3 -1
lines
Diff to previous 1.1120 (colored)
tests/lint: add test for prototype conversions in C90 The purpose of warning 259 is to find function calls that differ in the ABI. The warning's original purpose was not to warn about lossy conversions, that's just a side effect. Warning 259 had been implemented before C99 was published, which is more than 20 years ago. In the meantime, almost all code has migrated to using function prototypes. With the default lint flags from NetBSD's <sys.mk>, it would rather make sense to focus on lossy conversions now. To prepare for potentially upcoming differences in lint's C90 and C99 modes, clone the test now as far as possible. The test for C90 mode is smaller than for C99 mode, since 'long long' was not available back then.
Revision 1.1120 / (download) - annotate - [select for diffs], Mon Aug 30 17:08:13 2021 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1119: +3 -1
lines
Diff to previous 1.1119 (colored)
tests/make: explain where "${var}" in .for loops comes from
Revision 1.1119 / (download) - annotate - [select for diffs], Sun Aug 29 09:54:18 2021 UTC (21 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.1118: +8 -1
lines
Diff to previous 1.1118 (colored)
Inetd enhancements by James Browning, Gabe Coffland, Alex Gavin, Solomon Ritzow Described in: https://www.mail-archive.com/tech-userlevel@netbsd.org/msg03114.html And developed in: https://github.com/ritzow/src/pull/1 From their notes: All new functionality should be explained by the updated manpage. The manpage has been refactored a bit: A new section "Directives" has been added and the information about default hostnames and IPsec directives has been moved there, and the new file include directive information is also there. getconfigent has the most major changes. A newline is no longer read immediately, but is called only by a "goto more" (inside an if(false) block). This allows multiple definitions or directives to exist on a single line for anything that doesn't terminate using a newline. This means a key-values service definition can be followed by another key-values service definition, a positional definition, or an ipsec, hostname, or .include directive on the same line. memset is no longer used explicitly to clear the servtab structure, a function init_servtab() is used instead, which uses a C struct initializer. The servtab se_group field is its own allocation now, and not just a pointer into the user:group string. Refactored some stuff out of getconfigent to separate functions for use by parse_v2.c. These functions in inetd.c are named with the form parse_*() parse_v2.c only has code for parsing a key-values service definition into a provided servtab. It should not have anything that affects global state other than line and line_number. Some function prototypes, structures, and #defines have been moved from inetd.c to inetd.h. The function config_root replaces config as the function called on a config file load/reload. The code removed from the end of config(void) is now called in config_root, so it is not run on each recursive config call. setconfig(void) was removed and its code added into config_root because that is the only place it is called, and redundant checks for non-null globals were removed because they are always freed by endconfig. The fseek code was also removed because the config files are always closed by endconfig. Rate limiting code was updated to add a per-service per-IP rate limiting form. Some of that code was refactored out of other places into functions with names in the form rl_*() We have not added any of the license or version information to the new files parse_v2.c, parse_v2.h, and inetd.h and we have not updated the license or version info for inetd.c. Security related: The behavior when reading invalid IPsec strings has changed. Inetd no longer exits, it quits reading the current config file instead. Could this impact program security? We have not checked for memory leaks. Solomon tried to use dmalloc without success. getconfigent seemed to have a memory leak at each "goto more". It seems like inetd has never free'd allocated strings when throwing away erroneous service definitions during parsing (i.e. when "goto more" is called when parsing fields). OpenBSD's version calls freeconfig on "goto more" (https://github.com/openbsd/src/blob/c5eae130d6c937080c3d30d124e8c8b86db7d625/usr.sbin/inetd/inetd.c#L1049) but NetBSD only calls it when service definitions are no longer needed. This has been fixed. freeconfig is called immediately before any "goto more". There shouldn't be any time when a servtab is in an invalid state where freeconfig would break.
Revision 1.1118 / (download) - annotate - [select for diffs], Sat Aug 28 19:45:18 2021 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1117: +3 -1
lines
Diff to previous 1.1117 (colored)
tests/lint: demonstrate hashcode sorting of the lint2 output The hashcodes modulo 1009 are: 48 func7000 637 func0000 646 no_prototype 697 func1000 757 func2000 817 func3000 877 func4000 937 func5000 997 func6000
Revision 1.1117 / (download) - annotate - [select for diffs], Wed Aug 25 22:04:51 2021 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1116: +3 -1
lines
Diff to previous 1.1116 (colored)
tests/lint: test conversion from long long to intptr_t on ilp32 Seen in usr.bin/make/var.c:1608.
Revision 1.1116 / (download) - annotate - [select for diffs], Tue Aug 24 21:30:52 2021 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1115: +5 -1
lines
Diff to previous 1.1115 (colored)
lint: allow libraries to use 128-bit integer types
Revision 1.1115 / (download) - annotate - [select for diffs], Tue Aug 24 20:23:38 2021 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1114: +48 -48
lines
Diff to previous 1.1114 (colored)
tests/lint2: reduce indentation for mi files
Revision 1.1114 / (download) - annotate - [select for diffs], Sun Aug 22 20:56:51 2021 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1113: +3 -1
lines
Diff to previous 1.1113 (colored)
tests/lint: demonstrate wrong constant folding in strict bool mode Found while investigating wrong constant folding in default mode.
Revision 1.1113 / (download) - annotate - [select for diffs], Thu Aug 19 20:32:33 2021 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1112: +3 -1
lines
Diff to previous 1.1112 (colored)
tests/lint: test folding of constant expressions Since November 2001, there is a comment above the function 'fold' that suggests there are a few bugs concerning overflow detection. Add some first 'proper regression tests' to prove these bugs.
Revision 1.1112 / (download) - annotate - [select for diffs], Mon Aug 16 20:11:03 2021 UTC (21 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1111: +5 -1
lines
Diff to previous 1.1111 (colored)
tests/lint: test arithmetic promotions and enums
Revision 1.1111 / (download) - annotate - [select for diffs], Thu Aug 12 15:06:39 2021 UTC (21 months, 3 weeks ago) by martin
Branch: MAIN
Changes since 1.1110: +2 -1
lines
Diff to previous 1.1110 (colored)
add directory for debug data for mkdep tests
Revision 1.1110 / (download) - annotate - [select for diffs], Wed Aug 11 20:42:26 2021 UTC (21 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1109: +3 -1
lines
Diff to previous 1.1109 (colored)
tests/mkdep: test findcc This function is used by both mkdep and lint.
Revision 1.1109 / (download) - annotate - [select for diffs], Mon Aug 9 20:07:23 2021 UTC (21 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1108: +3 -1
lines
Diff to previous 1.1108 (colored)
lint: warn about 'char * = strchr(const char *, int)' Found in findcc.c, there are about 25 other instances of this incongruency in the whole source tree. For more examples of functions from the C Standard Library that implicitly remove the 'const' qualifier from an argument, see the C++ include file 'cstring'.
Revision 1.1108 / (download) - annotate - [select for diffs], Sun Aug 8 00:02:02 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1107: +1 -2
lines
Diff to previous 1.1107 (colored)
tests/lint: make list of tests simpler Since the file /usr/tests/usr.bin/xlint/lint2/tests has only been in the file set for a few minutes, it is not marked as obsolete but simply removed.
Revision 1.1107 / (download) - annotate - [select for diffs], Sat Aug 7 23:52:32 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1106: +6 -1
lines
Diff to previous 1.1106 (colored)
tests/lint: test reading of 128-bit integer types and printf
Revision 1.1106 / (download) - annotate - [select for diffs], Sat Aug 7 21:24:13 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1105: +3 -1
lines
Diff to previous 1.1105 (colored)
tests/lint: add test for reading the lint1 output
Revision 1.1105 / (download) - annotate - [select for diffs], Fri Aug 6 08:44:31 2021 UTC (22 months ago) by martin
Branch: MAIN
Changes since 1.1104: +2 -2
lines
Diff to previous 1.1104 (colored)
Fix copy+pasto (wrong dir for t_lint2)
Revision 1.1104 / (download) - annotate - [select for diffs], Thu Aug 5 22:36:07 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1103: +43 -1
lines
Diff to previous 1.1103 (colored)
tests/lint: add test skeletons for messages from lint2
Revision 1.1103 / (download) - annotate - [select for diffs], Thu Aug 5 06:34:42 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1102: +3 -1
lines
Diff to previous 1.1102 (colored)
tests/lint: test emitting 128-bit integer types for lint2
Revision 1.1102 / (download) - annotate - [select for diffs], Tue Aug 3 20:34:23 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1101: +3 -1
lines
Diff to previous 1.1101 (colored)
tests/lint: test GCC extension for casting to union type
Revision 1.1101 / (download) - annotate - [select for diffs], Tue Aug 3 18:03:54 2021 UTC (22 months ago) by rillig
Branch: MAIN
Changes since 1.1100: +3 -1
lines
Diff to previous 1.1100 (colored)
tests/lint: test casting a struct to another struct
Revision 1.1100 / (download) - annotate - [select for diffs], Sun Aug 1 16:29:28 2021 UTC (22 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1099: +3 -1
lines
Diff to previous 1.1099 (colored)
tests/lint: test the usual arithmetic conversions in traditional C
Revision 1.1099 / (download) - annotate - [select for diffs], Sun Aug 1 13:31:48 2021 UTC (22 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1098: +3 -1
lines
Diff to previous 1.1098 (colored)
tests/lint: test the usual arithmetic conversions The function 'balance' does not mention __uint128_t and nevertheless works as expected. Need to investigate further.
Revision 1.1098 / (download) - annotate - [select for diffs], Sat Jul 31 20:55:45 2021 UTC (22 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1097: +3 -1
lines
Diff to previous 1.1097 (colored)
tests/make: split tests for the variable modifier ':O' The tests for parse errors are now in varmod-order, which lets the other tests focus on the desired behavior of the modifiers.
Revision 1.1097 / (download) - annotate - [select for diffs], Fri Jul 30 21:29:00 2021 UTC (22 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1096: +3 -1
lines
Diff to previous 1.1096 (colored)
tests/make: register test varmod-order-numeric
Revision 1.1096 / (download) - annotate - [select for diffs], Sun Jul 25 22:03:42 2021 UTC (22 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1095: +3 -1
lines
Diff to previous 1.1095 (colored)
tests/lint: cover every code line in the grammar
Revision 1.1095 / (download) - annotate - [select for diffs], Sun Jul 25 17:27:07 2021 UTC (22 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1094: +3 -1
lines
Diff to previous 1.1094 (colored)
tests/lint: test declarators with attributes
Revision 1.1094 / (download) - annotate - [select for diffs], Sun Jul 25 10:57:38 2021 UTC (22 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1093: +3 -1
lines
Diff to previous 1.1093 (colored)
tests/lint: demonstrate missing support for GCC typeof
Revision 1.1093 / (download) - annotate - [select for diffs], Sun Jul 25 09:29:20 2021 UTC (22 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1092: +5 -1
lines
Diff to previous 1.1092 (colored)
tests/lint: test parse errors in statements These errors are really unrealistic. Most parse errors that occur in statements are already handled elsewhere and continue with the next semicolon. The tests had to be split into two separate files because lint assumes that after the 5th parse error, it does not make sense to continue this translation unit.
Revision 1.1092 / (download) - annotate - [select for diffs], Sun Jul 25 08:42:28 2021 UTC (22 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1091: +3 -1
lines
Diff to previous 1.1091 (colored)
tests/lint: test parsing of type_name
Revision 1.1091 / (download) - annotate - [select for diffs], Thu Jul 15 21:00:05 2021 UTC (22 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1090: +5 -1
lines
Diff to previous 1.1090 (colored)
tests/lint: cover more edge cases in the parser
Revision 1.1090 / (download) - annotate - [select for diffs], Thu Jul 15 19:51:29 2021 UTC (22 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1089: +3 -1
lines
Diff to previous 1.1089 (colored)
tests/lint: test struct declarations
Revision 1.1089 / (download) - annotate - [select for diffs], Thu Jul 15 17:09:08 2021 UTC (22 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1088: +3 -1
lines
Diff to previous 1.1088 (colored)
tests/lint: test precedence of operators
Revision 1.1088 / (download) - annotate - [select for diffs], Wed Jul 14 20:39:13 2021 UTC (22 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1087: +5 -1
lines
Diff to previous 1.1087 (colored)
tests/lint: add several tests for edge cases in the grammar
Revision 1.1087 / (download) - annotate - [select for diffs], Wed Jul 14 03:22:33 2021 UTC (22 months, 3 weeks ago) by ozaki-r
Branch: MAIN
Changes since 1.1086: +5 -1
lines
Diff to previous 1.1086 (colored)
tests: add tests for ALTQ CBQ
Revision 1.1086 / (download) - annotate - [select for diffs], Tue Jul 13 19:38:10 2021 UTC (22 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1085: +3 -1
lines
Diff to previous 1.1085 (colored)
tests/lint: test binary integer literals and underscores
Revision 1.1085 / (download) - annotate - [select for diffs], Sun Jul 11 19:24:41 2021 UTC (22 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1084: +2 -2
lines
Diff to previous 1.1084 (colored)
lint: support __attribute__((hot)) The corresponding attribute 'cold' was already added in cgram.y 1.84 from 2016-12-29.
Revision 1.1084 / (download) - annotate - [select for diffs], Sun Jul 11 18:58:13 2021 UTC (22 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1083: +3 -1
lines
Diff to previous 1.1083 (colored)
tests/lint: test dangling else
Revision 1.1083 / (download) - annotate - [select for diffs], Sat Jul 10 18:25:57 2021 UTC (22 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1082: +3 -1
lines
Diff to previous 1.1082 (colored)
tests/lint: test declarations
Revision 1.1082 / (download) - annotate - [select for diffs], Sat Jul 10 09:24:26 2021 UTC (22 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.1081: +5 -1
lines
Diff to previous 1.1081 (colored)
tests/lint: add more tests for covering the grammar
Revision 1.1081 / (download) - annotate - [select for diffs], Fri Jul 9 20:20:03 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1080: +3 -1
lines
Diff to previous 1.1080 (colored)
tests/lint: add test for unrealistic edge cases in declarations The example code for triggering these grammar rules looks completely contrived. Even if lint had not implemented these cases, hopefully nobody would have ever noticed.
Revision 1.1080 / (download) - annotate - [select for diffs], Fri Jul 9 05:54:11 2021 UTC (23 months ago) by yamaguchi
Branch: MAIN
Changes since 1.1079: +2 -1
lines
Diff to previous 1.1079 (colored)
added tests for IFF_PROMISC of vlan(4)
Revision 1.1079 / (download) - annotate - [select for diffs], Thu Jul 8 09:16:24 2021 UTC (23 months ago) by christos
Branch: MAIN
Changes since 1.1078: +5 -1
lines
Diff to previous 1.1078 (colored)
Add new interrupted stdio tests
Revision 1.1078 / (download) - annotate - [select for diffs], Thu Jul 8 05:18:49 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1077: +7 -1
lines
Diff to previous 1.1077 (colored)
tests/lint: add tests for C90 mode and malformed declarations In the grammar, 148 lines are still uncovered by the tests. The untested parts are mostly obscure declarations and a few parse errors.
Revision 1.1077 / (download) - annotate - [select for diffs], Tue Jul 6 17:33:07 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1076: +13 -1
lines
Diff to previous 1.1076 (colored)
tests/lint: add tests for GCC __attribute__ Before fixing the wrong handling of __attribute__ that is demonstrated at the end of gcc_attribute.c, ensure that the attribute handling works in the most basic cases. Lint currently accepts __attribute__ in more places than it should. This leads to some ambiguities in the grammar.
Revision 1.1076 / (download) - annotate - [select for diffs], Sun Jul 4 20:22:31 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1075: +3 -1
lines
Diff to previous 1.1075 (colored)
test/lint: demonstrate wrong warnings for 128-bit shifts
Revision 1.1075 / (download) - annotate - [select for diffs], Sun Jul 4 13:14:53 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1074: +2 -1
lines
Diff to previous 1.1074 (colored)
lint: remove remaining support for lvalue casts These had been GCC extensions until GCC 3.4, they were removed in GCC 4.0.
Revision 1.1074 / (download) - annotate - [select for diffs], Sun Jul 4 08:19:05 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1073: +2 -2
lines
Diff to previous 1.1073 (colored)
lint: remove outdated assertion Since err.c 1.12 from 2000-07-06, lint allows to suppress individual error messages. Suppressed error messages do not increment nerr. Keeping nerr at 0 had triggered the assertion.
Revision 1.1073 / (download) - annotate - [select for diffs], Sun Jul 4 07:50:53 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1072: +3 -1
lines
Diff to previous 1.1072 (colored)
tests/lint: add test for suppressing errors in strict bool mode
Revision 1.1072 / (download) - annotate - [select for diffs], Sat Jul 3 19:31:22 2021 UTC (23 months ago) by rillig
Branch: MAIN
Changes since 1.1071: +3 -1
lines
Diff to previous 1.1071 (colored)
tests/lint: fix test for character comparison on macppc On macppc, char == unsigned char, which generates one more warning than on platforms where char == signed char.
Revision 1.1071 / (download) - annotate - [select for diffs], Fri Jul 2 21:52:36 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1070: +3 -1
lines
Diff to previous 1.1070 (colored)
tests/lint: add test for array subscripts in C99 initialization
Revision 1.1070 / (download) - annotate - [select for diffs], Tue Jun 29 21:33:08 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1069: +3 -3
lines
Diff to previous 1.1069 (colored)
lint: fix wrong warning about out-of-range value '\xff' for char This only affects platforms where char has the same representation as unsigned char.
Revision 1.1069 / (download) - annotate - [select for diffs], Tue Jun 29 13:58:13 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1068: +3 -1
lines
Diff to previous 1.1068 (colored)
tests/lint: add test that only runs where char == unsigned char There a 4 regular NetBSD builds where lint is activated. All these builds run on platforms where char == signed char. The official test runs from https://releng.netbsd.org/test-results.html mostly have char == signed char as well. However, lint behaves differently on platforms with char == unsigned char. On these platforms, a simple "char ch = '\xff'" leads to the bogus warning that "conversion of 'int' to 'char' is out of range".
Revision 1.1068 / (download) - annotate - [select for diffs], Tue Jun 29 09:19:17 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1067: +5 -1
lines
Diff to previous 1.1067 (colored)
tests/lint: add tests for ILP32 platforms Previously, all tests for lint had to produce the exact same output, no matter which platform they ran on. This differs from practical needs since lint is intended to produce different results depending on whether the platform is ILP32 or LP64. Examples for these are type conversions and the widths of the integer types during lexical analysis.
Revision 1.1067 / (download) - annotate - [select for diffs], Sun Jun 27 19:10:29 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1066: +3 -1
lines
Diff to previous 1.1066 (colored)
lint: require C11 for _Generic This does not have any effect in practice since the option -g (originally meant for GCC extensions to the C standards) implicitly allows all features from C11, since err.c 1.111 from 2021-04-14. Since the default lint flags for NetBSD builds include the option -g, this allows all C11 features. Currently it is not possible to say "allow GNU extensions but not C11".
Revision 1.1066 / (download) - annotate - [select for diffs], Sun Jun 27 18:48:45 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1065: +3 -1
lines
Diff to previous 1.1065 (colored)
lint: fix option -Ac11, add test for _Generic Previously, selecting the option -Ac11 allowed features from C11 but at the same time prohibited 'long long', which was added in C99. This was caused by the option -s, which is interpreted as "allow features from C90, but no later". The test for _Generic, which has been added in C11, demonstrates that the current implementation is broken. Lint currently thinks that the return type of a _Generic selection is the type of the expression, but it really is the type of the selected expression. In the current tests, this is always 'const char *', but C11 does not require that the types of a generic selection are compatible.
Revision 1.1065 / (download) - annotate - [select for diffs], Sun Jun 27 12:11:10 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1064: +3 -3
lines
Diff to previous 1.1064 (colored)
tests/lint: fix list of files to be installed
Revision 1.1064 / (download) - annotate - [select for diffs], Sun Jun 27 09:22:31 2021 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.1063: +3 -2
lines
Diff to previous 1.1063 (colored)
tests/lint: rename expected .ln file to .exp-ln This way, the hack for suffixes is no longer needed.
Revision 1.1063 / (download) - annotate - [select for diffs], Sun Jun 20 18:09:48 2021 UTC (23 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1062: +3 -1
lines
Diff to previous 1.1062 (colored)
tests/lint: test syntax error in initialization using designator This test prepares the upcoming refactoring of the grammar.
Revision 1.1062 / (download) - annotate - [select for diffs], Sat Jun 19 20:25:57 2021 UTC (23 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1061: +3 -1
lines
Diff to previous 1.1061 (colored)
lint: fix endless loop on unfinished comment at EOF Found using afl.
Revision 1.1061 / (download) - annotate - [select for diffs], Sat Jun 19 19:59:01 2021 UTC (23 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1060: +3 -1
lines
Diff to previous 1.1060 (colored)
lint: fix assertion after malformed for loop Found using afl.
Revision 1.1060 / (download) - annotate - [select for diffs], Sat Jun 19 19:49:15 2021 UTC (23 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1059: +3 -1
lines
Diff to previous 1.1059 (colored)
lint: fix assertion failure in struct with unnamed member Found using afl.
Revision 1.1059 / (download) - annotate - [select for diffs], Sat Jun 19 15:51:11 2021 UTC (23 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1058: +2 -1
lines
Diff to previous 1.1058 (colored)
lint: fix crash in malformed initialization
Revision 1.1058 / (download) - annotate - [select for diffs], Sat Jun 19 08:30:08 2021 UTC (23 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1057: +13 -1
lines
Diff to previous 1.1057 (colored)
tests/lint: add test cases for lexical analysis
Revision 1.1057 / (download) - annotate - [select for diffs], Wed Jun 16 09:39:48 2021 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1056: +3 -1
lines
Diff to previous 1.1056 (colored)
tests/make: demonstrate wrong error handling in jobs mode
Revision 1.1054.2.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:44 2021 UTC (2 years ago) by cjep
Branch: cjep_sun2x
Changes since 1.1054: +4 -1
lines
Diff to previous 1.1054 (colored) next main 1.1055 (colored)
sync with head
Revision 1.1056 / (download) - annotate - [select for diffs], Sun Jun 6 04:59:36 2021 UTC (2 years ago) by blymn
Branch: MAIN
CVS Tags: cjep_sun2x-base1
Changes since 1.1055: +3 -1
lines
Diff to previous 1.1055 (colored)
New check files added for the libcurses addstr test.
Revision 1.1055 / (download) - annotate - [select for diffs], Sat Jun 5 22:17:15 2021 UTC (2 years ago) by blymn
Branch: MAIN
Changes since 1.1054: +2 -1
lines
Diff to previous 1.1054 (colored)
New check file for libcurses clear test.
Revision 1.1049.2.1 / (download) - annotate - [select for diffs], Mon May 31 22:06:55 2021 UTC (2 years ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.1049: +10 -2
lines
Diff to previous 1.1049 (colored) next main 1.1050 (colored)
sync with head
Revision 1.1054 / (download) - annotate - [select for diffs], Tue May 25 19:22:18 2021 UTC (2 years ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base,
cjep_staticlib_x-base1
Branch point for: cjep_sun2x
Changes since 1.1053: +2 -2
lines
Diff to previous 1.1053 (colored)
tests/lint: make test d_gcc_extension platform-independent That test was intended to test the keywords '__extension__' and '__typeof'. The GCC builtin functions were just a side-effect. These built-in functions generated error messages on platforms such as amd64 where sizeof(long double) != sizeof(double), but not on others such as sparc. The current infrastructure for the lint tests cannot handle tests with platform-dependent outcome.
Revision 1.1053 / (download) - annotate - [select for diffs], Mon May 17 04:07:42 2021 UTC (2 years ago) by yamaguchi
Branch: MAIN
Changes since 1.1052: +5 -1
lines
Diff to previous 1.1052 (colored)
Add a new link-aggregation pseudo interface named lagg(4) - FreeBSD's lagg(4) based implementation - MP-safe and MP-scalable
Revision 1.1052 / (download) - annotate - [select for diffs], Sun May 16 11:11:36 2021 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.1051: +3 -1
lines
Diff to previous 1.1051 (colored)
lint: add more specific warning for bit-field of type plain 'int' Previously, declaring a bit-field of type plain 'int' resulted in this warning: warning: nonportable bit-field type 'int' [34] This warning was too unspecific to be actionable, and until yesterday it didn't even include the type. In order to allow this warning to be understood and properly fixed, describe the actual nonportability more precisely: warning: bit-field of type plain 'int' has implementation-defined signedness [344]
Revision 1.1051 / (download) - annotate - [select for diffs], Sun May 16 00:09:49 2021 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.1050: +2 -1
lines
Diff to previous 1.1050 (colored)
tests/lint: add expected output for testing '&' in switch statement
Revision 1.1050 / (download) - annotate - [select for diffs], Fri May 14 21:14:55 2021 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.1049: +2 -1
lines
Diff to previous 1.1049 (colored)
tests/lint: test bitwise mismatch in switch statement
Revision 1.1049 / (download) - annotate - [select for diffs], Sun May 2 21:22:09 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Changes since 1.1048: +3 -1
lines
Diff to previous 1.1048 (colored)
tests/lint: add test for bit-field types in GCC mode
Revision 1.1048 / (download) - annotate - [select for diffs], Sun May 2 20:44:46 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1047: +3 -1
lines
Diff to previous 1.1047 (colored)
tests/lint: demonstrate missing support for __packed __aligned
Revision 1.1047 / (download) - annotate - [select for diffs], Fri Apr 30 23:49:36 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1046: +3 -1
lines
Diff to previous 1.1046 (colored)
tests/lint: add very basic tests for GCC __attribute__
Revision 1.1046 / (download) - annotate - [select for diffs], Tue Apr 27 16:20:06 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1045: +3 -1
lines
Diff to previous 1.1045 (colored)
tests/make: test the combination of -de with -j1 The test cases are the same as in opt-debug-errors.mk. The output differs in several details though. Even though the option '-k' is given (which is the default for any tests that don't override it in unit-tests/Makefile), there is no message "(continuing)" anywhere. The failed target is printed twice. Once before the failed commands, once after. This redundancy is not necessary and may be removed in a follow-up commit. The printed commands are in their unexpanded form, which may or may not be more helpful than the expanded and space-normalized form of compat mode. Either way, this is an unnecessary inconsistency between compat mode and jobs mode. In jobs mode, the message "make: stopped in $dir" is printed for each failure, which is helpful since each of the jobs may have started in a separate directory.
Revision 1.1045 / (download) - annotate - [select for diffs], Thu Apr 22 22:43:26 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1044: +3 -1
lines
Diff to previous 1.1044 (colored)
tests/lint: add test for typeof after statement Found by christos@.
Revision 1.1044 / (download) - annotate - [select for diffs], Sun Apr 18 23:02:16 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1043: +2 -1
lines
Diff to previous 1.1043 (colored)
tests/lint: add emit.ln to the release files
Revision 1.1043 / (download) - annotate - [select for diffs], Sun Apr 18 20:02:56 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1042: +3 -1
lines
Diff to previous 1.1042 (colored)
lint: test emitting of symbol information in the .ln files Even though the new test is quite large, it didn't find any bugs in the code. The only thing I'm unsure about is why static functions are exported as well, since they are supposed to be local to the translation unit.
Revision 1.1042 / (download) - annotate - [select for diffs], Sat Apr 17 20:36:17 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1041: +3 -1
lines
Diff to previous 1.1041 (colored)
tests/lint: demonstrate assertion failure in initialization
Revision 1.1041 / (download) - annotate - [select for diffs], Thu Apr 15 19:02:29 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1040: +3 -1
lines
Diff to previous 1.1040 (colored)
tests/make: demonstrate handling of null bytes
Revision 1.1040 / (download) - annotate - [select for diffs], Wed Apr 14 18:27:11 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1039: +3 -1
lines
Diff to previous 1.1039 (colored)
lint: add test for newly added message about static array size
Revision 1.1039 / (download) - annotate - [select for diffs], Fri Apr 9 21:07:39 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1038: +2 -1
lines
Diff to previous 1.1038 (colored)
tests/lint: demonstrate wrong lint warning about complex variables
Revision 1.1038 / (download) - annotate - [select for diffs], Thu Apr 8 22:18:26 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1037: +3 -1
lines
Diff to previous 1.1037 (colored)
lint: in code from included files, print stack trace Previously, the standard NetBSD build generated several lint warnings in lhash.h from OpenSSL, without providing any hint as to which file actually included that header. In cases like these, lint now interprets the line number information in the preprocessor output from GCC to reconstruct the exact include path to the file in question. The program check-expect.lua had to be rewritten almost completely since it assumed that all diagnostics would come from the main file. In all existing tests, this was true, but these tests did not cover all cases that occurred in practice. Now it records the complete location of the diagnostic instead of just the line number.
Revision 1.1037 / (download) - annotate - [select for diffs], Mon Apr 5 02:05:47 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1036: +5 -1
lines
Diff to previous 1.1036 (colored)
lint: warn about for wrong type cast in argument to ctype.h functions The argument to most of the functions from <ctype.h> "shall either be representable as an 'unsigned char' or shall equal the value of the macro EOF". When confronted with the infamous warning 'array subscript has type char', there are enough programmers who don't know the background of that warning and thus fix it in a wrong way. Neither GCC nor Clang explain its warning to target these programmers. Both GCC and Clang warn about 'array subscript has type char', but they ignore the other requirements of the <ctype.h> functions, even though these are in the C standard library. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 https://stackoverflow.com/a/60696378
Revision 1.1036 / (download) - annotate - [select for diffs], Sun Apr 4 13:20:52 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1035: +3 -1
lines
Diff to previous 1.1035 (colored)
tests/make: split test for modifier ':@' into separate files The file varmod-loop.mk has grown too large to be single-purpose, plus it combined parse-time and run-time tests. This has the downside that as soon as a parse-time test results in an error, the run-time tests are not run anymore.
Revision 1.993.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:43:41 2021 UTC (2 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.993.2.1: +437 -49
lines
Diff to previous 1.993.2.1 (colored) next main 1.994 (colored)
Sync with HEAD.
Revision 1.1035 / (download) - annotate - [select for diffs], Fri Apr 2 17:25:04 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: thorpej-futex-base
Changes since 1.1034: +3 -1
lines
Diff to previous 1.1034 (colored)
tests/lint: prevent typo from tree.c 1.264 from happening again
Revision 1.1034 / (download) - annotate - [select for diffs], Sun Mar 28 14:01:49 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1033: +2 -2
lines
Diff to previous 1.1033 (colored)
lint: remove wrong warning about wrong initializer type The following code is valid: int valid = {{{ 3 }}}; C90 3.5.7 and C99 6.7.8 both say that the "initializer for a scalar shall be a single expression, optionally enclosed in braces". They don't put any upper bound on the amount of braces, not even in the "Translation limits" section.
Revision 1.1033 / (download) - annotate - [select for diffs], Tue Mar 23 21:19:08 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1032: +3 -1
lines
Diff to previous 1.1032 (colored)
tests/lint: test initialization using string literals The errors in line 74 and 75 of the test are wrong. Everything is fine there. The bug lies in init_array_using_string, try to see if you can spot it, neither GCC 9.3.0 nor Clang 8.0.1 could.
Revision 1.1032 / (download) - annotate - [select for diffs], Sun Mar 14 11:49:37 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1031: +3 -1
lines
Diff to previous 1.1031 (colored)
tests/make: add test for short-circuit evaluation of modifiers
Revision 1.1031 / (download) - annotate - [select for diffs], Fri Mar 12 00:13:06 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.1030: +383 -269
lines
Diff to previous 1.1030 (colored)
tests/indent: add test templates for testing specific parser symbols The basic idea of indent is to split the input into tokens and then reassemble them, reformatting them on the way. These tokens determine how the output is formatted, therefore add tests for each of the terminal tokens and nonterminal parser symbols, to cover more common cases, and edge cases as well.
Revision 1.1030 / (download) - annotate - [select for diffs], Tue Mar 9 20:43:19 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1029: +4 -1
lines
Diff to previous 1.1029 (colored)
tests/indent: demonstrate strange alignment for global variables
Revision 1.1029 / (download) - annotate - [select for diffs], Mon Mar 8 22:13:05 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1028: +4 -1
lines
Diff to previous 1.1028 (colored)
tests/indent: demonstrate wrong removed empty line before '//'
Revision 1.1028 / (download) - annotate - [select for diffs], Mon Mar 8 20:55:34 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1027: +3 -1
lines
Diff to previous 1.1027 (colored)
tests/indent: demonstrate another bug in nested blocks
Revision 1.1027 / (download) - annotate - [select for diffs], Mon Mar 8 20:12:04 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1026: +4 -1
lines
Diff to previous 1.1026 (colored)
tests/indent: add test for output line counting
Revision 1.1026 / (download) - annotate - [select for diffs], Sun Mar 7 19:42:54 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1025: +3 -1
lines
Diff to previous 1.1025 (colored)
lint: in strict C mode, warn about initialization with '[a ... b]' https://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html
Revision 1.1025 / (download) - annotate - [select for diffs], Sat Mar 6 17:56:33 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1024: +209 -1
lines
Diff to previous 1.1024 (colored)
tests/indent: add templates for options tests Given that indent "has even more switches than ls(1)", there are far too few tests. To make it easier to add meaningful tests for each of the options, add the templates for the tests right now, ready to be filled in.
Revision 1.1024 / (download) - annotate - [select for diffs], Sun Feb 28 22:12:16 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1023: +3 -1
lines
Diff to previous 1.1023 (colored)
lint: fix null pointer dereference on parse error Fixes PR bin/22119.
Revision 1.1023 / (download) - annotate - [select for diffs], Sun Feb 28 20:17:13 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1022: +2 -1
lines
Diff to previous 1.1022 (colored)
lint: add test to demonstrate that PR bin/20264 has been fixed
Revision 1.1022 / (download) - annotate - [select for diffs], Sun Feb 21 21:26:26 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1021: +3 -1
lines
Diff to previous 1.1021 (colored)
indent: add test demonstrating that indent cannot handle C99 indent cannot handle line-end comments. The indent test suite requires each test file to have both a NetBSD and a FreeBSD RCS ID. If the FreeBSD RCS ID is missing, the test will silently pass since in that case, an empty file is compared with an empty file. See the /start/,/end/ operator in t_indent.sh.
Revision 1.1021 / (download) - annotate - [select for diffs], Sun Feb 21 08:05:51 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1020: +3 -1
lines
Diff to previous 1.1020 (colored)
lint: add another test for C99 initializers
Revision 1.1020 / (download) - annotate - [select for diffs], Fri Feb 19 12:28:56 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1019: +5 -1
lines
Diff to previous 1.1019 (colored)
lint: warn about mismatch in getopt handling
Revision 1.1019 / (download) - annotate - [select for diffs], Tue Feb 16 09:46:24 2021 UTC (2 years, 3 months ago) by kre
Branch: MAIN
Changes since 1.1018: +2 -1
lines
Diff to previous 1.1018 (colored)
PR bin/55979 Add a sh ATF test to demonstrate a bug in the way that \0 characters are dropped from scripts. This test will eventually be extended to test other potential sh script input related issues. When initially committed, this test should fail. It should succeed when the fix for the PR is committed (soon). Nb: this tests only the \0 related issues from the PR, the MSAN detected uninitialised variable (struct field) can only be detected by MSAN, as it has no visible impact on the operation of the shell when running on any real (or even emulated) hardware. (It will, however, also be fixed).
Revision 1.1018 / (download) - annotate - [select for diffs], Sun Feb 14 20:16:17 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1017: +3 -1
lines
Diff to previous 1.1017 (colored)
make: add test for the variable modifier ':sh'
Revision 1.1017 / (download) - annotate - [select for diffs], Sat Feb 13 06:29:45 2021 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.1016: +2 -1
lines
Diff to previous 1.1016 (colored)
tests/libcurses: add test for addbytes
Revision 1.1016 / (download) - annotate - [select for diffs], Sun Feb 7 01:53:54 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1015: +3 -1
lines
Diff to previous 1.1015 (colored)
libcurses: demonstrate bug in addch that doubles tab indentation When adding "\t" via addch, win.curx advances by twice the spaces as intended. This bug was introduced somewhere between NetBSD 8.0 and 9.0. Adding "\t" via addstr does not have this bug. This bug causes the installation menu of sysinst to be have its menu items indented by 16 characters instead of only 8. This in turn produces an ugly line break in the German translation. The test framework for libcurses is not well integrated into ATF. Whenever the expected output is longer than the actual output, or vice versa, the test passes nevertheless. This makes it necessary to constantly look into atf-run.log to see whether the actual output is indeed equal to the expected output, which is crucial, especially for telling the difference between addstr and addnstr. Reusing the .chk files for several tests is not a good idea either. For example, addstr and waddstr are supposed to produce the same result for ASCII-only text, so it was tempting to use the same file. But waddstr seems to have a bug (maybe undefined behavior), at least waddstr returns ERR in one case where it shouldn't. This means that currently the expected output (acknowledging the bug) must be different. The "expected" test output in waddstr.chk looks completely broken, but that's exactly what the test produces right now.
Revision 1.1015 / (download) - annotate - [select for diffs], Mon Feb 1 20:31:41 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1014: +3 -1
lines
Diff to previous 1.1014 (colored)
make: add test for reading from make's stdin Just out of curiosity whether that really works. It does.
Revision 1.1014 / (download) - annotate - [select for diffs], Sat Jan 30 12:46:38 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1013: +3 -1
lines
Diff to previous 1.1013 (colored)
make(1): add test for combining the options -j, -n, -t This is a preparation for refactoring the complicated condition in JobStart.
Revision 1.1013 / (download) - annotate - [select for diffs], Fri Jan 29 22:38:17 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1012: +3 -1
lines
Diff to previous 1.1012 (colored)
make(1): demonstrate unnecessary creation of empty files in jobs mode
Revision 1.1012 / (download) - annotate - [select for diffs], Sun Jan 17 23:00:41 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1011: +3 -1
lines
Diff to previous 1.1011 (colored)
lint: add more tests for system headers in strict bool mode
Revision 1.1011 / (download) - annotate - [select for diffs], Thu Jan 14 22:18:13 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1010: +17 -1
lines
Diff to previous 1.1010 (colored)
lint: add tests for newly added messages for strict bool mode
Revision 1.1010 / (download) - annotate - [select for diffs], Sun Jan 10 18:06:38 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1009: +3 -1
lines
Diff to previous 1.1009 (colored)
lint: add test for triggering assertion failures in lint1
Revision 1.1009 / (download) - annotate - [select for diffs], Sun Jan 10 17:43:46 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1008: +3 -1
lines
Diff to previous 1.1008 (colored)
lint: add test for treating _Bool as non-scalar type This strict mode is not yet implemented. The plan is to use it for usr.bin/make, to get rid of the many possible variants of defining the Boolean type in make.h. These variants did find some bugs, but not reliably so. Using static analysis seems more promising for this. In an early stage of developing this test, lint1 crashed in the enum definition in line 213, where the node for the '?:' had been NULL. This can happen in other situations as well, such as with syntax errors, but these should be rare, as lint is usually only run if the compiler has accepted the source code. Still, there should not be any assertion failures while running lint1.
Revision 1.1008 / (download) - annotate - [select for diffs], Sun Jan 10 11:24:42 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1007: +3 -1
lines
Diff to previous 1.1007 (colored)
lint: demonstrate wrong handling of conversion to _Bool
Revision 1.993.2.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:49:32 2021 UTC (2 years, 5 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.993: +699 -1
lines
Diff to previous 1.993 (colored)
Sync w/ HEAD.
Revision 1.1007 / (download) - annotate - [select for diffs], Sat Jan 2 10:22:42 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1006: +661 -1
lines
Diff to previous 1.1006 (colored)
lint: add a test for each message produced by lint1 Having a test for each message ensures that upcoming refactorings don't break the basic functionality. Adding the tests will also discover previously unknown bugs in lint. The tests ensure that every lint message can actually be triggered, and they demonstrate how to do so. Having a separate file for each test leaves enough space for documenting historical anecdotes, rationale or edge cases, keeping them away from the source code. The interesting details of this commit are in Makefile and t_integration.sh. All other files are just auto-generated. When running the tests as part of ATF, they are packed together as a single test case. Conceptually, it would have been better to have each test as a separate test case, but ATF quickly becomes very slow as soon as a test program defines too many test cases, and 50 is already too many. The time complexity is O(n^2), not O(n) as one would expect. It's the same problem as in tests/usr.bin/make, which has over 300 test cases as well.
Revision 1.1006 / (download) - annotate - [select for diffs], Fri Jan 1 16:50:47 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1005: +3 -1
lines
Diff to previous 1.1005 (colored)
lint: demonstrate bug in handling of nested C9X struct initializers
Revision 1.1005 / (download) - annotate - [select for diffs], Fri Jan 1 01:07:07 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1004: +3 -1
lines
Diff to previous 1.1004 (colored)
lint: fix segmentation fault when checking returned enum types (211)
Revision 1.1004 / (download) - annotate - [select for diffs], Thu Dec 31 18:51:28 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1003: +3 -1
lines
Diff to previous 1.1003 (colored)
lint: check that in "if (cond)", cond is scalar
Revision 1.1003 / (download) - annotate - [select for diffs], Thu Dec 31 03:05:12 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1002: +5 -1
lines
Diff to previous 1.1002 (colored)
make(1): add test for error handling and expansion in .for loops
Revision 1.1002 / (download) - annotate - [select for diffs], Wed Dec 30 14:50:08 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1001: +3 -1
lines
Diff to previous 1.1001 (colored)
make(1): add test for .endfor without corresponding .for
Revision 1.1001 / (download) - annotate - [select for diffs], Wed Dec 30 13:15:07 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.1000: +3 -1
lines
Diff to previous 1.1000 (colored)
lint: add test for old style function arguments
Revision 1.1000 / (download) - annotate - [select for diffs], Tue Dec 29 01:45:06 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.999: +3 -1
lines
Diff to previous 1.999 (colored)
make(1): add test that explains how variables are exported Exporting the variables at the right time and with the correct values is a subtle issue. The current implementation carefully marks variables as ready to be exported, then exports them and at the same time tries to export as few variables as possible, to avoid memory leaks. This test describes and explains how all this works in detail. This test also justifies that the call to Var_ReexportVars happens in the make process itself, not in the child processes, no matter whether these are created with vfork or (only theoretically) with plain fork. This has changed in compat.c 1.217, job.c 1.390 and main.c 1.504 from 2020-12-27.
Revision 1.999 / (download) - annotate - [select for diffs], Mon Dec 28 12:47:39 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.998: +3 -1
lines
Diff to previous 1.998 (colored)
lint1: add forgotten tests
Revision 1.998 / (download) - annotate - [select for diffs], Mon Dec 28 11:40:54 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.997: +11 -1
lines
Diff to previous 1.997 (colored)
lint1: fix file list for recently added test output
Revision 1.997 / (download) - annotate - [select for diffs], Sun Dec 27 05:11:40 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.996: +3 -1
lines
Diff to previous 1.996 (colored)
make(1): add test for expansion errors in jobs mode Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
Revision 1.996 / (download) - annotate - [select for diffs], Sat Dec 19 16:00:17 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.995: +3 -1
lines
Diff to previous 1.995 (colored)
make(1): add test for null byte in .for loop body
Revision 1.995 / (download) - annotate - [select for diffs], Sat Dec 19 12:14:59 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.994: +3 -1
lines
Diff to previous 1.994 (colored)
make(1): demonstrate wrong line numbers in .for loops, since 2007-01-01
Revision 1.994 / (download) - annotate - [select for diffs], Mon Dec 14 20:23:49 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.993: +3 -1
lines
Diff to previous 1.993 (colored)
make(1): add test for parsing the end of a condition
Revision 1.993 / (download) - annotate - [select for diffs], Sun Dec 13 17:44:31 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.992: +3 -1
lines
Diff to previous 1.992 (colored)
make(1): demonstrate wrong error handling in compat mode
Revision 1.992 / (download) - annotate - [select for diffs], Sun Dec 13 00:46:25 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.991: +3 -1
lines
Diff to previous 1.991 (colored)
make(1): add test for misspelled directives This test allows the other directive-* tests to focus on the purpose of the individual directive, allowing these tests to continue after parsing, without errors.
Revision 1.991 / (download) - annotate - [select for diffs], Sun Dec 13 00:37:43 2020 UTC (2 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.990: +2 -2
lines
Diff to previous 1.990 (colored)
t_ossaudio was installed for clang, so remove gcc marking
Revision 1.990 / (download) - annotate - [select for diffs], Sat Dec 12 15:06:11 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.989: +3 -1
lines
Diff to previous 1.989 (colored)
make(1): add test for a shell with error control None of the predefined shells has error control, and the corresponding code had not been covered by the existing unit tests.
Revision 1.989 / (download) - annotate - [select for diffs], Sat Dec 12 03:03:14 2020 UTC (2 years, 5 months ago) by pgoyette
Branch: MAIN
Changes since 1.988: +6 -1
lines
Diff to previous 1.988 (colored)
Also add the new test to the sets lists.
Revision 1.988 / (download) - annotate - [select for diffs], Thu Dec 10 17:06:13 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.987: +3 -1
lines
Diff to previous 1.987 (colored)
make(1): test all combinations of switches for running commands The code in JobPrintSpecials is rather complicated and contains surprising interaction between some of the switches. To see the exact effects of the switches, record the current state and its output, to prevent accidental breakage during the upcoming refactorings.
Revision 1.987 / (download) - annotate - [select for diffs], Wed Dec 9 07:57:51 2020 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.986: +3 -1
lines
Diff to previous 1.986 (colored)
make(1): add test for the -n option combined with RunFlags
Revision 1.986 / (download) - annotate - [select for diffs], Wed Dec 9 00:25:00 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.985: +3 -1
lines
Diff to previous 1.985 (colored)
make(1): add test for combining -j1 with -n
Revision 1.985 / (download) - annotate - [select for diffs], Mon Dec 7 21:35:43 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.984: +3 -3
lines
Diff to previous 1.984 (colored)
make(1): add tests and tutorial for the ?= assignment operator
Revision 1.984 / (download) - annotate - [select for diffs], Mon Dec 7 07:51:25 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.983: +3 -1
lines
Diff to previous 1.983 (colored)
make(1): add new unit test opt-keep-going-multiple.mk to file lists
Revision 1.983 / (download) - annotate - [select for diffs], Sun Dec 6 21:22:04 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.982: +3 -1
lines
Diff to previous 1.982 (colored)
make(1): add test for .END after failed main node
Revision 1.982 / (download) - annotate - [select for diffs], Tue Dec 1 22:16:36 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.981: +3 -1
lines
Diff to previous 1.981 (colored)
make(1): add test and tutorial for indirect modifiers
Revision 1.981 / (download) - annotate - [select for diffs], Tue Dec 1 20:37:30 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.980: +3 -1
lines
Diff to previous 1.980 (colored)
make(1): add test for the special .MAKEFLAGS variable
Revision 1.980 / (download) - annotate - [select for diffs], Tue Dec 1 17:50:04 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.979: +9 -3
lines
Diff to previous 1.979 (colored)
make(1): add tests for suppressing "stopped in" These tests demonstrate the unwanted behavior described in PR bin/55578 and PR bin/55832.
Revision 1.979 / (download) - annotate - [select for diffs], Mon Nov 30 21:36:52 2020 UTC (2 years, 6 months ago) by sjg
Branch: MAIN
Changes since 1.978: +3 -1
lines
Diff to previous 1.978 (colored)
Added meta-cmd-cmp
Revision 1.978 / (download) - annotate - [select for diffs], Tue Nov 24 19:02:59 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.977: +5 -1
lines
Diff to previous 1.977 (colored)
make(1): add test for bug in error handling of .BEGIN in -k mode
Revision 1.977 / (download) - annotate - [select for diffs], Tue Nov 24 17:59:42 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.976: +3 -1
lines
Diff to previous 1.976 (colored)
make(1): add test for error in dependency of .END node in -k mode
Revision 1.976 / (download) - annotate - [select for diffs], Tue Nov 24 15:36:51 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.975: +3 -1
lines
Diff to previous 1.975 (colored)
make(1): add test for missing "Stop" after error in .END
Revision 1.975 / (download) - annotate - [select for diffs], Mon Nov 23 15:00:32 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.974: +3 -1
lines
Diff to previous 1.974 (colored)
make(1): test that .PHONY targets are not resolved using suffix rules
Revision 1.974 / (download) - annotate - [select for diffs], Sun Nov 22 23:45:20 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.973: +3 -1
lines
Diff to previous 1.973 (colored)
make(1): add test for debug output from transformation rules
Revision 1.973 / (download) - annotate - [select for diffs], Sun Nov 22 20:36:17 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.972: +3 -1
lines
Diff to previous 1.972 (colored)
make(1): add another unit test for suffix handling
Revision 1.972 / (download) - annotate - [select for diffs], Sun Nov 22 19:37:27 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.971: +3 -1
lines
Diff to previous 1.971 (colored)
make(1): document the selection of the main target
Revision 1.971 / (download) - annotate - [select for diffs], Sat Nov 21 10:32:42 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.970: +3 -1
lines
Diff to previous 1.970 (colored)
make(1): add test for incomplete transformation rule
Revision 1.970 / (download) - annotate - [select for diffs], Mon Nov 16 15:12:16 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.969: +3 -1
lines
Diff to previous 1.969 (colored)
make(1): add test for self-referencing suffix rule Just to ensure that make doesn't run into an endless loop.
Revision 1.969 / (download) - annotate - [select for diffs], Sat Nov 14 15:35:20 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.968: +3 -1
lines
Diff to previous 1.968 (colored)
make(1): add test for the -t option in jobs mode
Revision 1.968 / (download) - annotate - [select for diffs], Fri Nov 13 17:19:06 2020 UTC (2 years, 6 months ago) by sjg
Branch: MAIN
Changes since 1.967: +3 -1
lines
Diff to previous 1.967 (colored)
Add new make unit-test
Revision 1.967 / (download) - annotate - [select for diffs], Tue Nov 10 22:23:37 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.966: +3 -1
lines
Diff to previous 1.966 (colored)
make(1): add more tests for parsing .if directives The details of parsing are quite tricky and not documented in the manual page. Record the current behavior to be a little safer in future refactorings.
Revision 1.966 / (download) - annotate - [select for diffs], Mon Nov 9 20:39:46 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.965: +3 -3
lines
Diff to previous 1.965 (colored)
make(1): move test for != assignments to var-op-shell
Revision 1.965 / (download) - annotate - [select for diffs], Sun Nov 8 23:54:28 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.964: +5 -1
lines
Diff to previous 1.964 (colored)
make(1): in lint mode, only allow '&&' and '||', not '&' and '|' These variants of the condition operators are neither documented in the manual page nor are they used in practice.
Revision 1.964 / (download) - annotate - [select for diffs], Sun Nov 8 16:44:47 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.963: +3 -1
lines
Diff to previous 1.963 (colored)
make(1): add test for expanding variable expressions
Revision 1.963 / (download) - annotate - [select for diffs], Sun Nov 8 02:33:18 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.962: +3 -1
lines
Diff to previous 1.962 (colored)
make(1): add newly added test to file list
Revision 1.962 / (download) - annotate - [select for diffs], Sat Nov 7 20:01:17 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.961: +3 -1
lines
Diff to previous 1.961 (colored)
make(1): add test for job command flags
Revision 1.961 / (download) - annotate - [select for diffs], Wed Nov 4 04:24:57 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.960: +3 -1
lines
Diff to previous 1.960 (colored)
make(1): add test for undefined variables in command line arguments The variable discardUndefined has an implicit negation in its name, which makes it hard to understand. Plus, most of the time it is true. It's better to have a flag that is false most of the time and has a positive name. On the first attempt of inverting that variable, I stumbled upon MainParseArgs, which initially leaves discardUndefined == FALSE, and after handling the dashed options, sets it to TRUE. This would make a difference when more command line arguments would be added later via the .MAKEFLAGS special target. Upon further inspection, the only place where discardUndefined is used is in VarAssign_EvalSubst in parse.c, and that place is not reachable from any of the dashed options. Therefore, discardUndefined could already be set at the very beginning of MainParseArgs or even when initializing the global variable itself, without any observable difference. Not even the ::= variable modifier could do anything about this since it is not reachable from the dashed command line options as well, and in addition, it expands its right-hand side in any case, always discarding undefined variables. Oh, these little inconsistencies everywhere.
Revision 1.960 / (download) - annotate - [select for diffs], Tue Nov 3 17:17:31 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.959: +3 -3
lines
Diff to previous 1.959 (colored)
make(1): move tests from directives.mk to separate tests
Revision 1.959 / (download) - annotate - [select for diffs], Mon Nov 2 20:43:27 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.958: +3 -1
lines
Diff to previous 1.958 (colored)
make(1): add test for parse errors in commands in lint mode (-dL) The difference to non-lint mode is that the exit status is now 2 instead of 0.
Revision 1.958 / (download) - annotate - [select for diffs], Mon Nov 2 20:20:42 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.957: +3 -1
lines
Diff to previous 1.957 (colored)
make(1): add test for parse errors in shell commands, compat mode
Revision 1.957 / (download) - annotate - [select for diffs], Mon Nov 2 20:16:26 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.956: +13 -14
lines
Diff to previous 1.956 (colored)
remove extraneous tab, sort entries alphabetically (by fmt-list)
Revision 1.956 / (download) - annotate - [select for diffs], Mon Nov 2 00:29:49 2020 UTC (2 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.955: +2 -1
lines
Diff to previous 1.955 (colored)
add missing files (one from me, one from someone else :-)
Revision 1.955 / (download) - annotate - [select for diffs], Sun Nov 1 22:31:28 2020 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.954: +14 -3
lines
Diff to previous 1.954 (colored)
Add tests for col
Revision 1.954 / (download) - annotate - [select for diffs], Sat Oct 31 11:30:56 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.953: +3 -1
lines
Diff to previous 1.953 (colored)
make(1): add test for recursive variable expressions
Revision 1.953 / (download) - annotate - [select for diffs], Sat Oct 31 11:06:24 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.952: +3 -3
lines
Diff to previous 1.952 (colored)
make(1): merge the SysV modifier tests into varmod-sysv
Revision 1.952 / (download) - annotate - [select for diffs], Sat Oct 31 11:03:18 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.951: +248 -248
lines
Diff to previous 1.951 (colored)
use the same indentation for all libcurses test files
Revision 1.951 / (download) - annotate - [select for diffs], Sat Oct 24 04:47:43 2020 UTC (2 years, 7 months ago) by blymn
Branch: MAIN
Changes since 1.950: +368 -119
lines
Diff to previous 1.950 (colored)
Add new tests and check files for libcurses from the Google Summoer of Code project.
Revision 1.950 / (download) - annotate - [select for diffs], Sat Oct 24 02:25:02 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.949: +3 -1
lines
Diff to previous 1.949 (colored)
make(1): add test for looking up suffixes
Revision 1.949 / (download) - annotate - [select for diffs], Fri Oct 23 19:54:35 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.948: +3 -1
lines
Diff to previous 1.948 (colored)
make(1): add test for dependencies of the form '%.o: %.c'
Revision 1.948 / (download) - annotate - [select for diffs], Fri Oct 23 19:23:00 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.947: +3 -1
lines
Diff to previous 1.947 (colored)
make(1): add test case in which .BEGIN depends on .END Just for fun.
Revision 1.947 / (download) - annotate - [select for diffs], Fri Oct 23 19:11:30 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.946: +3 -1
lines
Diff to previous 1.946 (colored)
make(1): add test for the '::' dependency operator
Revision 1.946 / (download) - annotate - [select for diffs], Fri Oct 23 14:24:51 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.945: +3 -3
lines
Diff to previous 1.945 (colored)
make(1): move tests from cond2.mk to varmod-ifelse.mk
Revision 1.945 / (download) - annotate - [select for diffs], Fri Oct 23 06:18:23 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.944: +3 -1
lines
Diff to previous 1.944 (colored)
make(1): add test for .ERROR_CMD in jobs mode
Revision 1.944 / (download) - annotate - [select for diffs], Tue Oct 20 20:36:53 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.943: +15 -3
lines
Diff to previous 1.943 (colored)
make(1): split test suffixes.mk into simpler, isolated tests The code in suff.c is already hard to understand, and so were the tests in suffixes.mk since several independent topics were merged into a single test. Splitting this test into a separate test per issue allows to document the expected and actual behavior in more detail. That's complicated enough already. PR bin/49086
Revision 1.943 / (download) - annotate - [select for diffs], Sun Oct 18 16:33:18 2020 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.942: +3 -1
lines
Diff to previous 1.942 (colored)
make(1): add test for turning a target into a transformation
Revision 1.942 / (download) - annotate - [select for diffs], Fri Oct 16 07:12:26 2020 UTC (2 years, 7 months ago) by mgorny
Branch: MAIN
Changes since 1.941: +3 -1
lines
Diff to previous 1.941 (colored)
Try to fix tests/sys/x86 again Thank to Martin Husemann for the suggestion.
Revision 1.941 / (download) - annotate - [select for diffs], Thu Oct 15 22:15:08 2020 UTC (2 years, 7 months ago) by mgorny
Branch: MAIN
Changes since 1.940: +1 -6
lines
Diff to previous 1.940 (colored)
Move the new x86 test into x86-specific lists
Revision 1.940 / (download) - annotate - [select for diffs], Thu Oct 15 17:44:44 2020 UTC (2 years, 7 months ago) by mgorny
Branch: MAIN
Changes since 1.939: +6 -1
lines
Diff to previous 1.939 (colored)
Add tests for process_xmm_to_s87() and process_s87_to_xmm()
Revision 1.939 / (download) - annotate - [select for diffs], Thu Oct 8 19:09:08 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.938: +3 -3
lines
Diff to previous 1.938 (colored)
make(1): move test for .CURDIR from misc.mk to varname-dot-curname.mk
Revision 1.938 / (download) - annotate - [select for diffs], Sun Oct 4 06:53:15 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.937: +5 -1
lines
Diff to previous 1.937 (colored)
make(1): add tests for parsing assignments, especially :sh Luckily nobody uses the :sh variable assignment modifier since its syntactical variant != is simpler.
Revision 1.937 / (download) - annotate - [select for diffs], Sat Oct 3 20:34:06 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.936: +3 -1
lines
Diff to previous 1.936 (colored)
make(1): add unit test for the Towers of Hanoi puzzle
Revision 1.936 / (download) - annotate - [select for diffs], Sat Oct 3 14:39:36 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.935: +9 -1
lines
Diff to previous 1.935 (colored)
make(1): add tests for the various supported shells
Revision 1.935 / (download) - annotate - [select for diffs], Fri Oct 2 20:34:59 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.934: +5 -1
lines
Diff to previous 1.934 (colored)
make(1): add tests for parsing and exporting variables Once again, there are a few surprises deeply hidden inside the edge cases.
Revision 1.934 / (download) - annotate - [select for diffs], Thu Oct 1 02:00:04 2020 UTC (2 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.933: +3 -1
lines
Diff to previous 1.933 (colored)
Fix up the debug stuff for if_tap and if_vether
Revision 1.933 / (download) - annotate - [select for diffs], Wed Sep 30 14:54:33 2020 UTC (2 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.932: +2 -1
lines
Diff to previous 1.932 (colored)
Add rump_open_tap
Revision 1.932 / (download) - annotate - [select for diffs], Tue Sep 29 19:41:48 2020 UTC (2 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.931: +5 -1
lines
Diff to previous 1.931 (colored)
vether(4): Add ATF tests based on the tap(4) tests.
Revision 1.931 / (download) - annotate - [select for diffs], Sun Sep 27 20:11:33 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.930: +3 -1
lines
Diff to previous 1.930 (colored)
make(1): add test for merging long lines of job output
Revision 1.930 / (download) - annotate - [select for diffs], Fri Sep 25 23:24:49 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.929: +3 -1
lines
Diff to previous 1.929 (colored)
make(1): add test for harmless bug in Parse_File When there is a dependency group at the end of a top-level makefile, this dependency group is not finished properly. This allows to add further commands to the targets of this dependency group, which was not intended.
Revision 1.929 / (download) - annotate - [select for diffs], Fri Sep 25 18:18:25 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.928: +3 -1
lines
Diff to previous 1.928 (colored)
make(1): add test for deleting the suffixes during parsing
Revision 1.928 / (download) - annotate - [select for diffs], Fri Sep 25 05:56:59 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.927: +3 -1
lines
Diff to previous 1.927 (colored)
make(1): add test for partial expansion of undefined variables
Revision 1.927 / (download) - annotate - [select for diffs], Wed Sep 23 03:33:54 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.926: +3 -1
lines
Diff to previous 1.926 (colored)
make(1): add variant of the counter test I had expected that using the ::+= modifier instead of the ::= modifier would work, since the assignment modifier for COUNTER no longer contains a reference to itself. But instead of ending up at 4, the counter even goes up to 6.
Revision 1.926 / (download) - annotate - [select for diffs], Wed Sep 23 03:06:38 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.925: +3 -1
lines
Diff to previous 1.925 (colored)
make(1): fix assertion failure in -j mode with .END node There had been two separate global variables for the .END node, and in parallel mode, only the one in jobs.c was initialized. The code in JobRun heads over to Compat_Make without calling Compat_Run first, which left the variable ENDNode uninitialized.
Revision 1.925 / (download) - annotate - [select for diffs], Tue Sep 22 01:09:33 2020 UTC (2 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.924: +2 -1
lines
Diff to previous 1.924 (colored)
Add new RTLD test file for r_debug New tests: - self - dlopen Both check whether the r_debug structure seems to be well-formed, without and with a dlopen(3) call.
Revision 1.924 / (download) - annotate - [select for diffs], Mon Sep 14 06:44:50 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.923: +3 -1
lines
Diff to previous 1.923 (colored)
make(1): add test for undefined expressions in conditions in lint mode
Revision 1.923 / (download) - annotate - [select for diffs], Mon Sep 14 06:22:59 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.922: +3 -1
lines
Diff to previous 1.922 (colored)
make(1): add tests for numbers in conditions
Revision 1.922 / (download) - annotate - [select for diffs], Sun Sep 13 13:03:15 2020 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.921: +11 -1
lines
Diff to previous 1.921 (colored)
make(1): add recently added tests to distrib file list
Revision 1.921 / (download) - annotate - [select for diffs], Tue Sep 8 14:17:03 2020 UTC (2 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.920: +2 -1
lines
Diff to previous 1.920 (colored)
Add bind test
Revision 1.920 / (download) - annotate - [select for diffs], Sat Sep 5 06:36:40 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.919: +3 -3
lines
Diff to previous 1.919 (colored)
make(1): move test for -dg1 from opt-debug-g1 to opt-debug-graph1
Revision 1.919 / (download) - annotate - [select for diffs], Sat Sep 5 06:20:50 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.918: +49 -1
lines
Diff to previous 1.918 (colored)
make(1): add tests for each debug option
Revision 1.918 / (download) - annotate - [select for diffs], Fri Sep 4 17:05:39 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.917: +3 -1
lines
Diff to previous 1.917 (colored)
make(1): add test for the special variable MAKEFILE
Revision 1.917 / (download) - annotate - [select for diffs], Fri Sep 4 11:43:50 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.916: +5293 -5293
lines
Diff to previous 1.916 (colored)
re-indent and sort distrib/sets/lists/tests/mi This way, the fields 2 and 3 don't jump horizontally as often as before, which makes the appearance of the whole file as calm and organized as it should be.
Revision 1.916 / (download) - annotate - [select for diffs], Fri Sep 4 05:23:25 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.915: +3 -3
lines
Diff to previous 1.915 (colored)
make(1): extend tests for the :hash variable modifier The previous test vectors didn't contain any hash with a leading zero. This could have been a simple programming mistake by using %8x instead of the intended %08x. Using snprintf wouldn't have been possible anyway since the hex digits are printed in little-endian order, but without reversing the bits of each digit. Kind of unusual, but doesn't affect the distribution of the hashes.
Revision 1.915 / (download) - annotate - [select for diffs], Wed Sep 2 05:33:57 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.914: +3 -1
lines
Diff to previous 1.914 (colored)
make(1): add test for the .for directive For a long time, I had assumed that the iteration variables of a .for loop are just normal global variables. This assumption was wrong but didn't have any consequences. The iteration variables of a .for loop can just be accessed like global variables, therefore it is not obvious that they are implemented in a completely different way. There are some edge cases in conditions used inside .for loops, in which the iteration variables cannot be used like normal variables. An example is brought up in https://gnats.netbsd.org/47888, which observes that the defined() and empty() functions in conditions only work with variables but ignore the iteration "variables", simply because these are not variables but only expressions.
Revision 1.914 / (download) - annotate - [select for diffs], Sat Aug 29 18:50:25 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.913: +3 -1
lines
Diff to previous 1.913 (colored)
make(1): add tests for .else and .for + .endif
Revision 1.913 / (download) - annotate - [select for diffs], Sat Aug 29 14:47:26 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.912: +3 -1
lines
Diff to previous 1.912 (colored)
make(1): fix assertion failure for .SUFFIXES in archives This occurred in the posix1.mk test, even though it is disabled in unit-tests. But in tests/usr.bin/make it still runs. There, it should have produced an "expected failure" but crashed instead. The archive-suffix test is the stripped-down version of the posix1 test.
Revision 1.912 / (download) - annotate - [select for diffs], Fri Aug 28 15:40:53 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.911: +3 -1
lines
Diff to previous 1.911 (colored)
make(1): add test for interrupting a command
Revision 1.911 / (download) - annotate - [select for diffs], Fri Aug 28 03:51:06 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.910: +5 -1
lines
Diff to previous 1.910 (colored)
make(1): add tests for the special .INCLUDES and .LIBS variables
Revision 1.910 / (download) - annotate - [select for diffs], Thu Aug 27 19:00:17 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.909: +3 -1
lines
Diff to previous 1.909 (colored)
make(1): add test for the -dg1 option
Revision 1.909 / (download) - annotate - [select for diffs], Thu Aug 27 15:32:37 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.908: +1 -3
lines
Diff to previous 1.908 (colored)
Remove bogus Atffile and Kyuafile entries for if_wg tests.
Revision 1.908 / (download) - annotate - [select for diffs], Thu Aug 27 15:32:00 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.907: +8 -14
lines
Diff to previous 1.907 (colored)
Sort and deduplicate set lists.
Revision 1.907 / (download) - annotate - [select for diffs], Wed Aug 26 16:03:41 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.906: +23 -12
lines
Diff to previous 1.906 (colored)
Clarify wg(4)'s relation to WireGuard, pending further discussion. Still planning to replace wgconfig(8) and wg-keygen(8) by one wg(8) tool compatible with wireguard-tools; update wg(4) for the minor changes from the 2018-06-30 spec to the 2020-06-01 spec; &c. This just clarifies the current state of affairs as it exists in the development tree for now. Mark the man page EXPERIMENTAL for extra clarity.
Revision 1.906 / (download) - annotate - [select for diffs], Mon Aug 24 18:41:22 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.905: +3 -1
lines
Diff to previous 1.905 (colored)
Restore obsolete entries for make's modorder tests. These tests were removed a week ago, but their set list entries were removed rather than marked obsolete.
Revision 1.905 / (download) - annotate - [select for diffs], Mon Aug 24 18:22:30 2020 UTC (2 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.904: +1 -3
lines
Diff to previous 1.904 (colored)
Backout previous, commiter was dazed and confused
Revision 1.904 / (download) - annotate - [select for diffs], Mon Aug 24 18:18:51 2020 UTC (2 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.903: +3 -1
lines
Diff to previous 1.903 (colored)
Add modorder* make unit test files
Revision 1.903 / (download) - annotate - [select for diffs], Sun Aug 23 13:50:17 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.902: +13 -1
lines
Diff to previous 1.902 (colored)
make(1): add tests for numeric comparisons in .if directives
Revision 1.902 / (download) - annotate - [select for diffs], Sun Aug 23 09:18:25 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.901: +3 -1
lines
Diff to previous 1.901 (colored)
make(1): add test for the newly added .SHELL variable
Revision 1.901 / (download) - annotate - [select for diffs], Sat Aug 22 21:55:54 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.900: +3 -1
lines
Diff to previous 1.900 (colored)
make(1): add test for expanding wildcards in directories This test covers DirExpandInt.
Revision 1.900 / (download) - annotate - [select for diffs], Sat Aug 22 20:23:14 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.899: +3 -1
lines
Diff to previous 1.899 (colored)
make(1): add test for assigning to the variable named "" This has been possible at least since 2013, probably much longer.
Revision 1.899 / (download) - annotate - [select for diffs], Sat Aug 22 16:51:25 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.898: +5 -1
lines
Diff to previous 1.898 (colored)
make(1): add test for deferred variable expansion in dependencies
Revision 1.898 / (download) - annotate - [select for diffs], Sat Aug 22 11:27:02 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.897: +3 -1
lines
Diff to previous 1.897 (colored)
make(1): add test for the special "..." in shell commands
Revision 1.897 / (download) - annotate - [select for diffs], Sat Aug 22 08:29:13 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.896: +3 -3
lines
Diff to previous 1.896 (colored)
make(1): add test for combining :: and .USEBEFORE
Revision 1.896 / (download) - annotate - [select for diffs], Thu Aug 20 21:28:01 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.895: +12 -1
lines
Diff to previous 1.895 (colored)
[ozaki-r] Add wg files
Revision 1.895 / (download) - annotate - [select for diffs], Thu Aug 20 17:45:46 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.894: +3 -1
lines
Diff to previous 1.894 (colored)
make(1): add test for parsing functions in .if conditions
Revision 1.894 / (download) - annotate - [select for diffs], Tue Aug 18 07:13:59 2020 UTC (2 years, 9 months ago) by nakayama
Branch: MAIN
Changes since 1.893: +3 -1
lines
Diff to previous 1.893 (colored)
Quoted from the top of the file: # Note: don't delete entries from here - mark them as "obsolete" instead.
Revision 1.893 / (download) - annotate - [select for diffs], Tue Aug 18 03:02:50 2020 UTC (2 years, 9 months ago) by perseant
Branch: MAIN
Changes since 1.892: +2 -1
lines
Diff to previous 1.892 (colored)
Add skipped test for in-kernel roll-forward agent
Revision 1.892 / (download) - annotate - [select for diffs], Sun Aug 16 20:43:01 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.891: +1 -3
lines
Diff to previous 1.891 (colored)
make(1): move tests for the :Ox modifier into separate file The test has been extended by ensuring that the shuffled words are still the same. Comparing two shuffled lists is probabilistic, but comparing their sorted results is not, therefore that's completely sensible to do. When writing this test, by coincidence I discovered how to generate the "Undefined variable" error message. Unfortunately, the error message is wrong since the variable NUMBERS is defined at that point. In summary, that error message is shown when it shouldn't, and when it should it is not shown. Still, I'm glad that I finally found it.
Revision 1.891 / (download) - annotate - [select for diffs], Sun Aug 16 20:03:52 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.890: +3 -1
lines
Diff to previous 1.890 (colored)
make(1): move tests for the :M modifier into separate files The test for the different escaping has been adjusted to actually show the different parsing results in the test output. To do this, it had to get its own file since it needs the -dv debug flag and specialized post-processing.
Revision 1.890 / (download) - annotate - [select for diffs], Sun Aug 16 12:07:50 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.889: +413 -1
lines
Diff to previous 1.889 (colored)
make(1): add dummies for fine-grained tests, one per single feature The test names have been derived from the current manual page. All these tests are dummies right now, and the code from the existing tests will be moved into the new tests step by step. This is done to prevent modmisc, escape, varmod-edge and varmisc from growing without any bounds, and to reduce the side-effects of one test to the others.
Revision 1.889 / (download) - annotate - [select for diffs], Fri Aug 14 00:53:16 2020 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.888: +2 -1
lines
Diff to previous 1.888 (colored)
New system call getrandom() compatible with Linux and others. Three ways to call: getrandom(p, n, 0) Blocks at boot until full entropy. Returns up to n bytes at p; guarantees up to 256 bytes even if interrupted after blocking. getrandom(0,0,0) serves as an entropy barrier: return only after system has full entropy. getrandom(p, n, GRND_INSECURE) Never blocks. Guarantees up to 256 bytes even if interrupted. Equivalent to /dev/urandom. Safe only after successful getrandom(...,0), getrandom(...,GRND_RANDOM), or read from /dev/random. getrandom(p, n, GRND_RANDOM) May block at any time. Returns up to n bytes at p, but no guarantees about how many -- may return as short as 1 byte. Equivalent to /dev/random. Legacy. Provided only for source compatibility with Linux. Can also use flags|GRND_NONBLOCK to fail with EWOULDBLOCK/EAGAIN without producing any output instead of blocking. - The combination GRND_INSECURE|GRND_NONBLOCK is the same as GRND_INSECURE, since GRND_INSECURE never blocks anyway. - The combinations GRND_INSECURE|GRND_RANDOM and GRND_INSECURE|GRND_RANDOM|GRND_NONBLOCK are nonsensical and fail with EINVAL. As proposed on tech-userlevel, tech-crypto, tech-security, and tech-kern, and subsequently adopted by core (minus the getentropy part of the proposal, because other operating systems and participants in the discussion couldn't come to an agreement about getentropy and blocking semantics): https://mail-index.netbsd.org/tech-userlevel/2020/05/02/msg012333.html
Revision 1.888 / (download) - annotate - [select for diffs], Sun Aug 9 16:32:28 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.887: +3 -1
lines
Diff to previous 1.887 (colored)
make(1): add test for .USE combined with inference rule without commands Discovered by christos.
Revision 1.887 / (download) - annotate - [select for diffs], Sun Aug 9 12:59:16 2020 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.886: +3 -1
lines
Diff to previous 1.886 (colored)
make(1): add test for non-obvious .MAKE.EXPORTED edge case
Revision 1.886 / (download) - annotate - [select for diffs], Fri Aug 7 19:24:27 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.885: +3 -1
lines
Diff to previous 1.885 (colored)
make(1): add test for exporting variables
Revision 1.885 / (download) - annotate - [select for diffs], Thu Aug 6 05:36:32 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.884: +3 -1
lines
Diff to previous 1.884 (colored)
make(1): add test for unintended "recursive variable" in -dL mode
Revision 1.884 / (download) - annotate - [select for diffs], Mon Aug 3 15:43:31 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.883: +3 -1
lines
Diff to previous 1.883 (colored)
make(1): in lint mode, disallow dynamic variable names in :@ modifier This is an extremely obscure feature that hopefully nobody ever considered using.
Revision 1.883 / (download) - annotate - [select for diffs], Sun Aug 2 14:53:01 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.882: +3 -1
lines
Diff to previous 1.882 (colored)
make(1): add test for nested VAR_SUBST assignments
Revision 1.882 / (download) - annotate - [select for diffs], Fri Jul 31 16:42:51 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.881: +3 -1
lines
Diff to previous 1.881 (colored)
make(1): add test for braces in dependency lines The comment at DirExpandCurly says something about "recursively", but the nested braces don't work. The manual page only mentions that "{} may be used", but it keeps quiet about the exact meaning and also doesn't mention any nesting.
Revision 1.881 / (download) - annotate - [select for diffs], Tue Jul 28 22:44:44 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.880: +3 -1
lines
Diff to previous 1.880 (colored)
make(1): add test for setting .OBJDIR via the command line
Revision 1.880 / (download) - annotate - [select for diffs], Mon Jul 27 20:46:18 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.879: +3 -1
lines
Diff to previous 1.879 (colored)
make(1): add tests for parsing directives like .if and .info
Revision 1.879 / (download) - annotate - [select for diffs], Mon Jul 27 18:51:03 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.878: +3 -1
lines
Diff to previous 1.878 (colored)
make(1): add very basic test for archive handling The whole code in arch.c had been uncovered by tests before. The code coverage shows that neither the archive name nor the member contain any $, even though archive.mk looks like it. It could be necessary to place the variable assignments below the dependency line, to force late evaluation.
Revision 1.878 / (download) - annotate - [select for diffs], Sun Jul 26 22:15:36 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.877: +3 -1
lines
Diff to previous 1.877 (colored)
make(1): add test for off-by-one error in Var_Parse
Revision 1.877 / (download) - annotate - [select for diffs], Sun Jul 26 14:22:22 2020 UTC (2 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.876: +2 -1
lines
Diff to previous 1.876 (colored)
Another /usr/libdata/usr/tests/sys/crypto/chacha set list entry. (Why do we need this here _and_ in debug/mi?)
Revision 1.876 / (download) - annotate - [select for diffs], Sat Jul 25 22:53:38 2020 UTC (2 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.875: +5 -1
lines
Diff to previous 1.875 (colored)
Add kernel ChaCha test to exercise all available implementations.
Revision 1.875 / (download) - annotate - [select for diffs], Sat Jul 25 21:23:09 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.874: +7 -1
lines
Diff to previous 1.874 (colored)
make(1): add newly added unit tests
Revision 1.874 / (download) - annotate - [select for diffs], Fri Jul 17 15:34:17 2020 UTC (2 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.873: +3 -1
lines
Diff to previous 1.873 (colored)
Add ppoll() a compatibility wrapper around pollts(2) Submitted by Apurva Nandan.
Revision 1.873 / (download) - annotate - [select for diffs], Mon Jul 6 18:47:02 2020 UTC (2 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.872: +2 -1
lines
Diff to previous 1.872 (colored)
new mapped test.
Revision 1.872 / (download) - annotate - [select for diffs], Fri Jul 3 04:25:28 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.871: +5 -1
lines
Diff to previous 1.871 (colored)
Add a check for PR bin/54692.
Revision 1.871 / (download) - annotate - [select for diffs], Fri Jul 3 03:59:18 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.870: +5 -1
lines
Diff to previous 1.870 (colored)
Add a check for the overflow noted in PR lib/46542.
Revision 1.870 / (download) - annotate - [select for diffs], Wed Jul 1 13:49:26 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.869: +2 -1
lines
Diff to previous 1.869 (colored)
Add basic checks for magic symlink(7)'s. These include a case for PR lib/55361, although it seems that realpath(3) has bigger problems with these symlinks.
Revision 1.869 / (download) - annotate - [select for diffs], Wed Jul 1 07:16:38 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.868: +2 -1
lines
Diff to previous 1.868 (colored)
Add basic checks for a64l(3), l64a(3), and l64a_r(3).
Revision 1.868 / (download) - annotate - [select for diffs], Tue Jun 30 23:51:47 2020 UTC (2 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.867: +11 -1
lines
Diff to previous 1.867 (colored)
fix sets for MKKYUA
Revision 1.867 / (download) - annotate - [select for diffs], Tue Jun 30 20:32:10 2020 UTC (2 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.866: +10 -1
lines
Diff to previous 1.866 (colored)
New test sys/crypto/aes/t_aes. Runs aes_selftest on all kernel AES implementations supported on the current hardware, not just the preferred one.
Revision 1.866 / (download) - annotate - [select for diffs], Tue Jun 30 16:09:40 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.865: +2 -2
lines
Diff to previous 1.865 (colored)
After a comedy of errors, move t_mbtowc to its final resting place.
Revision 1.865 / (download) - annotate - [select for diffs], Tue Jun 30 14:30:49 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.864: +9 -1
lines
Diff to previous 1.864 (colored)
Check that DTrace's execsnoop and opensnoop work (cf. PR kern/53417).
Revision 1.864 / (download) - annotate - [select for diffs], Tue Jun 30 11:48:20 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.863: +3 -1
lines
Diff to previous 1.863 (colored)
Add a couple of tests for sequential ifconfig(8) options, incl. PR kern/41912.
Revision 1.863 / (download) - annotate - [select for diffs], Mon Jun 29 23:44:01 2020 UTC (2 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.862: +2 -1
lines
Diff to previous 1.862 (colored)
New cgd cipher adiantum. Adiantum is a wide-block cipher, built out of AES, XChaCha12, Poly1305, and NH, defined in Paul Crowley and Eric Biggers, `Adiantum: length-preserving encryption for entry-level processors', IACR Transactions on Symmetric Cryptology 2018(4), pp. 39--61. Adiantum provides better security than a narrow-block cipher with CBC or XTS, because every bit of each sector affects every other bit, whereas with CBC each block of plaintext only affects the following blocks of ciphertext in the disk sector, and with XTS each block of plaintext only affects its own block of ciphertext and nothing else. Adiantum generally provides much better performance than constant-time AES-CBC or AES-XTS software do without hardware support, and performance comparable to or better than the variable-time (i.e., leaky) AES-CBC and AES-XTS software we had before. (Note: Adiantum also uses AES as a subroutine, but only once per disk sector. It takes only a small fraction of the time spent by Adiantum, so there's relatively little performance impact to using constant-time AES software over using variable-time AES software for it.) Adiantum naturally scales to essentially arbitrary disk sector sizes; sizes >=1024-bytes take the most advantage of Adiantum's design for performance, so 4096-byte sectors would be a natural choice if we taught cgd to change the disk sector size. (However, it's a different cipher for each disk sector size, so it _must_ be a cgd parameter.) The paper presents a similar construction HPolyC. The salient difference is that HPolyC uses Poly1305 directly, whereas Adiantum uses Poly1395(NH(...)). NH is annoying because it requires a 1072-byte key, which means the test vectors are ginormous, and changing keys is costly; HPolyC avoids these shortcomings by using Poly1305 directly, but HPolyC is measurably slower, costing about 1.5x what Adiantum costs on 4096-byte sectors. For the purposes of cgd, we will reuse each key for many messages, and there will be very few keys in total (one per cgd volume) so -- except for the annoying verbosity of test vectors -- the tradeoff weighs in the favour of Adiantum, especially if we teach cgd to do >>512-byte sectors. For now, everything that Adiantum needs beyond what's already in the kernel is gathered into a single file, including NH, Poly1305, and XChaCha12. We can split those out -- and reuse them, and provide MD tuned implementations, and so on -- as needed; this is just a first pass to get Adiantum implemented for experimentation.
Revision 1.862 / (download) - annotate - [select for diffs], Sun Jun 28 09:42:40 2020 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.861: +3 -1
lines
Diff to previous 1.861 (colored)
make(1): demonstrate bug when evaluating conditions
Revision 1.861 / (download) - annotate - [select for diffs], Sat Jun 27 13:53:43 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.860: +2 -1
lines
Diff to previous 1.860 (colored)
Add also a test that writes random garbage to every ifconfig(8) option that takes parameters. Based on quick testing, iwn(4) and wm(4) pass, but urtwn(4) panics. Use at your own risk; in some cases, it may be possible that horrors are written directly to the hardware.
Revision 1.860 / (download) - annotate - [select for diffs], Sat Jun 27 10:15:50 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.859: +2 -1
lines
Diff to previous 1.859 (colored)
Add t_t_mbtowc.
Revision 1.859 / (download) - annotate - [select for diffs], Sat Jun 27 09:45:57 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.858: +3 -2
lines
Diff to previous 1.858 (colored)
Move the test for mktemp(3) to the right place.
Revision 1.858 / (download) - annotate - [select for diffs], Sat Jun 27 08:50:46 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.857: +2 -1
lines
Diff to previous 1.857 (colored)
Add a simple test case that writes random garbage to (almost) every sysctl node. This test reproduced already at least five unique panics in a few quick runs. The test is skipped by default as it is not likely safe even without the panics.
Revision 1.857 / (download) - annotate - [select for diffs], Sat Jun 27 06:57:44 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.856: +2 -1
lines
Diff to previous 1.856 (colored)
Add a basic test for enabling/disabling network interface capabilities.
Revision 1.856 / (download) - annotate - [select for diffs], Sat Jun 27 05:20:34 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.855: +5 -1
lines
Diff to previous 1.855 (colored)
Add a test case for PR kern/53767.
Revision 1.855 / (download) - annotate - [select for diffs], Sat Jun 27 05:07:07 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.854: +2 -1
lines
Diff to previous 1.854 (colored)
Add test cases for different 802.11 options. These include cases for PR kern/35045, PR kern/45745, and PR kern/55424.
Revision 1.854 / (download) - annotate - [select for diffs], Thu Jun 25 18:30:42 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.853: +2 -1
lines
Diff to previous 1.853 (colored)
Test creating thousands of bridge(4)'s. Unlike with tap(4) (PR kern/55417), this test succeeeds. It is even possible to have the ultimate ifconfig(8) output with more than 65,000 devices.
Revision 1.853 / (download) - annotate - [select for diffs], Thu Jun 25 17:08:33 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.852: +5 -1
lines
Diff to previous 1.852 (colored)
Verify that PR kern/52150 is no longer present.
Revision 1.852 / (download) - annotate - [select for diffs], Thu Jun 25 16:16:49 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.851: +2 -1
lines
Diff to previous 1.851 (colored)
Add a test case for PR kern/52744, which no longer appears to be present.
Revision 1.851 / (download) - annotate - [select for diffs], Thu Jun 25 15:41:40 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.850: +2 -1
lines
Diff to previous 1.850 (colored)
Add a test case for kern/52771.
Revision 1.850 / (download) - annotate - [select for diffs], Thu Jun 25 15:01:35 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.849: +5 -1
lines
Diff to previous 1.849 (colored)
Add a test case for PR kern/53410.
Revision 1.849 / (download) - annotate - [select for diffs], Thu Jun 25 14:24:45 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.848: +2 -1
lines
Diff to previous 1.848 (colored)
Add test cases for PR kern/53546 and PR kern/55417. Both are skipped as both reproduce panics.
Revision 1.848 / (download) - annotate - [select for diffs], Wed Jun 24 10:05:07 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.847: +5 -1
lines
Diff to previous 1.847 (colored)
Check that fstat(1) works (cf. PR kern/55407).
Revision 1.847 / (download) - annotate - [select for diffs], Wed Jun 24 09:47:17 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.846: +11 -1
lines
Diff to previous 1.846 (colored)
Add a few checks for stdethers(8) and stdhosts(8).
Revision 1.846 / (download) - annotate - [select for diffs], Wed Jun 24 09:32:41 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.845: +5 -1
lines
Diff to previous 1.845 (colored)
Add few basic tests for cpuctl(8). These cover PR kern/45117 and PR bin/54220. Though, the former is not explicitly tested as it hangs the system.
Revision 1.845 / (download) - annotate - [select for diffs], Wed Jun 24 09:21:43 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.844: +5 -1
lines
Diff to previous 1.844 (colored)
Add a test case for bin/54620.
Revision 1.844 / (download) - annotate - [select for diffs], Wed Jun 24 09:11:26 2020 UTC (2 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.843: +2 -1
lines
Diff to previous 1.843 (colored)
Add a test case for PR bin/55389.
Revision 1.843 / (download) - annotate - [select for diffs], Fri Jun 12 11:04:44 2020 UTC (2 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.842: +2 -2
lines
Diff to previous 1.842 (colored)
Remove in-kernel handling of Router Advertisements This is much better handled by a user-land tool. Proposed on tech-net here: https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl. Compat is fully provided where it makes sense, but trying to turn on RA handling will obviously throw an error as it no longer exists. Note that if you use IPv6 temporary addresses, this now needs to be turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
Revision 1.842 / (download) - annotate - [select for diffs], Sat Jun 6 21:26:00 2020 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.841: +3 -2
lines
Diff to previous 1.841 (colored)
Improvements to the problib(3) API: ==> Provide a much more complete set of setters and getters for different value types in the prop_array_util(3) and prop_dictionary_util(3) functions. ==> Overhaul the prop_data(3), prop_number(3), and prop_string(3) APIs to be easier to use and less awkwardly named, Deprecate the old awkward names, and produce link-time warnings when they are referenced. ==> Deprecate mutable prop_data(3) and prop_string(3) objects. The old APIs that support them still exist, but will now produce link-time warnings when used. ==> When the new prop_string(3) API is used, strings are internally de-duplicated as a memory footprint optimization. ==> Provide a rich set of bounds-checked gettter functions in and a corresponding set of convenience setters in the prop_number(3) API. ==> Add a new prop_bool_value(3) function that is equivalent to prop_bool_true(3), but aligned with the new "value" routines in prop_data(3), prop_string(3), and prop_number(3).
Revision 1.841 / (download) - annotate - [select for diffs], Sun May 17 12:36:26 2020 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.840: +5 -1
lines
Diff to previous 1.840 (colored)
usr.bin/make: demonstrate actual behavior of .INCLUDEDFROMFILE
Revision 1.840 / (download) - annotate - [select for diffs], Sun May 10 12:34:01 2020 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.839: +3 -1
lines
Diff to previous 1.839 (colored)
usr.bin/make: add tests for surprising dollar removal
Revision 1.839 / (download) - annotate - [select for diffs], Thu Apr 30 11:03:29 2020 UTC (3 years, 1 month ago) by ryo
Branch: MAIN
Changes since 1.838: +2 -1
lines
Diff to previous 1.838 (colored)
Add a test for sigaltstack(2) and SA_ONSTACK
Revision 1.838 / (download) - annotate - [select for diffs], Wed Apr 29 23:15:22 2020 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.837: +3 -1
lines
Diff to previous 1.837 (colored)
usr.bin/make: add test case for lazy conditions
Revision 1.837 / (download) - annotate - [select for diffs], Sun Apr 26 18:53:32 2020 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.836: +3 -1
lines
Diff to previous 1.836 (colored)
Add a NetBSD native futex implementation, mostly written by riastradh@. Map the COMPAT_LINUX futex calls to the native ones.
Revision 1.788.2.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:41:53 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.788.2.2: +4 -0
lines
Diff to previous 1.788.2.2 (colored) to branchpoint 1.788 (colored) next main 1.789 (colored)
Sync with HEAD
Revision 1.836 / (download) - annotate - [select for diffs], Sun Apr 19 13:22:58 2020 UTC (3 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421
Changes since 1.835: +5 -1
lines
Diff to previous 1.835 (colored)
Add tests for USER_LDT.
Revision 1.788.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 07:45:33 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.788.2.1: +419 -2
lines
Diff to previous 1.788.2.1 (colored) to branchpoint 1.788 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.835 / (download) - annotate - [select for diffs], Sat Apr 11 01:51:14 2020 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200411
Changes since 1.834: +2 -1
lines
Diff to previous 1.834 (colored)
Add new t_extattr
Revision 1.834 / (download) - annotate - [select for diffs], Mon Mar 9 02:22:20 2020 UTC (3 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200406
Changes since 1.833: +2 -2
lines
Diff to previous 1.833 (colored)
wrong test name
Revision 1.833 / (download) - annotate - [select for diffs], Sun Mar 8 22:08:46 2020 UTC (3 years, 3 months ago) by mgorny
Branch: MAIN
Changes since 1.832: +6 -1
lines
Diff to previous 1.832 (colored)
Add tests for missing libc catalog entries
Revision 1.832 / (download) - annotate - [select for diffs], Sun Mar 8 17:23:55 2020 UTC (3 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.831: +2 -1
lines
Diff to previous 1.831 (colored)
new test for ifconfig
Revision 1.831 / (download) - annotate - [select for diffs], Fri Mar 6 18:32:35 2020 UTC (3 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.830: +2 -1
lines
Diff to previous 1.830 (colored)
Add new ptrace(2) test file t_ptrace_sigchld - for SIGCHLD handler + ptrace(2). Right now a single test is enabled (raise(SIGKILL)) and marked as failed as it never finishes as the child is never collected before exiting the parent uninterested about its child (SA_NOCLDWAIT).
Revision 1.830 / (download) - annotate - [select for diffs], Tue Feb 11 07:03:16 2020 UTC (3 years, 3 months ago) by isaki
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp
Changes since 1.829: +3 -1
lines
Diff to previous 1.829 (colored)
Add ATF tests for audio(4). 91 passed test cases 0 failed test cases. 0 expected failed test cases. 62 skipped test cases. There are many skipped tests, because the test itself supports full- duplex, half-duplex and uni-directional devices but pad(4) used in ATF tests is uni-directional device.
Revision 1.829 / (download) - annotate - [select for diffs], Tue Feb 11 03:15:10 2020 UTC (3 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.828: +3 -1
lines
Diff to previous 1.828 (colored)
Test that fpu state is preserved by fork.
Revision 1.828 / (download) - annotate - [select for diffs], Sat Jan 18 17:18:41 2020 UTC (3 years, 4 months ago) by kre
Branch: MAIN
Changes since 1.827: +1 -4
lines
Diff to previous 1.827 (colored)
Move recently added .debug files from tests/mi to debug/mi (with all the others) and while so doing, give them the "debug" attribute. While here, sort.
Revision 1.827 / (download) - annotate - [select for diffs], Fri Jan 17 20:14:39 2020 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.826: +7 -4
lines
Diff to previous 1.826 (colored)
fix names of debug files and missing directories
Revision 1.826 / (download) - annotate - [select for diffs], Fri Jan 17 19:44:12 2020 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.825: +53 -53
lines
Diff to previous 1.825 (colored)
remove trailing ,
Revision 1.825 / (download) - annotate - [select for diffs], Fri Jan 17 16:23:04 2020 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.824: +378 -23
lines
Diff to previous 1.824 (colored)
Add libarchive tests
Revision 1.824 / (download) - annotate - [select for diffs], Tue Dec 3 04:20:45 2019 UTC (3 years, 6 months ago) by hikaru
Branch: MAIN
Changes since 1.823: +2 -1
lines
Diff to previous 1.823 (colored)
Add HMAC-SHA-{256,384,512} test cases.
Revision 1.823 / (download) - annotate - [select for diffs], Sat Nov 30 04:06:22 2019 UTC (3 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.822: +3 -1
lines
Diff to previous 1.822 (colored)
Add the new unit-tests for make(1) to the sets list, fixing the build.
Revision 1.822 / (download) - annotate - [select for diffs], Sat Oct 5 18:06:16 2019 UTC (3 years, 8 months ago) by jhigh
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.821: +5 -1
lines
Diff to previous 1.821 (colored)
adding full scheme comparison to libcrypt:crypt and pwhash tests
Revision 1.821 / (download) - annotate - [select for diffs], Sun Sep 15 16:58:11 2019 UTC (3 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.820: +3 -1
lines
Diff to previous 1.820 (colored)
fexecve(2) related additions.
Revision 1.820 / (download) - annotate - [select for diffs], Sun Sep 15 16:28:09 2019 UTC (3 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.819: +2 -1
lines
Diff to previous 1.819 (colored)
add t_fcntl
Revision 1.818.2.1 / (download) - annotate - [select for diffs], Thu Aug 29 16:45:26 2019 UTC (3 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Changes since 1.818: +40 -1
lines
Diff to previous 1.818 (colored) next main 1.819 (colored)
Pull up following revision(s) (requested by kamil in ticket #120): tests/usr.bin/cc/t_msan_poison.sh: revision 1.1 tests/usr.bin/cc/t_msan_allocated_memory.sh: revision 1.2 tests/usr.bin/cc/t_msan_poison.sh: revision 1.2 tests/usr.bin/c++/t_fuzzer_oom.sh: revision 1.1 tests/usr.bin/cc/t_tsan_signal_errno.sh: revision 1.1 tests/usr.bin/c++/t_fuzzer_simple.sh: revision 1.1 tests/usr.bin/c++/t_fuzzer_oom.sh: revision 1.2 tests/usr.bin/cc/t_tsan_signal_errno.sh: revision 1.2 tests/usr.bin/cc/t_tsan_heap_use_after_free.sh: revision 1.1 tests/usr.bin/c++/t_fuzzer_simple.sh: revision 1.2 tests/usr.bin/cc/t_tsan_heap_use_after_free.sh: revision 1.2 tests/usr.bin/c++/t_tsan_thread_leak.sh: revision 1.1 tests/usr.bin/c++/t_tsan_thread_leak.sh: revision 1.2 tests/usr.bin/cc/t_fuzzer_oom.sh: revision 1.1 distrib/sets/lists/tests/mi: revision 1.819 tests/usr.bin/cc/t_fuzzer_oom.sh: revision 1.2 tests/usr.bin/cc/t_fuzzer_timeout.sh: revision 1.1 tests/usr.bin/cc/t_msan_unpoison.sh: revision 1.1 tests/usr.bin/cc/t_fuzzer_timeout.sh: revision 1.2 tests/usr.bin/cc/t_msan_unpoison.sh: revision 1.2 tests/usr.bin/c++/t_msan_heap.sh: revision 1.1 tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh: revision 1.1 tests/usr.bin/c++/t_msan_heap.sh: revision 1.2 tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh: revision 1.2 tests/usr.bin/cc/Makefile: revision 1.8 tests/usr.bin/c++/t_msan_free.sh: revision 1.1 tests/usr.bin/c++/t_msan_unpoison.sh: revision 1.1 tests/usr.bin/c++/t_msan_free.sh: revision 1.2 tests/usr.bin/c++/t_msan_unpoison.sh: revision 1.2 tests/usr.bin/c++/t_tsan_heap_use_after_free.sh: revision 1.1 tests/usr.bin/cc/t_tsan_lock_order_inversion.sh: revision 1.1 tests/usr.bin/c++/t_tsan_heap_use_after_free.sh: revision 1.2 tests/usr.bin/c++/t_msan_poison.sh: revision 1.1 tests/usr.bin/c++/t_msan_partial_poison.sh: revision 1.1 tests/usr.bin/cc/t_tsan_lock_order_inversion.sh: revision 1.2 tests/usr.bin/c++/t_msan_poison.sh: revision 1.2 tests/usr.bin/c++/t_msan_partial_poison.sh: revision 1.2 tests/usr.bin/c++/t_msan_realloc.sh: revision 1.1 tests/usr.bin/cc/t_msan_shadow.sh: revision 1.1 tests/usr.bin/cc/t_msan_partial_poison.sh: revision 1.1 tests/usr.bin/c++/t_msan_realloc.sh: revision 1.2 tests/usr.bin/c++/t_msan_allocated_memory.sh: revision 1.1 tests/usr.bin/cc/t_msan_shadow.sh: revision 1.2 tests/usr.bin/cc/t_msan_partial_poison.sh: revision 1.2 tests/usr.bin/c++/t_msan_allocated_memory.sh: revision 1.2 tests/usr.bin/cc/t_msan_free.sh: revision 1.1 tests/usr.bin/cc/t_msan_free.sh: revision 1.2 tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh: revision 1.1 tests/usr.bin/c++/t_fuzzer_timeout.sh: revision 1.1 tests/usr.bin/cc/t_msan_heap.sh: revision 1.1 tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh: revision 1.2 tests/usr.bin/c++/t_fuzzer_timeout.sh: revision 1.2 tests/usr.bin/cc/t_tsan_thread_leak.sh: revision 1.1 tests/usr.bin/cc/t_msan_heap.sh: revision 1.2 tests/usr.bin/cc/t_tsan_thread_leak.sh: revision 1.2 tests/usr.bin/cc/t_tsan_data_race.sh: revision 1.1 tests/usr.bin/cc/t_tsan_data_race.sh: revision 1.2 tests/usr.bin/c++/t_tsan_lock_order_inversion.sh: revision 1.1 tests/usr.bin/c++/t_tsan_signal_errno.sh: revision 1.1 tests/usr.bin/c++/t_tsan_lock_order_inversion.sh: revision 1.2 tests/usr.bin/c++/Makefile: revision 1.12 tests/usr.bin/c++/t_tsan_signal_errno.sh: revision 1.2 tests/usr.bin/cc/t_msan_check_mem.sh: revision 1.1 tests/usr.bin/cc/t_msan_check_mem.sh: revision 1.2 tests/usr.bin/cc/t_msan_realloc.sh: revision 1.1 tests/usr.bin/c++/t_tsan_vptr_race.sh: revision 1.1 tests/usr.bin/cc/t_msan_realloc.sh: revision 1.2 tests/usr.bin/c++/t_tsan_vptr_race.sh: revision 1.2 tests/usr.bin/c++/t_msan_shadow.sh: revision 1.1 tests/usr.bin/c++/t_msan_shadow.sh: revision 1.2 tests/usr.bin/c++/t_msan_stack.sh: revision 1.1 tests/usr.bin/c++/t_tsan_data_race.sh: revision 1.1 tests/usr.bin/c++/t_msan_stack.sh: revision 1.2 tests/usr.bin/cc/t_fuzzer_simple.sh: revision 1.1 tests/usr.bin/c++/t_tsan_data_race.sh: revision 1.2 tests/usr.bin/cc/t_fuzzer_simple.sh: revision 1.2 tests/usr.bin/c++/t_msan_check_mem.sh: revision 1.1 tests/usr.bin/cc/t_msan_stack.sh: revision 1.1 tests/usr.bin/c++/t_msan_check_mem.sh: revision 1.2 tests/usr.bin/cc/t_msan_stack.sh: revision 1.2 tests/usr.bin/cc/t_msan_allocated_memory.sh: revision 1.1 Add ATF c and c++ tests for TSan, MSan, libFuzzer These tests require Clang/LLVM 7 or newer on NetBSD. Contributed by Yang Zheng during GSoC 2018. - Define target_not_supported_body() in TSan, MSan and libFuzzer tests
Revision 1.819 / (download) - annotate - [select for diffs], Sun Aug 18 20:15:59 2019 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.818: +40 -1
lines
Diff to previous 1.818 (colored)
Add ATF c and c++ tests for TSan, MSan, libFuzzer These tests require Clang/LLVM 7 or newer on NetBSD. Contributed by Yang Zheng during GSoC 2018.
Revision 1.818 / (download) - annotate - [select for diffs], Sun Jul 28 13:49:23 2019 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.817: +2 -1
lines
Diff to previous 1.817 (colored)
add new wcsrtombs test
Revision 1.817 / (download) - annotate - [select for diffs], Thu Jun 20 12:14:46 2019 UTC (3 years, 11 months ago) by isaki
Branch: MAIN
Changes since 1.816: +2 -2
lines
Diff to previous 1.816 (colored)
Rewrite t_pad test. Previous version compared the pad's output binary passed mulaw-slinear conversion and frequency conversion with the prepared "good result". In such case, a test may fail when the implemantation changes. In fact, the frequency conversion algorithm was changed in isaki-audio2, so output waveforms is not completely the same (but that's no problem with the audio waveforms). New version uses slinear_le/2ch/44100Hz input data and compares the output binary with the input data. pad with no conversions should output the same binary. Fix PR kern/54187.
Revision 1.788.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:42:31 2019 UTC (3 years, 11 months ago) by christos
Branch: phil-wifi
Changes since 1.788: +250 -15
lines
Diff to previous 1.788 (colored)
Sync with HEAD
Revision 1.816 / (download) - annotate - [select for diffs], Fri Jun 7 21:32:34 2019 UTC (4 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.815: +2 -1
lines
Diff to previous 1.815 (colored)
new origin test
Revision 1.815 / (download) - annotate - [select for diffs], Sat Jun 1 19:49:02 2019 UTC (4 years ago) by kamil
Branch: MAIN
Changes since 1.814: +2 -1
lines
Diff to previous 1.814 (colored)
Add ATF KERN_PROC_CWD tests
Revision 1.814 / (download) - annotate - [select for diffs], Sun May 26 21:04:56 2019 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.813: +5 -6
lines
Diff to previous 1.813 (colored)
sort.
Revision 1.813 / (download) - annotate - [select for diffs], Sun May 26 20:01:07 2019 UTC (4 years ago) by hannken
Branch: MAIN
Changes since 1.812: +127 -1
lines
Diff to previous 1.812 (colored)
Add entries for the recent tests/lib/libcurses commit.
Revision 1.812 / (download) - annotate - [select for diffs], Fri Apr 26 08:52:16 2019 UTC (4 years, 1 month ago) by maya
Branch: MAIN
Changes since 1.811: +2 -1
lines
Diff to previous 1.811 (colored)
Add a test case for signbit. (paranoia prior to a libm change)
Revision 1.811 / (download) - annotate - [select for diffs], Wed Apr 24 11:43:20 2019 UTC (4 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.810: +6 -1
lines
Diff to previous 1.810 (colored)
Add a complete C11 threads(3) implementation C11 Thread support library is a portable threading C API between OSs, similar to std::threads in the C++ world. The library is implemented as a thin shim over POSIX interfaces. NetBSD implements the API as a part of the POSIX threading library (libpthread(3)). C11 threads(3) are in the process of making them an integral part of the POSIX standard. The interface has been implemented in major OSs and used with stopgap libraries for older versions of them. C11 threading library is already used (with a stopgap implementation) in the NetBSD distribution in MESA. Original implementation by myself from 2016. ATF tests are new and cover almost all interfaces. Proposed on tech-userlevel@.
Revision 1.810 / (download) - annotate - [select for diffs], Thu Apr 4 15:22:13 2019 UTC (4 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.809: +49 -1
lines
Diff to previous 1.809 (colored)
Upgrade indent(1) Merge all the changes from the recent FreeBSD HEAD snapshot into our local copy. FreeBSD actively maintains this program in their sources and their repository contains over 100 commits with changes. Keep the delta between the FreeBSD and NetBSD versions to absolute minimum, mostly RCS Id and compatiblity fixes. Major chages in this import: - Added an option -ldi<N> to control indentation of local variable names. - Added option -P for loading user-provided files as profiles - Added -tsn for setting tabsize - Rename -nsac/-sac ("space after cast") to -ncs/-cs - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines. - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1) - Group global option variables into an options structure - Use bsearch() for looking up type keywords. - Don't produce unneeded space character in function declarators - Don't unnecessarily add a blank before a comment ends. - Don't ignore newlines after comments that follow braces. Merge the FreeBSD intend(1) tests with our ATF framework. All tests pass. Upgrade prepared by Manikishan Ghantasala. Final polishing by myself.
Revision 1.809 / (download) - annotate - [select for diffs], Tue Feb 26 10:01:40 2019 UTC (4 years, 3 months ago) by isaki
Branch: MAIN
Changes since 1.808: +9 -1
lines
Diff to previous 1.808 (colored)
Add ATF tests for __sync_* functions instead of all_sync_ops_linkable.c
Revision 1.808 / (download) - annotate - [select for diffs], Mon Feb 18 00:42:55 2019 UTC (4 years, 3 months ago) by rin
Branch: MAIN
Changes since 1.807: +2 -1
lines
Diff to previous 1.807 (colored)
Belatedly add debugging symbols for t_atomic_*.
Revision 1.807 / (download) - annotate - [select for diffs], Sun Feb 17 12:24:17 2019 UTC (4 years, 3 months ago) by isaki
Branch: MAIN
Changes since 1.806: +10 -1
lines
Diff to previous 1.806 (colored)
Add ATF tests for atomic_ops(3).
Revision 1.806 / (download) - annotate - [select for diffs], Sat Feb 9 00:14:43 2019 UTC (4 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.805: +2 -1
lines
Diff to previous 1.805 (colored)
add new t_libgomp test.
Revision 1.805 / (download) - annotate - [select for diffs], Sun Feb 3 03:20:23 2019 UTC (4 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.804: +2 -1
lines
Diff to previous 1.804 (colored)
Implement support for "pshared" POSIX semaphores. Fixes lib/53273 (and Firefox's multi-process tab feature).
Revision 1.775.2.12 / (download) - annotate - [select for diffs], Sat Jan 26 21:58:13 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.775.2.11: +1 -2
lines
Diff to previous 1.775.2.11 (colored) to branchpoint 1.775 (colored) next main 1.776 (colored)
Sync with HEAD
Revision 1.804 / (download) - annotate - [select for diffs], Fri Jan 25 18:33:58 2019 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.803: +1 -2
lines
Diff to previous 1.803 (colored)
PR/53908: Alex Raschi: Test that require modules belong in modules; move the threadpool test from kernel to modules.
Revision 1.775.2.11 / (download) - annotate - [select for diffs], Fri Jan 18 08:48:32 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.10: +3 -1
lines
Diff to previous 1.775.2.10 (colored) to branchpoint 1.775 (colored)
Synch with HEAD
Revision 1.803 / (download) - annotate - [select for diffs], Thu Jan 17 02:49:11 2019 UTC (4 years, 4 months ago) by knakahara
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.802: +2 -1
lines
Diff to previous 1.802 (colored)
Add ATF for ipsecif(4) pfil.
Revision 1.802 / (download) - annotate - [select for diffs], Thu Dec 27 19:35:31 2018 UTC (4 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.801: +2 -1
lines
Diff to previous 1.801 (colored)
initfini_array test
Revision 1.775.2.10 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:12 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.9: +9 -1
lines
Diff to previous 1.775.2.9 (colored) to branchpoint 1.775 (colored)
Sync with HEAD, resolve a few conflicts
Revision 1.801 / (download) - annotate - [select for diffs], Tue Dec 25 03:54:44 2018 UTC (4 years, 5 months ago) by knakahara
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.800: +2 -1
lines
Diff to previous 1.800 (colored)
Add ATF for NAT-T enabled ipsecif(4).
Revision 1.800 / (download) - annotate - [select for diffs], Mon Dec 24 21:42:05 2018 UTC (4 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.799: +2 -1
lines
Diff to previous 1.799 (colored)
Add rump-based test cases for threadpool(9).
Revision 1.799 / (download) - annotate - [select for diffs], Mon Dec 24 16:58:54 2018 UTC (4 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.798: +2 -1
lines
Diff to previous 1.798 (colored)
Add threadpool(9), an abstraction that provides shared pools of kernel threads running at specific priorities, with support for unbound pools and per-cpu pools. Written by riastradh@, and based on the May 2014 draft, with a few changes by me: - Working on the assumption that a relative few priorities will actually be used, reduce the memory footprint by using linked lists, rather than 2 large (and mostly empty) tables. The performance impact is essentially nil, since these lists are consulted only when pools are created (and destroyed, for DIAGNOSTIC checks), and the lists will have at most 225 entries. - Make threadpool job object, which the caller must allocate storage for, really opaque. - Use typedefs for the threadpool types, to reduce the verbosity of the API somewhat. - Fix a bunch of pool / worker thread / job object lifecycle bugs. Also include an ATF unit test, written by me, that exercises the basics of the API by loading a kernel module that exposes several sysctls that allow the ATF test script to create and destroy threadpools, schedule a basic job, and verify that it ran. And thus NetBSD 8.99.29 has arrived.
Revision 1.798 / (download) - annotate - [select for diffs], Sun Dec 23 21:27:45 2018 UTC (4 years, 5 months ago) by jakllsch
Branch: MAIN
Changes since 1.797: +4 -1
lines
Diff to previous 1.797 (colored)
Make the /usr/tests/lib/libnvmm directory and testing framework files MI. Should fix non-amd64 build.
Revision 1.797 / (download) - annotate - [select for diffs], Sun Dec 23 16:40:15 2018 UTC (4 years, 5 months ago) by jakllsch
Branch: MAIN
Changes since 1.796: +2 -1
lines
Diff to previous 1.796 (colored)
further build fixes
Revision 1.796 / (download) - annotate - [select for diffs], Wed Dec 5 02:45:05 2018 UTC (4 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.795: +2 -1
lines
Diff to previous 1.795 (colored)
Add a new test program to test the "intermediate" shell built in utilities. That is, not the low level ones that look like syntax, but aren't: break/continue/return; not those which are really just external programs that are built in for efficiency (printf, test, and kill - though kill really needs to be built in) - those should all have separate test programs (there is a test here for the built-in echo, as that is an entirely different thing to /bin/echo); and also not those for which there are other tests because of the nature of the built-in (like exit, wait, shift, ...). Lastly not "times" either as that just seems to be too hard to test rationally. There is a test (well, framework) for ulimit and there's also t_ulimit.sh one of those should go, but I am not yet sure which is the best way to reconcile things. Note: many (in fact) most of the test cases added here are either entirely empty (no tests at all, beyond testing that the built-in is in fact a shell built-in) or only very rudimentary tests - assistance in fleshing those out would be welcome (the boilerplate is all here, all that is needed is some actual tests to run...)
Revision 1.775.2.9 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:05 2018 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.8: +17 -7
lines
Diff to previous 1.775.2.8 (colored) to branchpoint 1.775 (colored)
Ssync with HEAD
Revision 1.795 / (download) - annotate - [select for diffs], Sun Sep 23 13:36:04 2018 UTC (4 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930
Changes since 1.794: +17 -7
lines
Diff to previous 1.794 (colored)
merge openssl-1.1.1
Revision 1.775.2.8 / (download) - annotate - [select for diffs], Thu Sep 6 06:51:43 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.7: +23 -9
lines
Diff to previous 1.775.2.7 (colored) to branchpoint 1.775 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.794 / (download) - annotate - [select for diffs], Wed Sep 5 21:05:40 2018 UTC (4 years, 9 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.793: +6 -1
lines
Diff to previous 1.793 (colored)
Add ATF tests for printf(1) Two new test programs, one for the version of printf in /bin/sh and one for the command /usr/bin/printf (t_builtin and t_command) Each test program has 28 test cases (the same in each) of which currently 27 pass, and 1 is skipped. See the test scripts themselves for more information.
Revision 1.793 / (download) - annotate - [select for diffs], Tue Aug 21 11:07:40 2018 UTC (4 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.792: +11 -9
lines
Diff to previous 1.792 (colored)
add new tests, sort
Revision 1.792 / (download) - annotate - [select for diffs], Mon Aug 6 07:14:02 2018 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.791: +2 -2
lines
Diff to previous 1.791 (colored)
s/t_ifnametoindex/t_if_nametoindex/
Revision 1.791 / (download) - annotate - [select for diffs], Mon Aug 6 04:50:11 2018 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.790: +2 -1
lines
Diff to previous 1.790 (colored)
Add simple test case for if_nametoindex(3).
Revision 1.790 / (download) - annotate - [select for diffs], Fri Aug 3 04:24:41 2018 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.789: +7 -1
lines
Diff to previous 1.789 (colored)
Register micro-UBSan ATF tests in the distribution Populate distrib files, mtree lists and add the entry in Makefile to include the new code.
Revision 1.775.2.7 / (download) - annotate - [select for diffs], Sat Jul 28 04:33:01 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.6: +2 -1
lines
Diff to previous 1.775.2.6 (colored) to branchpoint 1.775 (colored)
Sync with HEAD
Revision 1.789 / (download) - annotate - [select for diffs], Tue Jul 10 06:49:29 2018 UTC (4 years, 11 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.788: +2 -1
lines
Diff to previous 1.788 (colored)
Add tests for pattern matching (filename expansion (glob), case statement patterns, and variable expansion substring matching) Currently (2018-07-10) all 3 sub-tests fail (sh bugs...) Expect to see 14 (of 261) case matching sub-tests fail, 11 (of 167) filename expansion (glob) sub-tests fail, and 6 (of 87) var substring sub-tests fail. Also expect those numbers to reduce as sh bugs are fixed.
Revision 1.775.2.6 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:10 2018 UTC (4 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.5: +7 -1
lines
Diff to previous 1.775.2.5 (colored) to branchpoint 1.775 (colored)
Sync with HEAD
Revision 1.788 / (download) - annotate - [select for diffs], Wed Jun 20 03:51:27 2018 UTC (4 years, 11 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.787: +2 -1
lines
Diff to previous 1.787 (colored)
Add test case for PR lib/50646. Make sure that cabsl (aka __c99_cabsl) is usable from C++.
Revision 1.787 / (download) - annotate - [select for diffs], Fri Jun 15 09:54:02 2018 UTC (4 years, 11 months ago) by yamaguchi
Branch: MAIN
Changes since 1.786: +2 -1
lines
Diff to previous 1.786 (colored)
Add if_vlan directory to lists to fix the build failure build.sh was failed when using "-V MKDEBUG=yes"
Revision 1.786 / (download) - annotate - [select for diffs], Thu Jun 14 08:22:52 2018 UTC (4 years, 11 months ago) by yamaguchi
Branch: MAIN
Changes since 1.785: +2 -1
lines
Diff to previous 1.785 (colored)
Add test cases for multicast address handling of vlan(4) ok ozaki-r@
Revision 1.752.2.10 / (download) - annotate - [select for diffs], Sat Jun 9 17:59:43 2018 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Changes since 1.752.2.9: +3 -1
lines
Diff to previous 1.752.2.9 (colored) to branchpoint 1.752 (colored) next main 1.753 (colored)
Also pull up r1.784 for ticket #870: add new tests
Revision 1.785 / (download) - annotate - [select for diffs], Fri May 25 15:42:48 2018 UTC (5 years ago) by martin
Branch: MAIN
Changes since 1.784: +2 -1
lines
Diff to previous 1.784 (colored)
Add new test program
Revision 1.784 / (download) - annotate - [select for diffs], Thu May 24 14:54:36 2018 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.783: +3 -1
lines
Diff to previous 1.783 (colored)
add new tests
Revision 1.775.2.5 / (download) - annotate - [select for diffs], Mon May 21 04:35:50 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.4: +13 -1
lines
Diff to previous 1.775.2.4 (colored) to branchpoint 1.775 (colored)
Sync with HEAD
Revision 1.783 / (download) - annotate - [select for diffs], Fri May 18 06:39:59 2018 UTC (5 years ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0521
Changes since 1.782: +3 -1
lines
Diff to previous 1.782 (colored)
Add new ATF tests: t_fork and t_vfork Test behavior of raise(signal) in either fork(2)ed or vfork(2)ed child. Tests: - raise1 SIGKILL - raise2 SIGSTOP - raise3 SIGTSTP - raise4 SIGTTIN - raise5 SIGTTOU - raise6 SIGABRT - raise7 SIGHUP - raise8 SIGCONT t_vfork:raise2 fails ignoring non-maskable SIGSTOP. The remaining ones pass. Sponsored by <The NetBSD Foundation>
Revision 1.782 / (download) - annotate - [select for diffs], Wed May 2 18:46:05 2018 UTC (5 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.781: +11 -1
lines
Diff to previous 1.781 (colored)
Add new ATF Undefined Behavior Sanitizer tests Add new cc and c++ tests to check whether UBSan works. These tests are prepared for GCC (in base) and Clang (with external patches). Enable these tests for all ports by default, just verify whether we are using GCC/Clang or a compatible compiler. Add five equivalent C and C++ tests: - Integer addition overflow - Integer divide by zero - Integer negation overflow - Integer subtraction overflow - VLA out of bounds All tests pass on NetBSD/amd64. Patch submitted by <Harry Pantazis> Minor cleanup by <myself>
Revision 1.775.2.4 / (download) - annotate - [select for diffs], Mon Apr 16 01:57:32 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.3: +3 -1
lines
Diff to previous 1.775.2.3 (colored) to branchpoint 1.775 (colored)
Sync with HEAD, resolve some conflicts
Revision 1.781 / (download) - annotate - [select for diffs], Wed Apr 11 03:25:25 2018 UTC (5 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415
Changes since 1.780: +3 -1
lines
Diff to previous 1.780 (colored)
Import new C and C++ ATF tests for ASan Add new tests: - tests/usr.bin/cc/t_asan_poison.sh - tests/usr.bin/c++/t_asan_poison.sh These tests verify the following build options: - regular - profile - pic - pie - compat32 - (static unsupported) These tests verify whether ASan code can include compiler and sanitizer specific header: <sanitizer/asan_interface.h>. The testing code checks the ASAN_POISON_MEMORY_REGION() functionality, poisoning valid memory and asserting that it triggers expected failure. Patch submitted by <Siddharth Muralee>
Revision 1.775.2.3 / (download) - annotate - [select for diffs], Sat Apr 7 04:11:57 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.2: +14 -4
lines
Diff to previous 1.775.2.2 (colored) to branchpoint 1.775 (colored)
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.780 / (download) - annotate - [select for diffs], Wed Apr 4 23:51:35 2018 UTC (5 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0407
Changes since 1.779: +11 -1
lines
Diff to previous 1.779 (colored)
Add new ATF tests for Address Sanitzier (ASan) Add new C and C++ tests: - t_asan_double_free - t_asan_global_buffer_overflow - t_asan_heap_overflow - t_asan_off_by_one - t_asan_uaf Each tests checks: - regular build - 32-bit - PIC - PIE - profile These tests require paxctl(8) to disable ASLR in order to work in a predictable way. This is especially true for all !regular builds with additional compiler flags. There are no static variations of these tests as this mode is not supported in upstream ASan. Enable these tests on amd64 and i386. Patch submitted by <Siddharth Muralee> Additional polishing by myself.
Revision 1.779 / (download) - annotate - [select for diffs], Wed Apr 4 16:42:48 2018 UTC (5 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.778: +4 -4
lines
Diff to previous 1.778 (colored)
Sort files in usr/tests/usr.bin/c++/ No functional change intended.
Revision 1.775.2.2 / (download) - annotate - [select for diffs], Fri Mar 30 06:20:06 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775.2.1: +4 -1
lines
Diff to previous 1.775.2.1 (colored) to branchpoint 1.775 (colored)
Resolve conflicts between branch and HEAD
Revision 1.778 / (download) - annotate - [select for diffs], Sat Mar 24 00:26:51 2018 UTC (5 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0330
Changes since 1.777: +4 -1
lines
Diff to previous 1.777 (colored)
Add new C++ ATF tests Add new variations for existing C++ tests: - Static - Profile+32-bit - PIC+32-bit - PIC+Profile - PIC+Profile+32-bit All tests pass for NetBSD/amd64: - t_cxxruntime - t_hello - t_static_destructor +--------------------------------------------------------------+ | Options | cxxruntime | hello | static_destructor | +--------------------------------------------------------------+ | None | Passed | Passed | Passed | | 32-bit | Passed | Passed | Passed | | PIC | Passed | Passed | Passed | | PIE | Passed | Passed | Passed | | Profile | Passed | Passed | Passed | | Static | Passed | Passed | Passed | | Profile+32-bit | Passed | Passed | Passed | | PIC+32-bit | Passed | Passed | Passed | | PIC+Profile | Passed | Passed | Passed | | PIC+Profile+32-bit | Passed | Passed | Passed | +--------------------------------------------------------------+ Add new C++11 std::call_once tests: - t_call_once - t_call_once2 Add new C++11 test with pthread_once(3) and C++ lambda: - t_pthread_once All tests with the profile option for std::call_once and pthread_once(3) are marked as expected failure (NetBSD/amd64). Results for *_once*: +------------------------------------------------------------+ | Options | call_once | call_once2 | pthread_once | +------------------------------------------------------------+ | None | Passed | Passed | Passed | | 32-bit | Passed | Passed | Passed | | PIC | Passed | Passed | Passed | | PIE | Passed | Passed | Passed | | Profile | Failed | Failed | Failed | | Static | Passed | Passed | Passed | | Profile+32-bit | Failed | Failed | Failed | | PIC+32-bit | Passed | Passed | Passed | | PIC+Profile | Failed | Failed | Failed | | PIC+Profile+32-bit | Failed | Failed | Failed | +------------------------------------------------------------+ Long term there is an option to refacotr the framework for C and C++ tests, in order to reduce code duplication. Patches sent by Yang Zheng <tomsun.0.7@gmail.com>
Revision 1.775.2.1 / (download) - annotate - [select for diffs], Thu Mar 15 09:11:54 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.775: +4 -1
lines
Diff to previous 1.775 (colored)
Synch with HEAD
Revision 1.777 / (download) - annotate - [select for diffs], Wed Mar 14 02:13:47 2018 UTC (5 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0322,
pgoyette-compat-0315
Changes since 1.776: +2 -1
lines
Diff to previous 1.776 (colored)
Add new ATF tests: kernel/t_zombie New tests attempting to kill, stop, drop or revive a zombie: - signal1 (SIGKILL) - signal2 (SIGSTOP) - signal3 (SIGABRT) - signal4 (SIGHUP) - signal5 (SIGCONT) New test race1 verifying whether there are any kernel races when processing signals to zombies, executing in a loop for 5 seconds. These tests were inspired by a kernel unexpected behavior when a lookup of a dying process could result in two detected entities once as an alive process and once as a zombie. race1 is similar to t_ptrace_wait* race1, however without ptrace(2) involved. Sponsored by <The NetBSD Foundation>
Revision 1.776 / (download) - annotate - [select for diffs], Fri Mar 9 20:20:48 2018 UTC (5 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.775: +3 -1
lines
Diff to previous 1.775 (colored)
Add ifunc support for statically linked applications on x86, ppc, sparc and ARM.
Revision 1.775 / (download) - annotate - [select for diffs], Thu Feb 22 14:24:03 2018 UTC (5 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.774: +3 -2
lines
Diff to previous 1.774 (colored)
PR lib/53044: remove tests not provided by OpenSSL 1.1.x
Revision 1.752.2.9 / (download) - annotate - [select for diffs], Sun Feb 11 21:17:34 2018 UTC (5 years, 3 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-0-RC1
Changes since 1.752.2.8: +5 -1
lines
Diff to previous 1.752.2.8 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by ozaki-r in ticket #536): distrib/sets/lists/base/shl.mi: 1.825 distrib/sets/lists/comp/mi: 1.2168-1.2169 distrib/sets/lists/comp/shl.mi: 1.310 distrib/sets/lists/debug/mi: 1.234 distrib/sets/lists/debug/shl.mi: 1.188 distrib/sets/lists/man/mi: 1.1570 distrib/sets/lists/tests/mi: 1.772 etc/mtree/NetBSD.dist.tests: 1.150 share/man/man4/Makefile: 1.650 share/man/man4/ipsec.4: 1.42-1.43 share/man/man4/ipsecif.4: 1.1-1.5 sys/arch/amd64/conf/ALL: 1.77 sys/arch/amd64/conf/GENERIC: 1.480 sys/conf/files: 1.1191 sys/net/Makefile: 1.34 sys/net/files.net: 1.14 sys/net/if.c: 1.404 sys/net/if.h: 1.248 sys/net/if_gif.c: 1.135 sys/net/if_ipsec.c: 1.1-1.3 sys/net/if_ipsec.h: 1.1 sys/net/if_l2tp.c: 1.16 sys/net/if_types.h: 1.28 sys/netinet/in.c: 1.214 sys/netinet/in.h: 1.103 sys/netinet/in_gif.c: 1.92 sys/netinet/ip_var.h: 1.122 sys/netinet6/in6.c: 1.257 sys/netinet6/in6.h: 1.88 sys/netinet6/in6_gif.c: 1.90 sys/netinet6/ip6_var.h: 1.75 sys/netipsec/Makefile: 1.6 sys/netipsec/files.netipsec: 1.13 sys/netipsec/ipsec.h: 1.62 sys/netipsec/ipsecif.c: 1.1 sys/netipsec/ipsecif.h: 1.1 sys/netipsec/key.c: 1.246-1.247 sys/netipsec/key.h: 1.34 sys/rump/net/Makefile.rumpnetcomp: 1.20 sys/rump/net/lib/libipsec/IPSEC.ioconf: 1.1 sys/rump/net/lib/libipsec/Makefile: 1.1 sys/rump/net/lib/libipsec/ipsec_component.c: 1.1 tests/net/Makefile: 1.34 tests/net/if_ipsec/Makefile: 1.1 tests/net/if_ipsec/t_ipsec.sh: 1.1-1.2 Don't touch an SP without a reference to it unify processing to check nesting count for some tunnel protocols. add ipsec(4) interface, which is used for route-based VPN. man and ATF are added later, please see man for details. reviewed by christos@n.o, joerg@n.o and ozaki-r@n.o, thanks. https://mail-index.netbsd.org/tech-net/2017/12/18/msg006557.html ipsec(4) interface supports rump now. add ipsec(4) interface ATF. add ipsec(4) interface man as ipsecif.4. add ipsec(4) interface to amd64/GENERIC and amd64/ALL configs. apply in{,6}_tunnel_validate() to gif(4). Spell IPsec that way. Simplify macro usage. Sort SEE ALSO. Bump date for previous. Improve wording and macro use. Some parts are not clear to me, so someone with knowledge of ipsecif(4) should improve this some more. Improve ipsecif.4. Default port ipsec(4) NAT-T is tested now. pointed out by wiz@n.o and suggested by ozaki-r@n.o, thanks. Change the prefix of test names to ipsecif_ to distinguish from tests for ipsec(4) New sentence, new line. Remove empty macro. Fix PR kern/52920. Pointed out by David Binderman, thanks. Improve wording, and put a new drawing, from me and Kengo Nakahara. apply a little more #ifdef INET/INET6. fixes !INET6 builds.
Revision 1.774 / (download) - annotate - [select for diffs], Sun Feb 11 16:45:35 2018 UTC (5 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.773: +10 -9
lines
Diff to previous 1.773 (colored)
Add obsolete lines for the gcc-5 and openssl-1.0 lines for systems that have installed gcc-6 and openssl-1.1. Requested by wiz@
Revision 1.773 / (download) - annotate - [select for diffs], Thu Feb 8 03:27:51 2018 UTC (5 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.772: +4 -4
lines
Diff to previous 1.772 (colored)
add openssl to the list of selectable variables for sets and fix the sets.
Revision 1.752.2.8 / (download) - annotate - [select for diffs], Tue Jan 16 13:01:10 2018 UTC (5 years, 4 months ago) by martin
Branch: netbsd-8
Changes since 1.752.2.7: +2 -1
lines
Diff to previous 1.752.2.7 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by ozaki-r in ticket #497): tests/rump/rumpkern/Makefile: revision 1.16 tests/rump/kernspace/Makefile: revision 1.6 tests/rump/kernspace/workqueue.c: revision 1.1 tests/rump/kernspace/workqueue.c: revision 1.2 tests/rump/kernspace/workqueue.c: revision 1.3 tests/rump/kernspace/workqueue.c: revision 1.4 tests/rump/kernspace/workqueue.c: revision 1.5 tests/rump/kernspace/workqueue.c: revision 1.6 tests/rump/rumpkern/t_workqueue.c: revision 1.1 sys/sys/workqueue.h: revision 1.10 tests/rump/rumpkern/t_workqueue.c: revision 1.2 tests/rump/kernspace/kernspace.h: revision 1.5 tests/rump/kernspace/kernspace.h: revision 1.6 sys/net/if_bridge.c: revision 1.147 distrib/sets/lists/debug/mi: revision 1.225 sys/kern/subr_workqueue.c: revision 1.34 share/man/man9/workqueue.9: revision 1.12 sys/net/if_spppsubr.c: revision 1.178 distrib/sets/lists/tests/mi: revision 1.763 Add simple test for workqueue(9) Add declaration. build fix sorry, I forgot to commit this file. Tweak use of cv_timedwait - Handle its return value - Specify more appropriate time-out periods (2 ticks is too short) Fix a race condition on taking the mutex The workqueue worker can take the mutex before the tester tries to take it after calling workqueue_enqueue. If it happens, the worker calls cv_broadcast before the tester calls cv_timedwait and the tester will wait until the cv timed out Take the mutex before calling workqueue_enqueue so that the tester surely calls cv_timedwait before the worker calls cv_broadcast. The fix stabilizes the test, t_workqueue/workqueue1. Add workqueue_wait that waits for a specific work to finish The caller must ensure that no new work is enqueued before calling workqueue_wait. Note that Note that if the workqueue is WQ_PERCPU, the caller can enqueue a new work to another queue other than the waiting queue. Discussed on tech-kern@ Ensure the timer isn't running by using workqueue_wait Functionalize some routines to add new tests easily (NFC) Add a test case for workqueue_wait Fix build
Revision 1.772 / (download) - annotate - [select for diffs], Wed Jan 10 11:06:06 2018 UTC (5 years, 4 months ago) by knakahara
Branch: MAIN
Changes since 1.771: +5 -1
lines
Diff to previous 1.771 (colored)
add ipsec(4) interface ATF.
Revision 1.752.2.7 / (download) - annotate - [select for diffs], Thu Dec 21 21:08:13 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-8
Changes since 1.752.2.6: +2 -1
lines
Diff to previous 1.752.2.6 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by ryo in ticket #445): distrib/sets/lists/debug/mi: revision 1.222 distrib/sets/lists/tests/mi: revision 1.760 share/man/man4/ip.4: revision 1.38 sys/netinet/in.c: revision 1.207 sys/netinet/in.h: revision 1.101 sys/netinet/in_pcb.c: revision 1.179 sys/netinet/in_pcb.h: revision 1.64 sys/netinet/ip_output.c: revision 1.284, 1.286 sys/netinet/ip_var.h: revision 1.120-1.121 sys/netinet/raw_ip.c: revision 1.166-1.167 sys/netinet/udp_usrreq.c: revision 1.235-1.236 sys/netinet/udp_var.h: revision 1.42 tests/net/net/Makefile: revision 1.21 tests/net/net/t_pktinfo_send.c: revision 1.1-1.2 Add support IP_PKTINFO for sendmsg(2). The source address or output interface can be specified by adding IP_PKTINFO to the control part of the message on a SOCK_DGRAM or SOCK_RAW socket. Reviewed by ozaki-r@ and christos@. thanks. -- As is the case with IPV6_PKTINFO, IP_PKTINFO can be sent without EADDRINUSE even if the UDP address:port in use is specified.
Revision 1.771 / (download) - annotate - [select for diffs], Sun Dec 10 15:39:37 2017 UTC (5 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.770: +4 -1
lines
Diff to previous 1.770 (colored)
new tests
Revision 1.770 / (download) - annotate - [select for diffs], Fri Dec 8 01:19:29 2017 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.769: +2 -1
lines
Diff to previous 1.769 (colored)
make _lwp_park return the remaining time to sleep in the "ts" argument if it is a relative timestamp, as discussed in tech-kern. XXX: pullup-8
Revision 1.769 / (download) - annotate - [select for diffs], Thu Dec 7 19:48:12 2017 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.768: +3 -1
lines
Diff to previous 1.768 (colored)
new test for trapsignal
Revision 1.768 / (download) - annotate - [select for diffs], Wed Dec 6 13:55:31 2017 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.767: +2 -1
lines
Diff to previous 1.767 (colored)
add interp test.
Revision 1.767 / (download) - annotate - [select for diffs], Sun Nov 19 21:05:26 2017 UTC (5 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.766: +2 -1
lines
Diff to previous 1.766 (colored)
ATF test program for PR kern/52738: check for mtime updates after rewriting a file.
Revision 1.752.2.6 / (download) - annotate - [select for diffs], Fri Nov 17 20:43:10 2017 UTC (5 years, 6 months ago) by snj
Branch: netbsd-8
Changes since 1.752.2.5: +4 -1
lines
Diff to previous 1.752.2.5 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by ozaki-r in ticket #357): distrib/sets/lists/debug/mi: 1.228 distrib/sets/lists/tests/mi: 1.765-1.766 etc/mtree/NetBSD.dist.tests: 1.149 sys/net/npf/npf_ctl.c: 1.49 tests/net/ipsec/Makefile: 1.10 tests/net/ipsec/algorithms.sh: 1.6 tests/net/ipsec/natt_terminator.c: 1.1 tests/net/ipsec/t_ipsec_natt.sh: 1.1 tests/net/net_common.sh: 1.23-1.24 usr.sbin/npf/npfctl/npfctl.c: 1.54 Handle esp-udp for NAT-T -- Fix npfclt reload on rump kernels It fails because npfctl cannot get an errno when it calls ioctl to the (rump) kernel; npfctl (libnpf) expects that an errno is returned via proplib, however, the rump library of npf doesn't so. It happens because of mishandlings of complicate npf kernel options. PR kern/52643 -- Fix showing translated port (ntohs-ed twice wrongly) -- Add test cases of NAT-T (transport mode) A small C program is added to make a special socket (UDP_ENCAP_ESPINUDP) and keep it to handle UDP-encapsulated ESP packets. -- Add net/ipsec debug lib directory -- Add ./usr/libdata/debug/usr/tests/net/ipsec -- Stop using bpfjit Because most architectures don't support it and npf still works without it.
Revision 1.766 / (download) - annotate - [select for diffs], Wed Nov 1 08:44:34 2017 UTC (5 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.765: +2 -1
lines
Diff to previous 1.765 (colored)
Add ./usr/libdata/debug/usr/tests/net/ipsec
Revision 1.765 / (download) - annotate - [select for diffs], Mon Oct 30 15:59:23 2017 UTC (5 years, 7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.764: +3 -1
lines
Diff to previous 1.764 (colored)
Add test cases of NAT-T (transport mode) A small C program is added to make a special socket (UDP_ENCAP_ESPINUDP) and keep it to handle UDP-encapsulated ESP packets.
Revision 1.752.2.5 / (download) - annotate - [select for diffs], Tue Oct 24 08:55:55 2017 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base,
matt-nb8-mediatek
Changes since 1.752.2.4: +2 -1
lines
Diff to previous 1.752.2.4 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by ozaki-r in ticket #305): distrib/sets/lists/tests/mi: revision 1.762 sys/net/route.c: revision 1.198-1.201 sys/net/route.h: revision 1.114 sys/netatalk/at_proto.c: revision 1.22 sys/netinet/in_proto.c: revision 1.124 sys/netinet6/in6_proto.c: revision 1.118 sys/netmpls/mpls_proto.c: revision 1.31 sys/netnatm/natm_proto.c: revision 1.18 sys/rump/net/lib/libsockin/sockin.c: revision 1.65 sys/sys/domain.h: revision 1.33 tests/net/route/Makefile: revision 1.6 tests/net/route/t_rtcache.sh: revision 1.1 Add tests of rtcache invalidation Remove unnecessary NULL check of rt_ifp It's always non-NULL. Invalidate rtcache based on a global generation counter The change introduces a global generation counter that is incremented when any routes have been added or deleted. When a rtcache caches a rtentry into itself, it also stores a snapshot of the generation counter. If the snapshot equals to the global counter, the cache is still valid, otherwise invalidated. One drawback of the change is that all rtcaches of all protocol families are invalidated when any routes of any protocol families are added or deleted. If that matters, we should have separate generation counters based on protocol families. This change removes LIST_ENTRY from struct route, which fixes a part of PR kern/52515. Remove the global lock for rtcache Thanks to removal of LIST_ENTRY of struct route, rtcaches are accessed only by their users. And in existing usages a rtcache is guranteed to be not accessed simultaneously. So the rtcache framework doesn't need any exclusion controls in itself. Synchronize on rtcache_generation with rtlock It's racy if NET_MPSAFE is enabled. Pointed out by joerg@
Revision 1.752.2.4 / (download) - annotate - [select for diffs], Sat Oct 21 19:43:53 2017 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
Changes since 1.752.2.3: +4 -1
lines
Diff to previous 1.752.2.3 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by ozaki-r in ticket #300): crypto/dist/ipsec-tools/src/setkey/parse.y: 1.19 crypto/dist/ipsec-tools/src/setkey/token.l: 1.20 distrib/sets/lists/tests/mi: 1.754, 1.757, 1.759 doc/TODO.smpnet: 1.12-1.13 sys/net/pfkeyv2.h: 1.32 sys/net/raw_cb.c: 1.23-1.24, 1.28 sys/net/raw_cb.h: 1.28 sys/net/raw_usrreq.c: 1.57-1.58 sys/net/rtsock.c: 1.228-1.229 sys/netinet/in_proto.c: 1.125 sys/netinet/ip_input.c: 1.359-1.361 sys/netinet/tcp_input.c: 1.359-1.360 sys/netinet/tcp_output.c: 1.197 sys/netinet/tcp_var.h: 1.178 sys/netinet6/icmp6.c: 1.213 sys/netinet6/in6_proto.c: 1.119 sys/netinet6/ip6_forward.c: 1.88 sys/netinet6/ip6_input.c: 1.181-1.182 sys/netinet6/ip6_output.c: 1.193 sys/netinet6/ip6protosw.h: 1.26 sys/netipsec/ipsec.c: 1.100-1.122 sys/netipsec/ipsec.h: 1.51-1.61 sys/netipsec/ipsec6.h: 1.18-1.20 sys/netipsec/ipsec_input.c: 1.44-1.51 sys/netipsec/ipsec_netbsd.c: 1.41-1.45 sys/netipsec/ipsec_output.c: 1.49-1.64 sys/netipsec/ipsec_private.h: 1.5 sys/netipsec/key.c: 1.164-1.234 sys/netipsec/key.h: 1.20-1.32 sys/netipsec/key_debug.c: 1.18-1.21 sys/netipsec/key_debug.h: 1.9 sys/netipsec/keydb.h: 1.16-1.20 sys/netipsec/keysock.c: 1.59-1.62 sys/netipsec/keysock.h: 1.10 sys/netipsec/xform.h: 1.9-1.12 sys/netipsec/xform_ah.c: 1.55-1.74 sys/netipsec/xform_esp.c: 1.56-1.72 sys/netipsec/xform_ipcomp.c: 1.39-1.53 sys/netipsec/xform_ipip.c: 1.50-1.54 sys/netipsec/xform_tcp.c: 1.12-1.16 sys/rump/librump/rumpkern/Makefile.rumpkern: 1.170 sys/rump/librump/rumpnet/net_stub.c: 1.27 sys/sys/protosw.h: 1.67-1.68 tests/net/carp/t_basic.sh: 1.7 tests/net/if_gif/t_gif.sh: 1.11 tests/net/if_l2tp/t_l2tp.sh: 1.3 tests/net/ipsec/Makefile: 1.7-1.9 tests/net/ipsec/algorithms.sh: 1.5 tests/net/ipsec/common.sh: 1.4-1.6 tests/net/ipsec/t_ipsec_ah_keys.sh: 1.2 tests/net/ipsec/t_ipsec_esp_keys.sh: 1.2 tests/net/ipsec/t_ipsec_gif.sh: 1.6-1.7 tests/net/ipsec/t_ipsec_l2tp.sh: 1.6-1.7 tests/net/ipsec/t_ipsec_misc.sh: 1.8-1.18 tests/net/ipsec/t_ipsec_sockopt.sh: 1.1-1.2 tests/net/ipsec/t_ipsec_tcp.sh: 1.1-1.2 tests/net/ipsec/t_ipsec_transport.sh: 1.5-1.6 tests/net/ipsec/t_ipsec_tunnel.sh: 1.9 tests/net/ipsec/t_ipsec_tunnel_ipcomp.sh: 1.1-1.2 tests/net/ipsec/t_ipsec_tunnel_odd.sh: 1.3 tests/net/mcast/t_mcast.sh: 1.6 tests/net/net/t_ipaddress.sh: 1.11 tests/net/net_common.sh: 1.20 tests/net/npf/t_npf.sh: 1.3 tests/net/route/t_flags.sh: 1.20 tests/net/route/t_flags6.sh: 1.16 usr.bin/netstat/fast_ipsec.c: 1.22 Do m_pullup before mtod It may fix panicks of some tests on anita/sparc and anita/GuruPlug. --- KNF --- Enable DEBUG for babylon5 --- Apply C99-style struct initialization to xformsw --- Tweak outputs of netstat -s for IPsec - Get rid of "Fast" - Use ipsec and ipsec6 for titles to clarify protocol - Indent outputs of sub protocols Original outputs were organized like this: (Fast) IPsec: IPsec ah: IPsec esp: IPsec ipip: IPsec ipcomp: (Fast) IPsec: IPsec ah: IPsec esp: IPsec ipip: IPsec ipcomp: New outputs are organized like this: ipsec: ah: esp: ipip: ipcomp: ipsec6: ah: esp: ipip: ipcomp: --- Add test cases for IPComp --- Simplify IPSEC_OSTAT macro (NFC) --- KNF; replace leading whitespaces with hard tabs --- Introduce and use SADB_SASTATE_USABLE_P --- KNF --- Add update command for testing Updating an SA (SADB_UPDATE) requires that a process issuing SADB_UPDATE is the same as a process issued SADB_ADD (or SADB_GETSPI). This means that update command must be used with add command in a configuration of setkey. This usage is normally meaningless but useful for testing (and debugging) purposes. --- Add test cases for updating SA/SP The tests require newly-added udpate command of setkey. --- PR/52346: Frank Kardel: Fix checksumming for NAT-T See XXX for improvements. --- Remove codes for PACKET_TAG_IPSEC_IN_CRYPTO_DONE It seems that PACKET_TAG_IPSEC_IN_CRYPTO_DONE is for network adapters that have IPsec accelerators; a driver sets the mtag to a packet when its device has already encrypted the packet. Unfortunately no driver implements such offload features for long years and seems unlikely to implement them soon. (Note that neither FreeBSD nor Linux doesn't have such drivers.) Let's remove related (unused) codes and simplify the IPsec code. --- Fix usages of sadb_msg_errno --- Avoid updating sav directly On SADB_UPDATE a target sav was updated directly, which was unsafe. Instead allocate another sav, copy variables of the old sav to the new one and replace the old one with the new one. --- Simplify; we can assume sav->tdb_xform cannot be NULL while it's valid --- Rename key_alloc* functions (NFC) We shouldn't use the term "alloc" for functions that just look up data and actually don't allocate memory. --- Use explicit_memset to surely zero-clear key_auth and key_enc --- Make sure to clear keys on error paths of key_setsaval --- Add missing KEY_FREESAV --- Make sure a sav is inserted to a sah list after its initialization completes --- Remove unnecessary zero-clearing codes from key_setsaval key_setsaval is now used only for a newly-allocated sav. (It was used to reset variables of an existing sav.) --- Correct wrong assumption of sav->refcnt in key_delsah A sav in a list is basically not to be sav->refcnt == 0. And also KEY_FREESAV assumes sav->refcnt > 0. --- Let key_getsavbyspi take a reference of a returning sav --- Use time_mono_to_wall (NFC) --- Separate sending message routine (NFC) --- Simplify; remove unnecessary zero-clears key_freesaval is used only when a target sav is being destroyed. --- Omit NULL checks for sav->lft_c sav->lft_c can be NULL only when initializing or destroying sav. --- Omit unnecessary NULL checks for sav->sah --- Omit unnecessary check of sav->state key_allocsa_policy picks a sav of either MATURE or DYING so we don't need to check its state again. --- Simplify; omit unnecessary saidx passing - ipsec_nextisr returns a saidx but no caller uses it - key_checkrequest is passed a saidx but it can be gotton by another argument (isr) --- Fix splx isn't called on some error paths --- Fix header size calculation of esp where sav is NULL --- Fix header size calculation of ah in the case sav is NULL This fix was also needed for esp. --- Pass sav directly to opencrypto callback In a callback, use a passed sav as-is by default and look up a sav only if the passed sav is dead. --- Avoid examining freshness of sav on packet processing If a sav list is sorted (by lft_c->sadb_lifetime_addtime) in advance, we don't need to examine each sav and also don't need to delete one on the fly and send up a message. Fortunately every sav lists are sorted as we need. Added key_validate_savlist validates that each sav list is surely sorted (run only if DEBUG because it's not cheap). --- Add test cases for SAs with different SPIs --- Prepare to stop using isr->sav isr is a shared resource and using isr->sav as a temporal storage for each packet processing is racy. And also having a reference from isr to sav makes the lifetime of sav non-deterministic; such a reference is removed when a packet is processed and isr->sav is overwritten by new one. Let's have a sav locally for each packet processing instead of using shared isr->sav. However this change doesn't stop using isr->sav yet because there are some users of isr->sav. isr->sav will be removed after the users find a way to not use isr->sav. --- Fix wrong argument handling --- fix printf format. --- Don't validate sav lists of LARVAL or DEAD states We don't sort the lists so the validation will always fail. Fix PR kern/52405 --- Make sure to sort the list when changing the state by key_sa_chgstate --- Rename key_allocsa_policy to key_lookup_sa_bysaidx --- Separate test files --- Calculate ah_max_authsize on initialization as well as esp_max_ivlen --- Remove m_tag_find(PACKET_TAG_IPSEC_PENDING_TDB) because nobody sets the tag --- Restore a comment removed in previous The comment is valid for the below code. --- Make tests more stable sleep command seems to wait longer than expected on anita so use polling to wait for a state change. --- Add tests that explicitly delete SAs instead of waiting for expirations --- Remove invalid M_AUTHIPDGM check on ESP isr->sav M_AUTHIPDGM flag is set to a mbuf in ah_input_cb. An sav of ESP can have AH authentication as sav->tdb_authalgxform. However, in that case esp_input and esp_input_cb are used to do ESP decryption and AH authentication and M_AUTHIPDGM never be set to a mbuf. So checking M_AUTHIPDGM of a mbuf on isr->sav of ESP is meaningless. --- Look up sav instead of relying on unstable sp->req->sav This code is executed only in an error path so an additional lookup doesn't matter. --- Correct a comment --- Don't release sav if calling crypto_dispatch again --- Remove extra KEY_FREESAV from ipsec_process_done It should be done by the caller. --- Don't bother the case of crp->crp_buf == NULL in callbacks --- Hold a reference to an SP during opencrypto processing An SP has a list of isr (ipsecrequest) that represents a sequence of IPsec encryption/authentication processing. One isr corresponds to one opencrypto processing. The lifetime of an isr follows its SP. We pass an isr to a callback function of opencrypto to continue to a next encryption/authentication processing. However nobody guaranteed that the isr wasn't freed, i.e., its SP wasn't destroyed. In order to avoid such unexpected destruction of isr, hold a reference to its SP during opencrypto processing. --- Don't make SAs expired on tests that delete SAs explicitly --- Fix a debug message --- Dedup error paths (NFC) --- Use pool to allocate tdb_crypto For ESP and AH, we need to allocate an extra variable space in addition to struct tdb_crypto. The fixed size of pool items may be larger than an actual requisite size of a buffer, but still the performance improvement by replacing malloc with pool wins. --- Don't use unstable isr->sav for header size calculations We may need to optimize to not look up sav here for users that don't need to know an exact size of headers (e.g., TCP segmemt size caclulation). --- Don't use sp->req->sav when handling NAT-T ESP fragmentation In order to do this we need to look up a sav however an additional look-up degrades performance. A sav is later looked up in ipsec4_process_packet so delay the fragmentation check until then to avoid an extra look-up. --- Don't use key_lookup_sp that depends on unstable sp->req->sav It provided a fast look-up of SP. We will provide an alternative method in the future (after basic MP-ification finishes). --- Stop setting isr->sav on looking up sav in key_checkrequest --- Remove ipsecrequest#sav --- Stop setting mtag of PACKET_TAG_IPSEC_IN_DONE because there is no users anymore --- Skip ipsec_spi_*_*_preferred_new_timeout when running on qemu Probably due to PR 43997 --- Add localcount to rump kernels --- Remove unused macro --- Fix key_getcomb_setlifetime The fix adjusts a soft limit to be 80% of a corresponding hard limit. I'm not sure the fix is really correct though, at least the original code is wrong. A passed comb is zero-cleared before calling key_getcomb_setlifetime, so comb->sadb_comb_soft_addtime = comb->sadb_comb_soft_addtime * 80 / 100; is meaningless. --- Provide and apply key_sp_refcnt (NFC) It simplifies further changes. --- Fix indentation Pointed out by knakahara@ --- Use pslist(9) for sptree --- Don't acquire global locks for IPsec if NET_MPSAFE Note that the change is just to make testing easy and IPsec isn't MP-safe yet. --- Let PF_KEY socks hold their own lock instead of softnet_lock Operations on SAD and SPD are executed via PF_KEY socks. The operations include deletions of SAs and SPs that will use synchronization mechanisms such as pserialize_perform to wait for references to SAs and SPs to be released. It is known that using such mechanisms with holding softnet_lock causes a dead lock. We should avoid the situation. --- Make IPsec SPD MP-safe We use localcount(9), not psref(9), to make the sptree and secpolicy (SP) entries MP-safe because SPs need to be referenced over opencrypto processing that executes a callback in a different context. SPs on sockets aren't managed by the sptree and can be destroyed in softint. localcount_drain cannot be used in softint so we delay the destruction of such SPs to a thread context. To do so, a list to manage such SPs is added (key_socksplist) and key_timehandler_spd deletes dead SPs in the list. For more details please read the locking notes in key.c. Proposed on tech-kern@ and tech-net@ --- Fix updating ipsec_used - key_update_used wasn't called in key_api_spddelete2 and key_api_spdflush - key_update_used wasn't called if an SP had been added/deleted but a reply to userland failed --- Fix updating ipsec_used; turn on when SPs on sockets are added --- Add missing IPsec policy checks to icmp6_rip6_input icmp6_rip6_input is quite similar to rip6_input and the same checks exist in rip6_input. --- Add test cases for setsockopt(IP_IPSEC_POLICY) --- Don't use KEY_NEWSP for dummy SP entries By the change KEY_NEWSP is now not called from softint anymore and we can use kmem_zalloc with KM_SLEEP for KEY_NEWSP. --- Comment out unused functions --- Add test cases that there are SPs but no relevant SAs --- Don't allow sav->lft_c to be NULL lft_c of an sav that was created by SADB_GETSPI could be NULL. --- Clean up clunky eval strings - Remove unnecessary \ at EOL - This allows to omit ; too - Remove unnecessary quotes for arguments of atf_set - Don't expand $DEBUG in eval - We expect it's expanded on execution Suggested by kre@ --- Remove unnecessary KEY_FREESAV in an error path sav should be freed (unreferenced) by the caller. --- Use pslist(9) for sahtree --- Use pslist(9) for sah->savtree --- Rename local variable newsah to sah It may not be new. --- MP-ify SAD slightly - Introduce key_sa_mtx and use it for some list operations - Use pserialize for some list iterations --- Introduce KEY_SA_UNREF and replace KEY_FREESAV with it where sav will never be actually freed in the future KEY_SA_UNREF is still key_freesav so no functional change for now. This change reduces diff of further changes. --- Remove out-of-date log output Pointed out by riastradh@ --- Use KDASSERT instead of KASSERT for mutex_ownable Because mutex_ownable is too heavy to run in a fast path even for DIAGNOSTIC + LOCKDEBUG. Suggested by riastradh@ --- Assemble global lists and related locks into cache lines (NFCI) Also rename variable names from *tree to *list because they are just lists, not trees. Suggested by riastradh@ --- Move locking notes --- Update the locking notes - Add locking order - Add locking notes for misc lists such as reglist - Mention pserialize, key_sp_ref and key_sp_unref on SP operations Requested by riastradh@ --- Describe constraints of key_sp_ref and key_sp_unref Requested by riastradh@ --- Hold key_sad.lock on SAVLIST_WRITER_INSERT_TAIL --- Add __read_mostly to key_psz Suggested by riastradh@ --- Tweak wording (pserialize critical section => pserialize read section) Suggested by riastradh@ --- Add missing mutex_exit --- Fix setkey -D -P outputs The outputs were tweaked (by me), but I forgot updating libipsec in my local ATF environment... --- MP-ify SAD (key_sad.sahlist and sah entries) localcount(9) is used to protect key_sad.sahlist and sah entries as well as SPD (and will be used for SAD sav). Please read the locking notes of SAD for more details. --- Introduce key_sa_refcnt and replace sav->refcnt with it (NFC) --- Destroy sav only in the loop for DEAD sav --- Fix KASSERT(solocked(sb->sb_so)) failure in sbappendaddr that is called eventually from key_sendup_mbuf If key_sendup_mbuf isn't passed a socket, the assertion fails. Originally in this case sb->sb_so was softnet_lock and callers held softnet_lock so the assertion was magically satisfied. Now sb->sb_so is key_so_mtx and also softnet_lock isn't always held by callers so the assertion can fail. Fix it by holding key_so_mtx if key_sendup_mbuf isn't passed a socket. Reported by knakahara@ Tested by knakahara@ and ozaki-r@ --- Fix locking notes of SAD --- Fix deadlock between key_sendup_mbuf called from key_acquire and localcount_drain If we call key_sendup_mbuf from key_acquire that is called on packet processing, a deadlock can happen like this: - At key_acquire, a reference to an SP (and an SA) is held - key_sendup_mbuf will try to take key_so_mtx - Some other thread may try to localcount_drain to the SP with holding key_so_mtx in say key_api_spdflush - In this case localcount_drain never return because key_sendup_mbuf that has stuck on key_so_mtx never release a reference to the SP Fix the deadlock by deferring key_sendup_mbuf to the timer (key_timehandler). --- Fix that prev isn't cleared on retry --- Limit the number of mbufs queued for deferred key_sendup_mbuf It's easy to be queued hundreds of mbufs on the list under heavy network load. --- MP-ify SAD (savlist) localcount(9) is used to protect savlist of sah. The basic design is similar to MP-ifications of SPD and SAD sahlist. Please read the locking notes of SAD for more details. --- Simplify ipsec_reinject_ipstack (NFC) --- Add per-CPU rtcache to ipsec_reinject_ipstack It reduces route lookups and also reduces rtcache lock contentions when NET_MPSAFE is enabled. --- Use pool_cache(9) instead of pool(9) for tdb_crypto objects The change improves network throughput especially on multi-core systems. --- Update ipsec(4), opencrypto(9) and vlan(4) are now MP-safe. --- Write known issues on scalability --- Share a global dummy SP between PCBs It's never be changed so it can be pre-allocated and shared safely between PCBs. --- Fix race condition on the rawcb list shared by rtsock and keysock keysock now protects itself by its own mutex, which means that the rawcb list is protected by two different mutexes (keysock's one and softnet_lock for rtsock), of course it's useless. Fix the situation by having a discrete rawcb list for each. --- Use a dedicated mutex for rt_rawcb instead of softnet_lock if NET_MPSAFE --- fix localcount leak in sav. fixed by ozaki-r@n.o. I commit on behalf of him. --- remove unnecessary comment. --- Fix deadlock between pserialize_perform and localcount_drain A typical ussage of localcount_drain looks like this: mutex_enter(&mtx); item = remove_from_list(); pserialize_perform(psz); localcount_drain(&item->localcount, &cv, &mtx); mutex_exit(&mtx); This sequence can cause a deadlock which happens for example on the following situation: - Thread A calls localcount_drain which calls xc_broadcast after releasing a specified mutex - Thread B enters the sequence and calls pserialize_perform with holding the mutex while pserialize_perform also calls xc_broadcast - Thread C (xc_thread) that calls an xcall callback of localcount_drain tries to hold the mutex xc_broadcast of thread B doesn't start until xc_broadcast of thread A finishes, which is a feature of xcall(9). This means that pserialize_perform never complete until xc_broadcast of thread A finishes. On the other hand, thread C that is a callee of xc_broadcast of thread A sticks on the mutex. Finally the threads block each other (A blocks B, B blocks C and C blocks A). A possible fix is to serialize executions of the above sequence by another mutex, but adding another mutex makes the code complex, so fix the deadlock by another way; the fix is to release the mutex before pserialize_perform and instead use a condvar to prevent pserialize_perform from being called simultaneously. Note that the deadlock has happened only if NET_MPSAFE is enabled. --- Add missing ifdef NET_MPSAFE --- Take softnet_lock on pr_input properly if NET_MPSAFE Currently softnet_lock is taken unnecessarily in some cases, e.g., icmp_input and encap4_input from ip_input, or not taken even if needed, e.g., udp_input and tcp_input from ipsec4_common_input_cb. Fix them. NFC if NET_MPSAFE is disabled (default). --- - sanitize key debugging so that we don't print extra newlines or unassociated debugging messages. - remove unused functions and make internal ones static - print information in one line per message --- humanize printing of ip addresses --- cast reduction, NFC. --- Fix typo in comment --- Pull out ipsec_fill_saidx_bymbuf (NFC) --- Don't abuse key_checkrequest just for looking up sav It does more than expected for example key_acquire. --- Fix SP is broken on transport mode isr->saidx was modified accidentally in ipsec_nextisr. Reported by christos@ Helped investigations by christos@ and knakahara@ --- Constify isr at many places (NFC) --- Include socketvar.h for softnet_lock --- Fix buffer length for ipsec_logsastr
Revision 1.752.2.3 / (download) - annotate - [select for diffs], Mon Oct 2 13:21:41 2017 UTC (5 years, 8 months ago) by martin
Branch: netbsd-8
Changes since 1.752.2.2: +2 -1
lines
Diff to previous 1.752.2.2 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by pgoyette in ticket #296): tests/include/sys/t_list.c: revision 1.1 tests/include/sys/t_list.c: revision 1.2 tests/include/sys/Makefile: revision 1.13 share/man/man3/queue.3: revision 1.59 distrib/sets/lists/debug/mi: revision 1.226 sys/sys/queue.h: revision 1.71 distrib/sets/lists/tests/mi: revision 1.764 Fix the LIST_MOVE macro to properly update the back-pointer of the first entry in the list. Note that the signature of LIST_MOVE() macro also changes (it grew an additional argument). This should not require a kernel version bump since nothing appears to use LIST_MOVE() other than the recently added atf test. Update for new signature for LIST_MOVE() Add a new minimalistic test for LIST_MOVE to verify that the list's first entry's prev pointer correctly points to the listhead. This test will fail until a fix for LIST_MOVE is checked in (soon). Add new LIST_MOVE test to sets list. Update recently-added test to adapt to new signature of LIST_MOVE() add t_list test.
Revision 1.764 / (download) - annotate - [select for diffs], Mon Oct 2 04:16:32 2017 UTC (5 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.763: +2 -1
lines
Diff to previous 1.763 (colored)
Add new LIST_MOVE test to sets list.
Revision 1.763 / (download) - annotate - [select for diffs], Fri Sep 29 12:42:36 2017 UTC (5 years, 8 months ago) by maya
Branch: MAIN
Changes since 1.762: +2 -1
lines
Diff to previous 1.762 (colored)
Add simple test for workqueue(9)
Revision 1.762 / (download) - annotate - [select for diffs], Wed Sep 20 09:36:20 2017 UTC (5 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.761: +2 -1
lines
Diff to previous 1.761 (colored)
Add tests of rtcache invalidation
Revision 1.752.2.2 / (download) - annotate - [select for diffs], Tue Aug 29 11:51:51 2017 UTC (5 years, 9 months ago) by martin
Branch: netbsd-8
Changes since 1.752.2.1: +2 -1
lines
Diff to previous 1.752.2.1 (colored) to branchpoint 1.752 (colored)
Pull up following revision(s) (requested by joerg in ticket #215): tests/lib/libc/locale/t_strfmon.c: revision 1.1 tests/lib/libc/locale/Makefile: revision 1.12 lib/libc/stdlib/strfmon.c: revision 1.11 distrib/sets/lists/debug/mi: revision 1.224 include/monetary.h: revision 1.3 distrib/sets/lists/tests/mi: revision 1.761 lib/libc/stdlib/strfmon.3: revision 1.6 lib/libc/stdlib/strfmon.3: revision 1.7 Add missing strfmon_l. Noticed by Bruno Haible. Add test case. Typo fix.
Revision 1.752.2.1 / (download) - annotate - [select for diffs], Tue Aug 29 09:43:17 2017 UTC (5 years, 9 months ago) by bouyer
Branch: netbsd-8
Changes since 1.752: +5 -1
lines
Diff to previous 1.752 (colored)
Pull up following revision(s) (requested by joerg in ticket #127): tests/libexec/ld.elf_so/h_thread_local_dtor.c: revision 1.1 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/c++config.h: revision 1.14 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/c++config.h: revision 1.17 lib/libc/stdlib/atexit.h: file removal lib/libc/stdlib/exit.c: revision 1.16 external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/c++config.h: revision 1.8 lib/libc/stdlib/exit.c: revision 1.17 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hf/c++config.h: revision 1.14 distrib/sets/lists/debug/shl.mi: revision 1.178 external/gpl3/gcc/lib/libstdc++-v3/arch/sh3el/c++config.h: revision 1.21 distrib/sets/lists/debug/shl.mi: revision 1.179 distrib/sets/lists/debug/mi: revision 1.219 lib/libpthread/pthread.c: revision 1.150 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7/c++config.h: revision 1.14 libexec/ld.elf_so/symbols.map: revision 1.2 include/dlfcn.h: revision 1.25 external/gpl3/gcc/lib/libstdc++-v3/arch/arm/c++config.h: revision 1.21 external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/c++config.h: revision 1.23 external/gpl3/gcc/lib/libstdc++-v3/arch/mips64el/c++config.h: revision 1.18 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/c++config.h: revision 1.14 external/gpl3/gcc/lib/libstdc++-v3/arch/earm/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/ia64/c++config.h: revision 1.5 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb/c++config.h: revision 1.14 external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/c++config.h: revision 1.17 distrib/sets/lists/tests/mi: revision 1.755 external/gpl3/gcc/lib/libstdc++-v3/arch/mips64eb/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/i386/c++config.h: revision 1.20 external/gpl3/gcc/lib/libstdc++-v3/arch/vax/c++config.h: revision 1.21 external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/c++config.h: revision 1.21 external/gpl3/gcc/lib/libstdc++-v3/arch/sparc/c++config.h: revision 1.20 lib/libc/dlfcn/dlfcn_elf.c: revision 1.14 tests/libexec/ld.elf_so/t_thread_local_dtor.sh: revision 1.1 tests/lib/libpthread/t_thread_local_dtor.sh: revision 1.1 lib/libc/stdlib/Makefile.inc: revision 1.93 lib/libc/include/atexit.h: revision 1.1 lib/libc/include/atexit.h: revision 1.2 external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hf/c++config.h: revision 1.14 distrib/sets/lists/debug/shl.mi: revision 1.180 external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hfeb/c++config.h: revision 1.14 external/gpl3/gcc/lib/libstdc++-v3/arch/hppa/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hfeb/c++config.h: revision 1.14 lib/libc/stdlib/cxa_thread_atexit.c: revision 1.1 tests/libexec/ld.elf_so/helper_dso3/h_helper_dso3.cpp: revision 1.1 tests/libexec/ld.elf_so/helper_dso3/Makefile: revision 1.1 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/c++config.h: revision 1.5 libexec/ld.elf_so/rtld.c: revision 1.185 external/gpl3/gcc/lib/libstdc++-v3/arch/sh3eb/c++config.h: revision 1.19 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/c++config.h: revision 1.5 external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/c++config.h: revision 1.15 external/gpl3/gcc/lib/libstdc++-v3/arch/mipseb/c++config.h: revision 1.21 external/gpl3/gcc/lib/libstdc++-v3/arch/coldfire/c++config.h: revision 1.12 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/c++config.h: revision 1.14 external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/c++config.h: revision 1.15 external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/c++config.h: revision 1.19 tests/libexec/ld.elf_so/Makefile: revision 1.9 external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc/c++config.h: revision 1.20 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7eb/c++config.h: revision 1.14 tests/lib/libpthread/h_thread_local_dtor.cpp: revision 1.1 distrib/sets/lists/tests/shl.mi: revision 1.11 tests/lib/libpthread/Makefile: revision 1.13 libexec/ld.elf_so/rtld.h: revision 1.129 external/gpl3/gcc/lib/libstdc++-v3/arch/or1k/c++config.h: revision 1.6 Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This functions are used for destructors of thread_local objects. If a pending destructor exists, prevent unloading of shared objects. Introduce __dl_cxa_refcount interface for this purpose. When the last reference is gone and the object has been dlclose'd before, the unloading is finalized. Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists on providing __cxa_thread_atexit as direct wrapper without further patching. Fix filename of new debug file Add misising DEBUGLIB file Avoid common declaration. Drop TLS variant checks, emutls is enough for VAX and Sun2.
Revision 1.761 / (download) - annotate - [select for diffs], Wed Aug 16 13:53:20 2017 UTC (5 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.760: +2 -1
lines
Diff to previous 1.760 (colored)
Add missing strfmon_l. Noticed by Bruno Haible. Add test case.
Revision 1.760 / (download) - annotate - [select for diffs], Thu Aug 10 04:31:58 2017 UTC (5 years, 10 months ago) by ryo
Branch: MAIN
Changes since 1.759: +2 -1
lines
Diff to previous 1.759 (colored)
Add support IP_PKTINFO for sendmsg(2). The source address or output interface can be specified by adding IP_PKTINFO to the control part of the message on a SOCK_DGRAM or SOCK_RAW socket. Reviewed by ozaki-r@ and christos@. thanks.
Revision 1.759 / (download) - annotate - [select for diffs], Wed Aug 2 02:19:56 2017 UTC (5 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.758: +2 -1
lines
Diff to previous 1.758 (colored)
Add test cases for setsockopt(IP_IPSEC_POLICY)
Revision 1.758 / (download) - annotate - [select for diffs], Sun Jul 23 19:26:06 2017 UTC (5 years, 10 months ago) by perseant
Branch: MAIN
Changes since 1.757: +2 -1
lines
Diff to previous 1.757 (colored)
Add missing setlist entries for DUCET collation test.
Revision 1.757.2.2 / (download) - annotate - [select for diffs], Tue Jul 18 14:55:29 2017 UTC (5 years, 10 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.757.2.1: +4327 -0
lines
Diff to previous 1.757.2.1 (colored) to branchpoint 1.757 (colored) next main 1.758 (colored)
299366
Revision 1.757.2.1, Tue Jul 18 02:16:07 2017 UTC (5 years, 10 months ago) by perseant
Branch: perseant-stdc-iso10646
Changes since 1.757: +0 -4326
lines
FILE REMOVED
file mi was added on branch perseant-stdc-iso10646 on 2017-07-18 14:55:29 +0000
Revision 1.757 / (download) - annotate - [select for diffs], Tue Jul 18 02:16:07 2017 UTC (5 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base
Branch point for: perseant-stdc-iso10646
Changes since 1.756: +2 -1
lines
Diff to previous 1.756 (colored)
Separate test files
Revision 1.756 / (download) - annotate - [select for diffs], Fri Jul 14 14:57:43 2017 UTC (5 years, 10 months ago) by perseant
Branch: MAIN
Changes since 1.755: +2 -1
lines
Diff to previous 1.755 (colored)
Add a simple collation test. This test is expected to fail on HEAD since we do not yet have a working implementation of wcscoll.
Revision 1.755 / (download) - annotate - [select for diffs], Tue Jul 11 15:21:32 2017 UTC (5 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.754: +5 -1
lines
Diff to previous 1.754 (colored)
Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This functions are used for destructors of thread_local objects. If a pending destructor exists, prevent unloading of shared objects. Introduce __dl_cxa_refcount interface for this purpose. When the last reference is gone and the object has been dlclose'd before, the unloading is finalized. Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists on providing __cxa_thread_atexit as direct wrapper without further patching.
Revision 1.754 / (download) - annotate - [select for diffs], Mon Jul 3 06:01:16 2017 UTC (5 years, 11 months ago) by ozaki-r
Branch: MAIN
Changes since 1.753: +2 -1
lines
Diff to previous 1.753 (colored)
Add test cases for IPComp
Revision 1.753 / (download) - annotate - [select for diffs], Fri Jun 9 06:09:01 2017 UTC (6 years ago) by knakahara
Branch: MAIN
Changes since 1.752: +2 -1
lines
Diff to previous 1.752 (colored)
add tests of ioctl for /dev/crypto
Revision 1.752 / (download) - annotate - [select for diffs], Thu Jun 1 15:45:02 2017 UTC (6 years ago) by perseant
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.751: +3 -1
lines
Diff to previous 1.751 (colored)
Add tests for btowc(3)/wctob(3) and enable compilation of the test for digittoint(3). The digittoint(3) test is skipped since we don't provide that function yet. One of the test cases for btowc(3) is also skipped, since it tests conversion to Unicode---whereas our wchar_t representation is locale-dependent.
Revision 1.751 / (download) - annotate - [select for diffs], Wed May 31 00:18:21 2017 UTC (6 years ago) by perseant
Branch: MAIN
Changes since 1.750: +3 -1
lines
Diff to previous 1.750 (colored)
Add new locale tests to distrib sets, thanks pgoyette@ for the reminder
Revision 1.750 / (download) - annotate - [select for diffs], Tue May 30 05:35:03 2017 UTC (6 years ago) by pgoyette
Branch: MAIN
Changes since 1.749: +2 -1
lines
Diff to previous 1.749 (colored)
Add the new t_toupper to unbreak the build
Revision 1.749 / (download) - annotate - [select for diffs], Sat May 27 21:02:55 2017 UTC (6 years ago) by bouyer
Branch: MAIN
Changes since 1.748: +6 -1
lines
Diff to previous 1.748 (colored)
merge the bouyer-socketcan branch to HEAD. CAN stands for Controller Area Network, a broadcast network used in automation and automotive fields. For example, the NMEA2000 standard developped for marine devices uses a CAN network as the link layer. This is an implementation of the linux socketcan API: https://www.kernel.org/doc/Documentation/networking/can.txt you can also see can(4). This adds a new socket family (AF_CAN) and protocol (PF_CAN), as well as the canconfig(8) utility, used to set timing parameter of CAN hardware. Also inclued is a driver for the CAN controller found in the allwinner A20 SoC (I tested it with an Olimex lime2 board, connected with PIC18-based CAN devices). There is also the canloop(4) pseudo-device, which allows to use the socketcan API without CAN hardware. At this time the CANFD part of the linux socketcan API is not implemented. Error frames are not implemented either. But I could get the cansend and canreceive utilities from the canutils package to build and run with minimal changes. tcpudmp(8) can also be used to record frames, which can be decoded with etherreal.
Revision 1.748 / (download) - annotate - [select for diffs], Fri May 26 09:02:33 2017 UTC (6 years ago) by martin
Branch: MAIN
Changes since 1.747: +2 -2
lines
Diff to previous 1.747 (colored)
Fix typo
Revision 1.747 / (download) - annotate - [select for diffs], Fri May 26 05:33:27 2017 UTC (6 years ago) by pgoyette
Branch: MAIN
Changes since 1.746: +2 -1
lines
Diff to previous 1.746 (colored)
Add new t_strcol test to the sets list - hopefully fix the build
Revision 1.746 / (download) - annotate - [select for diffs], Sun May 21 15:28:38 2017 UTC (6 years ago) by riastradh
Branch: MAIN
Changes since 1.745: +73 -73
lines
Diff to previous 1.745 (colored)
Remove MKCRYPTO option. Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code. In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography. The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations. My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws. As proposed on tech-crypto, tech-security, and tech-userlevel to no objections: https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto.
Revision 1.745 / (download) - annotate - [select for diffs], Sun May 21 14:20:45 2017 UTC (6 years ago) by riastradh
Branch: MAIN
Changes since 1.744: +2 -2
lines
Diff to previous 1.744 (colored)
Remove MKCRYPTO_RC5. Unconditionally include RC5 in libcrypto.so. This option existed only because RC5 is covered by patents that, twenty years ago, we had reason to suspect the patent holder, RSA, Inc., might litigate. The two US patents in question are 5,724,428 and 5,835,600. According to the USPTO Patent Term Calculator web site at <https://www.uspto.gov/patent/laws-and-regulations/patent-term-calculator#heading-5> (retrieved 2017-05-21), patents filed after 1995-06-07 expire twenty years after the filing date. number filing date 5,724,428 1995-11-01 5,835,600 1997-04-21 Thus, these patents appear to be expired. As proposed on tech-crypto and tech-security: https://mail-index.netbsd.org/tech-crypto/2017/05/05/msg000718.html https://mail-index.netbsd.org/tech-security/2017/05/05/msg000927.html
Revision 1.744 / (download) - annotate - [select for diffs], Sat May 20 16:35:55 2017 UTC (6 years ago) by kre
Branch: MAIN
Changes since 1.743: +2 -1
lines
Diff to previous 1.743 (colored)
Add a test of sh syntax & parsing (first attempt anyway.)
Revision 1.735.2.3 / (download) - annotate - [select for diffs], Fri May 19 00:22:51 2017 UTC (6 years ago) by pgoyette
Branch: prg-localcount2
Changes since 1.735.2.2: +10 -3
lines
Diff to previous 1.735.2.2 (colored) to branchpoint 1.735 (colored) next main 1.736 (colored)
Resolve conflicts from previous merge (all resulting from $NetBSD keywork expansion)
Revision 1.743 / (download) - annotate - [select for diffs], Mon May 15 09:58:22 2017 UTC (6 years ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base3
Changes since 1.742: +2 -1
lines
Diff to previous 1.742 (colored)
Add test cases for SA lifetime
Revision 1.742 / (download) - annotate - [select for diffs], Mon May 15 09:56:12 2017 UTC (6 years ago) by ozaki-r
Branch: MAIN
Changes since 1.741: +3 -3
lines
Diff to previous 1.741 (colored)
Sort
Revision 1.741 / (download) - annotate - [select for diffs], Sun May 14 02:02:25 2017 UTC (6 years ago) by kamil
Branch: MAIN
Changes since 1.740: +2 -1
lines
Diff to previous 1.740 (colored)
Add new ATF C++ tests in usr.bin/c++: t_static_destructor These tests are cloned from t_cxxruntime and check proper order of destructor calls. They must be reported in reverse order of constructor completion. Added tests: - static_destructor - static_destructor_pic - static_destructor_pie - static_destructor32 This test file replaces src/regress/usr.bin/c++/static_destructor.
Revision 1.740 / (download) - annotate - [select for diffs], Sun May 14 01:03:21 2017 UTC (6 years ago) by kamil
Branch: MAIN
Changes since 1.739: +2 -1
lines
Diff to previous 1.739 (colored)
Add new ATF C++ tests in usr.bin/c++ These tests are cloned from t_hello and use c++ runtime basic functions. Added tests: - hello - hello_pic - hello_pie - hello32
Revision 1.739 / (download) - annotate - [select for diffs], Sun May 14 00:07:07 2017 UTC (6 years ago) by kamil
Branch: MAIN
Changes since 1.738: +5 -1
lines
Diff to previous 1.738 (colored)
Add new c++ ATF tests in usr.bin/c++: t_hello This is a copy of t_hello from usr.bin/cc. Added tests: - hello - hello_pic - hello_pie - hello32 These tests do not use c++ runtime library functions. Protect these tests with MKCXX.
Revision 1.735.2.2 / (download) - annotate - [select for diffs], Thu May 11 02:58:29 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: prg-localcount2
Changes since 1.735.2.1: +2 -1
lines
Diff to previous 1.735.2.1 (colored) to branchpoint 1.735 (colored)
Sync with HEAD
Revision 1.738 / (download) - annotate - [select for diffs], Wed May 10 09:08:25 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base2
Changes since 1.737: +2 -1
lines
Diff to previous 1.737 (colored)
Test tunnel mode with IPv4 over IPv6 and IPv6 over IPv4
Revision 1.735.2.1 / (download) - annotate - [select for diffs], Tue May 2 03:19:15 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: prg-localcount2
Changes since 1.735: +3 -1
lines
Diff to previous 1.735 (colored)
Sync with HEAD - tag prg-localcount2-base1
Revision 1.737 / (download) - annotate - [select for diffs], Thu Apr 27 06:53:44 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base1
Changes since 1.736: +2 -1
lines
Diff to previous 1.736 (colored)
Add test cases for L2TP/IPsec
Revision 1.736 / (download) - annotate - [select for diffs], Thu Apr 27 06:52:45 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.735: +2 -1
lines
Diff to previous 1.735 (colored)
Add test cases for gif/IPsec
Revision 1.678.2.6 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:17 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.678.2.5: +53 -34
lines
Diff to previous 1.678.2.5 (colored) to branchpoint 1.678 (colored) next main 1.679 (colored)
Sync with HEAD
Revision 1.714.2.2 / (download) - annotate - [select for diffs], Fri Apr 21 16:51:14 2017 UTC (6 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.714.2.1: +78 -43
lines
Diff to previous 1.714.2.1 (colored) to branchpoint 1.714 (colored) next main 1.715 (colored)
Sync with HEAD
Revision 1.714.2.1 / (download) - annotate - [select for diffs], Mon Apr 17 20:35:00 2017 UTC (6 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.714: +6 -1
lines
Diff to previous 1.714 (colored)
Add can-related directories and files; a build.sh release now completes.
Revision 1.735 / (download) - annotate - [select for diffs], Mon Apr 17 09:06:55 2017 UTC (6 years, 1 month ago) by knakahara
Branch: MAIN
CVS Tags: prg-localcount2-base,
pgoyette-localcount-20170426,
bouyer-socketcan-base1
Branch point for: prg-localcount2
Changes since 1.734: +3 -1
lines
Diff to previous 1.734 (colored)
fix build failure
Revision 1.734 / (download) - annotate - [select for diffs], Fri Apr 14 02:56:48 2017 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.733: +9 -1
lines
Diff to previous 1.733 (colored)
Add tests for ipsec - Check if setkey correctly handles algorithms for AH/ESP - Check IPsec of transport mode with AH/ESP over IPv4/IPv6 - Check IPsec of tunnel mode with AH/ESP over IPv4/IPv6
Revision 1.733 / (download) - annotate - [select for diffs], Mon Apr 3 05:06:28 2017 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.732: +8 -8
lines
Diff to previous 1.732 (colored)
Remove tests/kernel/t_ptrace* from the tree ptrace(2) tests have been moved to tests/lib/libc/sys Sponsored by <The NetBSD Foundation>
Revision 1.732 / (download) - annotate - [select for diffs], Sun Apr 2 21:44:00 2017 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.731: +8 -1
lines
Diff to previous 1.731 (colored)
Import ptrace(2) tests into appropriate directory tests/lib/libc/sys/ This is the correct directory documented in tests/README for such tests. Discussed with <martin> Sponsored by <The NetBSD Foundation>
Revision 1.731 / (download) - annotate - [select for diffs], Sun Apr 2 01:49:52 2017 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.730: +27 -27
lines
Diff to previous 1.730 (colored)
Remove kernel/arch/{amd64,i386,x86} tests These files were merged with kernel/t_ptrace_wait* This removes MD test files. Sponsored by <The NetBSD Foundation>
Revision 1.730 / (download) - annotate - [select for diffs], Fri Mar 31 09:40:15 2017 UTC (6 years, 2 months ago) by ozaki-r
Branch: MAIN
Changes since 1.729: +2 -1
lines
Diff to previous 1.729 (colored)
Add t_ping_opts
Revision 1.729 / (download) - annotate - [select for diffs], Wed Mar 22 21:33:06 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.728: +2 -1
lines
Diff to previous 1.728 (colored)
add tests for the mount update from rw to rw+log, which used to case the panic reported in PR kern/52056
Revision 1.678.2.5 / (download) - annotate - [select for diffs], Mon Mar 20 06:52:09 2017 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.678.2.4: +29 -12
lines
Diff to previous 1.678.2.4 (colored) to branchpoint 1.678 (colored)
Sync with HEAD
Revision 1.728 / (download) - annotate - [select for diffs], Sat Mar 11 04:24:52 2017 UTC (6 years, 3 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.727: +2 -1
lines
Diff to previous 1.727 (colored)
Separate tests for learning table of bridge
Revision 1.727 / (download) - annotate - [select for diffs], Mon Mar 6 21:03:56 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.726: +2 -1
lines
Diff to previous 1.726 (colored)
more lint tests
Revision 1.726 / (download) - annotate - [select for diffs], Mon Mar 6 12:01:47 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.725: +2 -1
lines
Diff to previous 1.725 (colored)
add new lint test
Revision 1.725 / (download) - annotate - [select for diffs], Tue Feb 28 03:32:11 2017 UTC (6 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.724: +2 -1
lines
Diff to previous 1.724 (colored)
Add tests for loopback interface
Revision 1.724 / (download) - annotate - [select for diffs], Wed Feb 22 09:09:49 2017 UTC (6 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.723: +3 -1
lines
Diff to previous 1.723 (colored)
Fix build of !x86 ports Mark debug/usr/tests/kernel/arch/x86 as MI directory. Sponsored by <The NetBSD Foundation>
Revision 1.723 / (download) - annotate - [select for diffs], Tue Feb 21 10:40:30 2017 UTC (6 years, 3 months ago) by kre
Branch: MAIN
Changes since 1.722: +5 -1
lines
Diff to previous 1.722 (colored)
PR bin/50934 Add a test program for the bug described in this PR. This is the first pkill/pgrep/prenice test (more would be good!) This test has been confirmed to work once the bug described in the PR has been fixed, so the test is not marked "expected to fail" even though initially that is what should happen. Note: the test cana also fail if the system running the tests happens to be running processes with names that match the patterns searched for by the test, other than the test program itself. This is expected to be unlikely.
Revision 1.722 / (download) - annotate - [select for diffs], Mon Feb 20 03:14:42 2017 UTC (6 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.721: +2 -2
lines
Diff to previous 1.721 (colored)
Remove tests/lib/libc/gen/exect paths from mtree and sets The exect tests have been removed from the distribution. Requested by Thomas Klausner.
Revision 1.721 / (download) - annotate - [select for diffs], Thu Feb 16 08:44:47 2017 UTC (6 years, 3 months ago) by knakahara
Branch: MAIN
Changes since 1.720: +5 -1
lines
Diff to previous 1.720 (colored)
add l2tp(4) basic test.
Revision 1.720 / (download) - annotate - [select for diffs], Sat Feb 11 18:47:36 2017 UTC (6 years, 3 months ago) by nakayama
Branch: MAIN
Changes since 1.719: +4 -4
lines
Diff to previous 1.719 (colored)
Redo rev.1.718, remove trash in line end.
Revision 1.719 / (download) - annotate - [select for diffs], Thu Feb 9 13:59:02 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.718: +2 -2
lines
Diff to previous 1.718 (colored)
put back exect directory; we try to remove it before the files inside it and we fail.
Revision 1.718 / (download) - annotate - [select for diffs], Thu Feb 9 03:29:55 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.717: +6 -6
lines
Diff to previous 1.717 (colored)
remove exect test
Revision 1.717 / (download) - annotate - [select for diffs], Wed Feb 8 03:44:41 2017 UTC (6 years, 4 months ago) by kamil
Branch: MAIN
Changes since 1.716: +7 -7
lines
Diff to previous 1.716 (colored)
libpthread_dbg(3) deletion from the base distribution libpthread_dbg(3) is a remnant library from the M:N thread model (pre-NetBSD-5.0) API to introspect threads within a process and for use of debuggers. Currently in the 1:1 model it's not used in GDB neither in LLDB and it's not either planned to be used. It's current function to read pthread_t structures is realizable within a regular debugger capable to instrospect objects within a tracee (GDB, LLDB...). Remaining users of this API can still use this library from pkgsrc/devel/libpthread_dbg. Sponsored by <The NetBSD Foundation>
Revision 1.716 / (download) - annotate - [select for diffs], Thu Feb 2 22:07:33 2017 UTC (6 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.715: +2 -1
lines
Diff to previous 1.715 (colored)
Add test program for PR kern/51762
Revision 1.715 / (download) - annotate - [select for diffs], Fri Jan 27 10:45:11 2017 UTC (6 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.714: +2 -1
lines
Diff to previous 1.714 (colored)
Add test for read/write to readonly update mount.
Revision 1.714 / (download) - annotate - [select for diffs], Sat Jan 14 01:44:13 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.713: +2 -1
lines
Diff to previous 1.713 (colored)
add new test file
Revision 1.678.2.4 / (download) - annotate - [select for diffs], Sat Jan 7 08:53:44 2017 UTC (6 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.678.2.3: +121 -51
lines
Diff to previous 1.678.2.3 (colored) to branchpoint 1.678 (colored)
Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
Revision 1.713 / (download) - annotate - [select for diffs], Thu Jan 5 13:45:51 2017 UTC (6 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.712: +45 -45
lines
Diff to previous 1.712 (colored)
Tag cleanup: if the last column contains 'obsolete', the one before should too.
Revision 1.712 / (download) - annotate - [select for diffs], Mon Jan 2 21:05:06 2017 UTC (6 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.711: +2 -1
lines
Diff to previous 1.711 (colored)
Add misising mixerctl file
Revision 1.711 / (download) - annotate - [select for diffs], Mon Jan 2 15:41:09 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.710: +3 -1
lines
Diff to previous 1.710 (colored)
Add mixerctl tests
Revision 1.710 / (download) - annotate - [select for diffs], Mon Dec 19 17:38:38 2016 UTC (6 years, 5 months ago) by maya
Branch: MAIN
Changes since 1.709: +2 -1
lines
Diff to previous 1.709 (colored)
adjust set lists for t_fe_round
Revision 1.709 / (download) - annotate - [select for diffs], Thu Dec 15 12:56:52 2016 UTC (6 years, 5 months ago) by kre
Branch: MAIN
Changes since 1.708: +12 -12
lines
Diff to previous 1.708 (colored)
More sets list sorting (maybe this time they're really all done)
Revision 1.708 / (download) - annotate - [select for diffs], Tue Dec 13 18:00:10 2016 UTC (6 years, 5 months ago) by kamil
Branch: MAIN
Changes since 1.707: +11 -1
lines
Diff to previous 1.707 (colored)
Add regs1 in arch/i386/t_ptrace_wait* regs1: Call PT_GETREGS and iterate over General Purpose registers Sponsored by <The NetBSD Foundation>
Revision 1.707 / (download) - annotate - [select for diffs], Fri Dec 9 06:12:02 2016 UTC (6 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.706: +6 -1
lines
Diff to previous 1.706 (colored)
Attach t_exect to ATF tests and distribution Add missing SIGTRAP handler. Assert there that the signal is SIGTRAP as expected and si_code TRAP_TRACE. This test will break on some ports that have dummy or incomplete implementation of exect(2). This test works on amd64 correctly. Sponsored by <The NetBSD Foundation>
Revision 1.706 / (download) - annotate - [select for diffs], Fri Dec 2 05:54:14 2016 UTC (6 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.705: +15 -7
lines
Diff to previous 1.705 (colored)
Refactor location of amd64-specific ATF tests to new dir kernel/arch/amd64 Rename - tests/kernel/t_ptrace_amd64_wait.c to - tests/kernel/arch/amd64/t_ptrace_wait.c and adapt appropriate files accordingly. New directory will be used for more amd64-specific tests, verifying the MD parts of the kernel. Remove old entries from distrib/sets/lists as they were added a while ago. Sponsored by <The NetBSD Foundation>
Revision 1.705 / (download) - annotate - [select for diffs], Fri Dec 2 00:50:09 2016 UTC (6 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.704: +7 -7
lines
Diff to previous 1.704 (colored)
Fix !amd64 sets Sponsored by <The NetBS Foundation>
Revision 1.704 / (download) - annotate - [select for diffs], Thu Dec 1 20:23:11 2016 UTC (6 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.703: +7 -1
lines
Diff to previous 1.703 (colored)
Add t_ptrace_amd64_wait{,3,4,6,id,pid} tests Sponsored by <The NetBSD Foundation>
Revision 1.703 / (download) - annotate - [select for diffs], Sat Nov 26 03:19:48 2016 UTC (6 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.702: +5 -1
lines
Diff to previous 1.702 (colored)
Add basic tests for vlan(4)
Revision 1.702 / (download) - annotate - [select for diffs], Fri Nov 18 22:50:19 2016 UTC (6 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.701: +2 -1
lines
Diff to previous 1.701 (colored)
Add new test file lib/libpthread_dbg/t_threads This test contains threads1 test that: Asserts that td_thr_iter() call without extra logic works This tests fails and is linked with gnats: PR lib/51635: td_thr_iter in <pthread_dbg.h> seems broken Sponsored by <The NetBSD Foundation>
Revision 1.701 / (download) - annotate - [select for diffs], Wed Nov 16 21:36:23 2016 UTC (6 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.700: +6 -1
lines
Diff to previous 1.700 (colored)
Add new test-suite t_dummy for libpthread_dbg At the moment this test does nothing except reports failure from td_open() for overloaded (implemented) dummy1_proc_lookup() (.proc_lookup from td_proc_callbacks_t) of the following form: static int dummy1_proc_lookup(void *arg, const char *sym, caddr_t *addr) { return TD_ERR_ERR; } This file and directory with tests is placeholder for new ones, without further need to alter mtree and distribution sets. The libpthread_dbg interface and library is used by gdb(1) to handle threads in applications. Sponsored by <The NetBSD Foundation>
Revision 1.700 / (download) - annotate - [select for diffs], Tue Nov 15 12:59:33 2016 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.699: +5 -1
lines
Diff to previous 1.699 (colored)
Fix librefuse falout.... Hi pho
Revision 1.699 / (download) - annotate - [select for diffs], Fri Nov 11 15:30:44 2016 UTC (6 years, 6 months ago) by njoly
Branch: MAIN
Changes since 1.698: +2 -1
lines
Diff to previous 1.698 (colored)
New clock_nanosleep(2) testcase.
Revision 1.698 / (download) - annotate - [select for diffs], Fri Nov 11 07:39:58 2016 UTC (6 years, 6 months ago) by alnsn
Branch: MAIN
Changes since 1.697: +2 -1
lines
Diff to previous 1.697 (colored)
Add 3des-cbc tests with 192 bits key.
Revision 1.697 / (download) - annotate - [select for diffs], Thu Nov 10 23:47:23 2016 UTC (6 years, 6 months ago) by alnsn
Branch: MAIN
Changes since 1.696: +2 -1
lines
Diff to previous 1.696 (colored)
Add t_cgd_blowfish.
Revision 1.696 / (download) - annotate - [select for diffs], Mon Nov 7 21:09:03 2016 UTC (6 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.695: +7 -1
lines
Diff to previous 1.695 (colored)
Add new tests for combination of wait(2) interfaces with ptrace(2) Move out wait(2) specific tests from t_ptrace and put them to t_ptrace_wait Add generic code fragments to reuse the same source-code for every member of the wait(2) family, namely: - wait(2) - waitpid(2) - waitid(2) - wait3(2) - wait4(2) - wait6(2) Currently in the new test-suite there are the following tests: - traceme1 - traceme2 - traceme3 - traceme4 - attach1 Not all tests are possible to be executed against every wait(2)-like interface, therefore they will be disabled in such case. Currently this limits attach1 to waitpid(2), waitid(2), wait4(2), wait6(2), while the other tests (traceme 1-4) run with all of the interfaces. The construct of this file is dedicated for addition of new tests in the close future. As of now all of the tests pass correctly. Thanks for Robert Elz for suggestions on improving the code (earlier draft of this new form). Sponsored by <The NetBSD Foundation>.
Revision 1.695 / (download) - annotate - [select for diffs], Mon Nov 7 00:54:48 2016 UTC (6 years, 7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.694: +2 -1
lines
Diff to previous 1.694 (colored)
Add basic tests for IPv6 Path MTU Discovery
Revision 1.694 / (download) - annotate - [select for diffs], Sun Nov 6 17:09:19 2016 UTC (6 years, 7 months ago) by alnsn
Branch: MAIN
Changes since 1.693: +2 -2
lines
Diff to previous 1.693 (colored)
Add "crypto" category to t_cgd_aes.
Revision 1.693 / (download) - annotate - [select for diffs], Sun Nov 6 15:03:30 2016 UTC (6 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.692: +3 -1
lines
Diff to previous 1.692 (colored)
Add new tests: tests/lib/libc/sys/t_wait_noproc and t_wait_noproc_wnohang The t_wait_noproc test checks whether wait(2)-family of functions return error and set ECHILD for lack of childs. The t_wait_noproc_wnohang adds to options (except wait(2), wait3(2)) new parameter WNOHANG and verifies that error is still signaled and errno set to ECHILD. Currently t_wait_noproc_wnohang reports failures, these have been marked as expected and referenced to PR standards/51606. The problem report is authored by Robert Elz, and the initial regression has been notified by Nicolas Joly. Remove redundant test in tests/lib/libc/sys/t_wait for wait6(2) with no WNOHANG specified. Sponsored by <The NetBSD Foundation>.
Revision 1.692 / (download) - annotate - [select for diffs], Sun Nov 6 10:54:42 2016 UTC (6 years, 7 months ago) by alnsn
Branch: MAIN
Changes since 1.691: +2 -1
lines
Diff to previous 1.691 (colored)
Add tests for not-yet-committed cgd algorithm AES-XTS. The tests are marked as expected failures.
Revision 1.678.2.3 / (download) - annotate - [select for diffs], Fri Nov 4 14:42:39 2016 UTC (6 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.678.2.2: +14 -1
lines
Diff to previous 1.678.2.2 (colored) to branchpoint 1.678 (colored)
Sync with HEAD
Revision 1.691 / (download) - annotate - [select for diffs], Wed Nov 2 12:51:22 2016 UTC (6 years, 7 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.690: +2 -1
lines
Diff to previous 1.690 (colored)
Add new test t_ptrace with traceme1 This test is a placeholder for further checks of the native ptrace(2) function calls. XXX: Is it safe to call ATF functions from a child? FreeBSD seems to construct dedicated asserts for them. XXX: printf(3) calls from a child are not intercepted by atf-run(1) Sponsored by <The NetBSD Foundation>.
Revision 1.690 / (download) - annotate - [select for diffs], Mon Oct 31 10:38:25 2016 UTC (6 years, 7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.689: +2 -1
lines
Diff to previous 1.689 (colored)
Add tests for ping6 options - -S <sourceaddr> - -I <interface> - -g <gateway>
Revision 1.689 / (download) - annotate - [select for diffs], Sun Oct 30 16:17:16 2016 UTC (6 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.688: +2 -1
lines
Diff to previous 1.688 (colored)
Add new test t_timedmutex This test is a clone on t_mutex with additional two tests for timed-mutex specific block. All simple-mutex (not with the timed property according to the C11 wording) specific tests are covered by pthread_mutex_timedlock(3) with parameter ts_lengthy of sufficiently large tv_sec value (right now UINT16_MAX). If, a test will hang, it won't wait UINT16_MAX seconds, but will be terminated within the default timeout for ATF tests (right now 300 [sec] in my NetBSD/amd64 setup). This test was inspired by a classic selflock test failure of pthread_mutex_timedlock(3) of the following form: #include <assert.h> #include <errno.h> #include <pthread.h> #include <stdio.h> #include <time.h> int main(int argc, char **argv) { pthread_mutex_t mtx; struct timespec ts; ts.tv_sec = 0; ts.tv_nsec = 1000; printf("ts{.tv_sec = %d, .tv_nsec=%ld}\n", ts.tv_sec, ts.tv_nsec); fflush(stdout); printf("mtx_init\n"); assert(pthread_mutex_init(&mtx, NULL) == 0); printf("mtx_lock\n"); assert(pthread_mutex_lock(&mtx) == 0); printf("mtx_timedlock\n"); assert(pthread_mutex_timedlock(&mtx, &ts) == ETIMEDOUT); printf("mtx_unlock\n"); assert(pthread_mutex_unlock(&mtx) == 0); printf("mtx_destroy\n"); assert(pthread_mutex_destroy(&mtx) == 0); return 0; } Current NetBSD implementation wrongly hangs on this test. The issue was detected during development of the C11 portable threads. My local tests in chroot presents that the are further issues: t_timedmutex (21/25): 10 test cases mutex1: [0.001142s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:75: *param != 20 mutex2: [0.261499s] Passed. mutex3: [0.261496s] Passed. mutex4: [0.001204s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:265: pthread_mutex_timedlock(&mutex, &ts_lengthy): Connection timed out mutex5: [0.001235s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:337: pthread_mutex_timedlock(&mutex5, &ts_lengthy): Connection timed out mutex6: [21.218497s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:512: start != 1 mutexattr1: [0.001328s] Passed. mutexattr2: [0.001175s] Passed. timedmutex1: [301.119397s] Failed: Test case timed out after 300 seconds timedmutex2: [301.123081s] Failed: Test case timed out after 300 seconds [623.990659s] I'm also receiveing the same failure in the mutex6 test in t_mutex, so there might be a false positives due to local chroot(8) issues. Commit approved by <christos>.
Revision 1.688 / (download) - annotate - [select for diffs], Sat Oct 22 14:13:39 2016 UTC (6 years, 7 months ago) by abhinav
Branch: MAIN
Changes since 1.687: +10 -1
lines
Diff to previous 1.687 (colored)
Add tests for uniq(1) based on the example test cases provided in the POSIX man page. Ok christos
Revision 1.687 / (download) - annotate - [select for diffs], Tue Oct 4 04:15:25 2016 UTC (6 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.686: +2 -1
lines
Diff to previous 1.686 (colored)
Add tests for sysctl net.inet.ip.mtudisc From suzu-ken@IIJ
Revision 1.686 / (download) - annotate - [select for diffs], Mon Sep 5 02:26:48 2016 UTC (6 years, 9 months ago) by ozaki-r
Branch: MAIN
CVS Tags: localcount-20160914
Changes since 1.685: +5 -1
lines
Diff to previous 1.685 (colored)
Add very basic tests for tun devices
Revision 1.685 / (download) - annotate - [select for diffs], Wed Aug 31 14:05:10 2016 UTC (6 years, 9 months ago) by maya
Branch: MAIN
Changes since 1.684: +2 -1
lines
Diff to previous 1.684 (colored)
Add failing test for casinh
Revision 1.684 / (download) - annotate - [select for diffs], Mon Aug 22 08:49:33 2016 UTC (6 years, 9 months ago) by maya
Branch: MAIN
Changes since 1.683: +2 -1
lines
Diff to previous 1.683 (colored)
add failing test for PR lib/51427 ilogb(INFINITY)=-INT_MAX, it should be INT_MAX while here, test raised exceptions, other values. XXX some platforms don't have exceptions
Revision 1.683 / (download) - annotate - [select for diffs], Fri Aug 19 10:22:42 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.682: +2 -1
lines
Diff to previous 1.682 (colored)
new lint test
Revision 1.682 / (download) - annotate - [select for diffs], Thu Aug 18 14:47:02 2016 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.681: +2 -1
lines
Diff to previous 1.681 (colored)
new lint test
Revision 1.681 / (download) - annotate - [select for diffs], Sun Aug 14 14:55:42 2016 UTC (6 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.680: +6 -1
lines
Diff to previous 1.680 (colored)
tests for sys/dev/clock_subr.c
Revision 1.678.2.2 / (download) - annotate - [select for diffs], Sat Aug 6 00:18:40 2016 UTC (6 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.678.2.1: +2 -1
lines
Diff to previous 1.678.2.1 (colored) to branchpoint 1.678 (colored)
Sync with HEAD
Revision 1.678.2.1 / (download) - annotate - [select for diffs], Sun Jul 31 01:28:02 2016 UTC (6 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.678: +6 -1
lines
Diff to previous 1.678 (colored)
Add the fss(4) test
Revision 1.680 / (download) - annotate - [select for diffs], Sat Jul 30 11:03:54 2016 UTC (6 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806
Changes since 1.679: +2 -1
lines
Diff to previous 1.679 (colored)
New getsockname(2) testcase for UNIX domain sockets.
Revision 1.679 / (download) - annotate - [select for diffs], Fri Jul 29 07:02:24 2016 UTC (6 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.678: +6 -1
lines
Diff to previous 1.678 (colored)
Add files for the new fss(4) test
Revision 1.678 / (download) - annotate - [select for diffs], Wed Jul 13 15:58:37 2016 UTC (6 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.677: +5 -5
lines
Diff to previous 1.677 (colored)
Fix libproc compat setting
Revision 1.584.2.4 / (download) - annotate - [select for diffs], Tue Jul 5 19:03:31 2016 UTC (6 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Changes since 1.584.2.3: +3 -1
lines
Diff to previous 1.584.2.3 (colored) to branchpoint 1.584 (colored) next main 1.585 (colored)
Pull up following revision(s) (requested by sevan in ticket #1182): bin/cat/cat.c: revision 1.57 distrib/sets/lists/tests/mi: revision 1.675 tests/bin/cat/Makefile: revision 1.2 tests/bin/cat/d_se_output.in: revision 1.1 tests/bin/cat/d_se_output.out: revision 1.1 tests/bin/cat/t_cat.sh: revision 1.3 When invoked with -se, print a '$' on blank lines Obtained from OpenBSD r1.13 of src/bin/cat/cat.c Closes PR bin/51250 Reviewed by Christos@ -- Add a unit test for PR bin/51250 called se_output. se_output checks the output of cat when invoked with '-se', to ensure that a '$' is printed on blank lines. -- Add input/output files for new test case - fix build
Revision 1.677 / (download) - annotate - [select for diffs], Fri Jul 1 22:46:20 2016 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.676: +2 -1
lines
Diff to previous 1.676 (colored)
Add hmac(3)
Revision 1.676 / (download) - annotate - [select for diffs], Wed Jun 29 23:23:05 2016 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.675: +2 -2
lines
Diff to previous 1.675 (colored)
fix sets for MKCRYPTO=no
Revision 1.675 / (download) - annotate - [select for diffs], Thu Jun 16 04:03:37 2016 UTC (6 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.674: +3 -1
lines
Diff to previous 1.674 (colored)
Add input/output files for new test case - fix build
Revision 1.674 / (download) - annotate - [select for diffs], Thu Apr 21 05:10:15 2016 UTC (7 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.673: +2 -1
lines
Diff to previous 1.673 (colored)
Add tests of route flags using IPv6 addresses
Revision 1.673 / (download) - annotate - [select for diffs], Fri Apr 15 01:38:16 2016 UTC (7 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.672: +5 -1
lines
Diff to previous 1.672 (colored)
Add a new test case for PPPoE using PAP From s-yamaguchi@IIJ (with some tweaks by me)
Revision 1.672 / (download) - annotate - [select for diffs], Sat Apr 9 04:39:47 2016 UTC (7 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.671: +2 -1
lines
Diff to previous 1.671 (colored)
Introduce pserialize-safe linked lists. These are like LIST_* from queue(3), but issue the appropriate memory barriers for pserialize readers and writers. Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2016/04/03/msg020365.html
Revision 1.671 / (download) - annotate - [select for diffs], Fri Apr 8 10:09:16 2016 UTC (7 years, 2 months ago) by gson
Branch: MAIN
Changes since 1.670: +5 -1
lines
Diff to previous 1.670 (colored)
Add regression tests for some past gdb bugs.
Revision 1.670 / (download) - annotate - [select for diffs], Wed Apr 6 00:47:15 2016 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.669: +2 -1
lines
Diff to previous 1.669 (colored)
Add wait tests.
Revision 1.669 / (download) - annotate - [select for diffs], Sun Mar 20 22:57:49 2016 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.668: +2 -1
lines
Diff to previous 1.668 (colored)
Add command substitution test.
Revision 1.668 / (download) - annotate - [select for diffs], Wed Mar 16 21:14:35 2016 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.667: +2 -1
lines
Diff to previous 1.667 (colored)
Add the shift test
Revision 1.667 / (download) - annotate - [select for diffs], Wed Mar 16 15:51:15 2016 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.666: +3 -1
lines
Diff to previous 1.666 (colored)
new sh tests
Revision 1.666 / (download) - annotate - [select for diffs], Sun Mar 13 18:56:19 2016 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.665: +2 -1
lines
Diff to previous 1.665 (colored)
Add new sh test
Revision 1.665 / (download) - annotate - [select for diffs], Tue Mar 8 14:27:44 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.664: +2 -2
lines
Diff to previous 1.664 (colored)
remove obsolete test
Revision 1.664 / (download) - annotate - [select for diffs], Fri Mar 4 02:44:45 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.663: +5 -1
lines
Diff to previous 1.663 (colored)
Add tests for tap(4)
Revision 1.663 / (download) - annotate - [select for diffs], Tue Feb 23 16:21:55 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.662: +2 -1
lines
Diff to previous 1.662 (colored)
add t_option
Revision 1.662 / (download) - annotate - [select for diffs], Mon Feb 22 19:53:16 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.661: +2 -1
lines
Diff to previous 1.661 (colored)
new shell test
Revision 1.661 / (download) - annotate - [select for diffs], Fri Jan 29 04:15:46 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.660: +2 -1
lines
Diff to previous 1.660 (colored)
Add tests for a gateway not on the local subnet The tests are derived from the example at http://www.netbsd.org/docs/network/#nonsubnetgateway , which has come up in PR 50717.
Revision 1.660 / (download) - annotate - [select for diffs], Mon Jan 25 03:14:29 2016 UTC (7 years, 4 months ago) by jnemeth
Branch: MAIN
Changes since 1.659: +2 -1
lines
Diff to previous 1.659 (colored)
Add t_hypot to fix build break. Hi gson!
Revision 1.659 / (download) - annotate - [select for diffs], Tue Jan 5 17:22:38 2016 UTC (7 years, 5 months ago) by jakllsch
Branch: MAIN
Changes since 1.658: +6 -1
lines
Diff to previous 1.658 (colored)
Add some tests for the kernel HID parser.
Revision 1.658 / (download) - annotate - [select for diffs], Fri Jan 1 21:38:54 2016 UTC (7 years, 5 months ago) by jakllsch
Branch: MAIN
Changes since 1.657: +6 -1
lines
Diff to previous 1.657 (colored)
tests for libusbhid (many of which fail)
Revision 1.657 / (download) - annotate - [select for diffs], Sat Dec 5 18:47:43 2015 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.656: +3 -1
lines
Diff to previous 1.656 (colored)
new files
Revision 1.656 / (download) - annotate - [select for diffs], Fri Dec 4 19:36:53 2015 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.655: +2 -1
lines
Diff to previous 1.655 (colored)
add gpt directory
Revision 1.655 / (download) - annotate - [select for diffs], Fri Dec 4 17:19:33 2015 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.654: +12 -1
lines
Diff to previous 1.654 (colored)
Add gpt tests
Revision 1.654 / (download) - annotate - [select for diffs], Wed Nov 18 18:36:53 2015 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.653: +2 -1
lines
Diff to previous 1.653 (colored)
Add new db test.
Revision 1.653 / (download) - annotate - [select for diffs], Thu Nov 12 05:05:24 2015 UTC (7 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.652: +2 -1
lines
Diff to previous 1.652 (colored)
Add tests of IPv6 link local address From s-yamaguchi@IIJ
Revision 1.652 / (download) - annotate - [select for diffs], Wed Nov 11 07:52:57 2015 UTC (7 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.651: +2 -1
lines
Diff to previous 1.651 (colored)
Add tests for RA From s-yamaguchi@IIJ (with some tweaks by me)
Revision 1.651 / (download) - annotate - [select for diffs], Thu Nov 5 00:02:59 2015 UTC (7 years, 7 months ago) by knakahara
Branch: MAIN
Changes since 1.650: +5 -1
lines
Diff to previous 1.650 (colored)
add basic if_gif tests to ATF.
Revision 1.650 / (download) - annotate - [select for diffs], Wed Oct 14 16:33:42 2015 UTC (7 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.649: +2 -1
lines
Diff to previous 1.649 (colored)
add new test
Revision 1.649 / (download) - annotate - [select for diffs], Wed Oct 7 05:24:41 2015 UTC (7 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.648: +2 -1
lines
Diff to previous 1.648 (colored)
Add tests for assigining/deleting IP addresses The tests help to find defects related to creation/deletion of routes/llentries and assigning/deleting of IP addresses.
Revision 1.648 / (download) - annotate - [select for diffs], Fri Sep 25 09:55:49 2015 UTC (7 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.647: +4 -4
lines
Diff to previous 1.647 (colored)
Try to fix set lists for libproc and librtld_db. The latter is probably wrong and needs to be redone with COMPATARCHDIRS magic, but I can't find any documentation how to do it. Matt?
Revision 1.647 / (download) - annotate - [select for diffs], Thu Sep 24 16:36:58 2015 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.646: +2 -1
lines
Diff to previous 1.646 (colored)
debug for libproc
Revision 1.646 / (download) - annotate - [select for diffs], Thu Sep 24 14:49:39 2015 UTC (7 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.645: +14 -10
lines
Diff to previous 1.645 (colored)
update for libproc/librtld_db/dtrace changes
Revision 1.645 / (download) - annotate - [select for diffs], Mon Sep 14 05:22:56 2015 UTC (7 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.644: +2 -1
lines
Diff to previous 1.644 (colored)
Add tests for IPv6 ICMP redirect Note that tests for redirect timeout doesn't work for now due to PR kern/50240. From s-yamaguchi@IIJ (with some fixes and tweaks by ozaki-r)
Revision 1.644 / (download) - annotate - [select for diffs], Mon Aug 31 06:16:08 2015 UTC (7 years, 9 months ago) by ozaki-r
Branch: MAIN
Changes since 1.643: +2 -1
lines
Diff to previous 1.643 (colored)
Add tests for ICMP redirect timeout
Revision 1.643 / (download) - annotate - [select for diffs], Thu Aug 27 12:59:36 2015 UTC (7 years, 9 months ago) by rjs
Branch: MAIN
Changes since 1.642: +2 -2
lines
Diff to previous 1.642 (colored)
Don't make fifofs test depend on rump.
Revision 1.642 / (download) - annotate - [select for diffs], Sun Aug 23 18:28:40 2015 UTC (7 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.641: +2 -1
lines
Diff to previous 1.641 (colored)
move the obsolete list files into their respective sets. this means that if you install a new set and run "postinstall fix obsolete" the expected things happen. (hi 12.5 year old me who thought base was better than etc set, which it really was, but this is better again :-)
Revision 1.641 / (download) - annotate - [select for diffs], Mon Aug 10 03:21:44 2015 UTC (7 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.640: +2 -2
lines
Diff to previous 1.640 (colored)
now that we only support gcc 4.8, make all the gcc tags just "gcc". this should help with next-gcc, when we can add back gcc=48 and gcc=5x tags, as necessary.
Revision 1.640 / (download) - annotate - [select for diffs], Mon Aug 10 02:44:37 2015 UTC (7 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.639: +1 -2
lines
Diff to previous 1.639 (colored)
obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.
Revision 1.584.2.3 / (download) - annotate - [select for diffs], Thu Aug 6 21:13:43 2015 UTC (7 years, 10 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.584.2.2: +2 -1
lines
Diff to previous 1.584.2.2 (colored) to branchpoint 1.584 (colored)
Pull up following revision(s) (requested by skrll in ticket #909): distrib/sets/lists/etc/mi: revision 1.237 distrib/sets/lists/tests/mi: revision 1.613 distrib/utils/embedded/conf/armv7.conf: revisions 1.1, 1.2 distrib/utils/embedded/conf/beagleboard.conf: delete distrib/utils/embedded/conf/evbarm.conf: revisions 1.21, 1.22 distrib/utils/embedded/conf/rpi.conf: revisions 1.28, 1.29 distrib/utils/embedded/conf/rpi_inst.conf: revisions 1.7, 1.8 distrib/utils/embedded/conf/usermode.conf: revision 1.5 distrib/utils/embedded/conf/x86.conf: revision 1.5 distrib/utils/embedded/files/resize_disklabel: revision 1.1 distrib/utils/embedded/mkimage: revisions 1.49, 1.55-1.59 etc/defaults/rc.conf: revision 1.133 etc/etc.evbarm/Makefile.inc: revisions 1.72, 1.76 etc/rc.d/Makefile: revision 1.93 via patch etc/rc.d/resize_root: revisions 1.1-1.3 etc/rc.d/root: revision 1.5 sbin/resize_ffs/Makefile: revision 1.5 sbin/resize_ffs/resize_ffs.8: revisions 1.14-1.16 sbin/resize_ffs/resize_ffs.c: revisions 1.39-1.44 share/man/man5/rc.conf.5: revision 1.158, 1.159 tests/sbin/resize_ffs/Makefile: revision 1.4 tests/sbin/resize_ffs/common.sh: revision 1.14 tests/sbin/resize_ffs/t_check.sh: revision 1.1 tests/sbin/resize_ffs/t_grow.sh: revision 1.9 tests/sbin/resize_ffs/t_grow_swapped.sh: revision 1.3 tests/sbin/resize_ffs/t_shrink.sh: revision 1.8 tests/sbin/resize_ffs/t_shrink_swapped.sh: revision 1.2 fix image building: - round up the total size of the disk image - fix fdisk offset for netbsd ffs images -- Make get_dev_size work on regular files too. -- Use `!= -1' instead of `== 0' out of paranoia. -- - Add -c to check to see if grow/shrink is required - Divide by DEV_BSIZE when returning size of file. - Update manpage -- New sentence, new line. Sort option descriptions. -- Add resize_root boot operation. If resize_root=YES in rc.conf then the system attempts to resize the root file system to fill it's partition prior to mounting read-write. Useful for things like AMI file system images. May eventually be used by arm images after coming up with similar solution for increasing the parition size. -- - Add new tests for -c check flag in resize_ffs -- Bump date for previous. it's -> its -- Handle case in grow() where last cylinder group is too small for ufs2. Align with code in shrink(). -- factor out geometry calculation and use this also in CheckOnly mode. be a bit more verbose in Verbose mode. -- Add support for auto-growing the root partition. Enable it for rpi.img. -- initialize resize before pulling in board config -- add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars -- if the -p flag is specified, display a progress bar while growing the file-system -- show resize_ffs progress bar when resizing root partition -- fix typo in previous; pass -y unconditionally to resize_ffs, not -p -- Rename beagleboard.img to armv7.img. The new image includes the same kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1, Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi. -- Properly spell X' name. From X(7): The X.Org Foundation requests that the following names be used when referring to this software: X X Window System X Version 11 X Window System, Version 11 X11 -- Add some documentation: Tell what this does, and what it expects from conf files -- Cleanup: make_filesystems is not used any longer, purge remains -- More cleanup: Instead of first overwriting the *_evbarm functions with own code, and then calling them from the regular functions, directly put the code into the regular functions. No more functions from evbarm.conf are used now. Some variables are still used! -- define TOOL_MKUBOOTIMAGE for mkimage -- fix mkubootimage
Revision 1.639 / (download) - annotate - [select for diffs], Thu Aug 6 08:23:14 2015 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.638: +2 -1
lines
Diff to previous 1.638 (colored)
Add basic tests for IPv6 Address Lifetime Expiry
Revision 1.638 / (download) - annotate - [select for diffs], Mon Aug 3 09:54:20 2015 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.637: +6 -1
lines
Diff to previous 1.637 (colored)
Add tests for NDP
Revision 1.637 / (download) - annotate - [select for diffs], Thu Jul 30 02:52:53 2015 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.636: +2 -1
lines
Diff to previous 1.636 (colored)
Add tests for IPv4 DAD
Revision 1.636 / (download) - annotate - [select for diffs], Wed Jul 29 19:18:18 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.635: +2 -2
lines
Diff to previous 1.635 (colored)
fix name of the test
Revision 1.635 / (download) - annotate - [select for diffs], Wed Jul 29 18:27:18 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.634: +2 -1
lines
Diff to previous 1.634 (colored)
new lint test.
Revision 1.634 / (download) - annotate - [select for diffs], Wed Jul 29 06:10:09 2015 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.633: +5 -1
lines
Diff to previous 1.633 (colored)
Add tests for ARP
Revision 1.633 / (download) - annotate - [select for diffs], Tue Jul 28 18:08:37 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.632: +2 -1
lines
Diff to previous 1.632 (colored)
new test
Revision 1.632 / (download) - annotate - [select for diffs], Wed Jul 1 15:37:35 2015 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.631: +2 -1
lines
Diff to previous 1.631 (colored)
new test
Revision 1.631 / (download) - annotate - [select for diffs], Wed Jul 1 08:33:31 2015 UTC (7 years, 11 months ago) by ozaki-r
Branch: MAIN
Changes since 1.630: +2 -1
lines
Diff to previous 1.630 (colored)
Add tests of interface creation/destruction
Revision 1.630 / (download) - annotate - [select for diffs], Wed Jun 24 01:39:24 2015 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.629: +23 -23
lines
Diff to previous 1.629 (colored)
Remove spurious rump from directories
Revision 1.629 / (download) - annotate - [select for diffs], Mon Jun 22 19:10:14 2015 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.628: +2 -1
lines
Diff to previous 1.628 (colored)
add new db test
Revision 1.628 / (download) - annotate - [select for diffs], Mon Jun 22 06:02:02 2015 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.627: +3517 -3517
lines
Diff to previous 1.627 (colored)
Update some of the set lists to use the compatdir/compatfile compattestsdir/compattestsfile as well the kmod auto-entry creation. Remove entries that are now instantiated by the above.
Revision 1.627 / (download) - annotate - [select for diffs], Wed May 27 18:13:14 2015 UTC (8 years ago) by kefren
Branch: MAIN
Changes since 1.626: +2 -1
lines
Diff to previous 1.626 (colored)
Add another simple MPLS test but using this time a mixed IPv4/IPv6 LSR This test encapsulates IPv6 packets, pass them over MPLS to an IPv6 neighbour that switches label and passes forward to an IPv4 neighbour. There, the IPv6 packet is decapsulated and passed to IPv6 stack For the return path we test both implicit and explicit null encapsulations
Revision 1.626 / (download) - annotate - [select for diffs], Wed May 27 16:40:33 2015 UTC (8 years ago) by kefren
Branch: MAIN
Changes since 1.625: +2 -1
lines
Diff to previous 1.625 (colored)
Add a simple IPv6/MPLS test
Revision 1.625 / (download) - annotate - [select for diffs], Tue May 26 22:05:44 2015 UTC (8 years ago) by htodd
Branch: MAIN
Changes since 1.624: +1 -2
lines
Diff to previous 1.624 (colored)
Revert wrong build fix.
Revision 1.624 / (download) - annotate - [select for diffs], Tue May 26 21:37:24 2015 UTC (8 years ago) by htodd
Branch: MAIN
Changes since 1.623: +2 -1
lines
Diff to previous 1.623 (colored)
Fix debug build.
Revision 1.623 / (download) - annotate - [select for diffs], Tue May 26 00:42:07 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.622: +5 -4
lines
Diff to previous 1.622 (colored)
Run mcast tests on rump kernels The tests on anita qemus failed due to that the host network environment didn't meet the tests. The change makes the tests independent from host environments and the tests will pass on any environments including anita qemus. Discussed on tech-kern and tech-net.
Revision 1.622 / (download) - annotate - [select for diffs], Mon May 18 06:27:04 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.621: +2 -1
lines
Diff to previous 1.621 (colored)
Add tests for route flags
Revision 1.584.2.2 / (download) - annotate - [select for diffs], Sat May 16 17:58:46 2015 UTC (8 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC2,
netbsd-7-0-RC1
Changes since 1.584.2.1: +2 -1
lines
Diff to previous 1.584.2.1 (colored) to branchpoint 1.584 (colored)
Pull up following revision(s) (requested by christos in ticket #781): common/lib/libc/stdlib/strtoi.c: revision 1.2 common/lib/libc/stdlib/strtou.c: revision 1.2 distrib/sets/lists/debug/mi: revision 1.113 distrib/sets/lists/tests/mi: revision 1.617 lib/libc/include/namespace.h: revision 1.178 lib/libc/stdlib/Makefile.inc: revision 1.90 via patch lib/libc/stdlib/strtoi.3: revisions 1.1, 1.2 lib/libc/stdlib/strtol.3: revision 1.32 lib/libc/stdlib/strtou.3: revisions 1.1, 1.2 lib/libc/stdlib/strtoul.3: revisions 1.30, 1.31 tests/lib/libc/stdlib/Makefile: revision 1.25 tests/lib/libc/stdlib/t_strtoi.c: revision 1.1 - new test for strtoi - namespace protection for strto{i,u} - separate manpages for strto{i,u} from the ones for strto{u,}l From: Kamil Rytarowski -- Sort ERRORS and SEE ALSO. -- Sort ERRORS and SEE ALSO. -- Sort SEE ALSO.
Revision 1.621 / (download) - annotate - [select for diffs], Fri May 15 10:53:58 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.620: +4 -4
lines
Diff to previous 1.620 (colored)
Add missing rump flag to net/route test files
Revision 1.620 / (download) - annotate - [select for diffs], Wed May 13 10:04:44 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.619: +2 -1
lines
Diff to previous 1.619 (colored)
Add basic tests for IP forwarding
Revision 1.619 / (download) - annotate - [select for diffs], Mon May 11 17:22:37 2015 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.618: +2 -1
lines
Diff to previous 1.618 (colored)
add new lint test.
Revision 1.618 / (download) - annotate - [select for diffs], Tue May 5 21:51:48 2015 UTC (8 years, 1 month ago) by sjg
Branch: MAIN
Changes since 1.617: +3 -1
lines
Diff to previous 1.617 (colored)
New unit-test for make
Revision 1.617 / (download) - annotate - [select for diffs], Fri May 1 14:17:56 2015 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.616: +2 -1
lines
Diff to previous 1.616 (colored)
- new test for strtoi - namespace protection for strto{i,u} - separate manpages for strto{i,u} from the ones for strto{u,}l From: Kamil Rytarowski
Revision 1.616 / (download) - annotate - [select for diffs], Thu Apr 9 16:47:57 2015 UTC (8 years, 2 months ago) by ginsbach
Branch: MAIN
Changes since 1.615: +2 -1
lines
Diff to previous 1.615 (colored)
Split inet_addr(3) tests from t_inet_network into stand-alone t_inet_addr, so that t_inet_network only contains tests for inet_network(3).
Revision 1.615 / (download) - annotate - [select for diffs], Sun Apr 5 06:37:25 2015 UTC (8 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.614: +2 -1
lines
Diff to previous 1.614 (colored)
Add new bind(2) test program
Revision 1.614 / (download) - annotate - [select for diffs], Fri Apr 3 21:38:47 2015 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.613: +2 -1
lines
Diff to previous 1.613 (colored)
add another lint test
Revision 1.613 / (download) - annotate - [select for diffs], Sun Mar 29 19:37:02 2015 UTC (8 years, 2 months ago) by chopps
Branch: MAIN
Changes since 1.612: +2 -1
lines
Diff to previous 1.612 (colored)
- Add new tests for -c check flag in resize_ffs
Revision 1.584.2.1 / (download) - annotate - [select for diffs], Mon Mar 16 18:59:54 2015 UTC (8 years, 2 months ago) by snj
Branch: netbsd-7
Changes since 1.584: +2 -1
lines
Diff to previous 1.584 (colored)
Pull up following revision(s) (requested by bouyer in ticket #596): distrib/sets/lists/tests/mi: revision 1.604 config(1): Fix test breakage Now config(1) checks the content of $S/conf/Makefile.kern.inc. Install it into config(1) test directory to fix test. Noticed by Martin Husemann.
Revision 1.612 / (download) - annotate - [select for diffs], Fri Feb 6 22:24:15 2015 UTC (8 years, 4 months ago) by rjs
Branch: MAIN
Changes since 1.611: +3 -3
lines
Diff to previous 1.611 (colored)
Fix build when MKRUMP=no.
Revision 1.611 / (download) - annotate - [select for diffs], Sat Jan 31 23:09:27 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.610: +3 -1
lines
Diff to previous 1.610 (colored)
PR/49617: Kirk Russell: new posix_fallocate test
Revision 1.610 / (download) - annotate - [select for diffs], Wed Jan 14 22:25:05 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.609: +2 -1
lines
Diff to previous 1.609 (colored)
add vnode kqueue test from PR/48958
Revision 1.609 / (download) - annotate - [select for diffs], Tue Jan 6 21:42:02 2015 UTC (8 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.608: +3 -2
lines
Diff to previous 1.608 (colored)
fix MKGCC=no builds.
Revision 1.608 / (download) - annotate - [select for diffs], Mon Jan 5 22:45:09 2015 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.607: +7 -1
lines
Diff to previous 1.607 (colored)
add in_cksum tests
Revision 1.607 / (download) - annotate - [select for diffs], Mon Jan 5 18:03:59 2015 UTC (8 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.606: +2 -2
lines
Diff to previous 1.606 (colored)
Add missing gcccmds tags.
Revision 1.606 / (download) - annotate - [select for diffs], Mon Jan 5 01:52:23 2015 UTC (8 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.605: +2 -2
lines
Diff to previous 1.605 (colored)
fix MKGCCCMDS=no, and turn it on by default for sun2.
Revision 1.605 / (download) - annotate - [select for diffs], Sun Dec 21 15:38:27 2014 UTC (8 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.604: +2 -1
lines
Diff to previous 1.604 (colored)
Add new test program
Revision 1.604 / (download) - annotate - [select for diffs], Sat Dec 20 07:02:25 2014 UTC (8 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.603: +2 -1
lines
Diff to previous 1.603 (colored)
config(1): Fix test breakage Now config(1) checks the content of $S/conf/Makefile.kern.inc. Install it into config(1) test directory to fix test. Noticed by Martin Husemann.
Revision 1.603 / (download) - annotate - [select for diffs], Mon Dec 8 04:23:03 2014 UTC (8 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.602: +3 -1
lines
Diff to previous 1.602 (colored)
Add basic tests for ifconf (SIOCGIFCONF)
Revision 1.602 / (download) - annotate - [select for diffs], Tue Dec 2 19:56:17 2014 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.601: +23 -1
lines
Diff to previous 1.601 (colored)
add new address printing tests.
Revision 1.601 / (download) - annotate - [select for diffs], Fri Nov 21 01:39:09 2014 UTC (8 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.600: +3 -1
lines
Diff to previous 1.600 (colored)
Add missing file entries of tests/usr.bin/xlint/lint1 This unbreaks the build.
Revision 1.600 / (download) - annotate - [select for diffs], Sat Nov 15 03:22:29 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.599: +1 -1
lines
Diff to previous 1.599 (colored)
Merge tests.
Revision 1.599 / (download) - annotate - [select for diffs], Fri Nov 14 16:21:12 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.598: +1 -0
lines
Diff to previous 1.598 (colored)
Test orphan ELF section placement.
Revision 1.598 / (download) - annotate - [select for diffs], Fri Nov 14 13:30:48 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.597: +1 -0
lines
Diff to previous 1.597 (colored)
Test __start_xxx/__stop_xxx symbol generation.
Revision 1.597 / (download) - annotate - [select for diffs], Fri Nov 14 09:03:39 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.596: +4 -0
lines
Diff to previous 1.596 (colored)
Minimal linker script test.
Revision 1.596 / (download) - annotate - [select for diffs], Wed Oct 29 16:24:32 2014 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.595: +2 -1
lines
Diff to previous 1.595 (colored)
config(1): Check minimal config(1) output files
Revision 1.595 / (download) - annotate - [select for diffs], Mon Oct 20 14:55:03 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.594: +2 -2
lines
Diff to previous 1.594 (colored)
t_mcast is not a rump test (but should be).
Revision 1.594 / (download) - annotate - [select for diffs], Wed Oct 15 21:55:34 2014 UTC (8 years, 7 months ago) by justin
Branch: MAIN
Changes since 1.593: +2 -1
lines
Diff to previous 1.593 (colored)
PR standards/49279 add tests for open_memstream, ported from OpenBSD
Revision 1.593 / (download) - annotate - [select for diffs], Mon Oct 13 13:55:31 2014 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.592: +5 -5
lines
Diff to previous 1.592 (colored)
Sort.
Revision 1.592 / (download) - annotate - [select for diffs], Sat Oct 11 23:10:44 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.591: +6 -1
lines
Diff to previous 1.591 (colored)
add multicast tests
Revision 1.591 / (download) - annotate - [select for diffs], Thu Sep 18 15:25:10 2014 UTC (8 years, 8 months ago) by ozaki-r
Branch: MAIN
Changes since 1.590: +5 -1
lines
Diff to previous 1.590 (colored)
Add net/if_bridge test
Revision 1.590 / (download) - annotate - [select for diffs], Mon Aug 25 20:40:52 2014 UTC (8 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.589: +3 -1
lines
Diff to previous 1.589 (colored)
Add basic support for indirect functions. It allows providing a public function symbol with an implementation choosen at run time. Refactor calls to functions by address in ld.elf_so to create temporary function descriptors on the stack, if the address is not leaked outside. Limitations: - no support for initialising static storage with function pointers - no support for unnamed resolver functions Inspired by FreeBSD's r228435 by kib@freebsd.org.
Revision 1.589 / (download) - annotate - [select for diffs], Sun Aug 24 11:52:45 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.588: +3 -1
lines
Diff to previous 1.588 (colored)
Add tests for backslash escaping in make(1). Many of these tests fail, and I have populated the escape.exp file with the results that I expect, not with the results that make(1) actually produces. Also update the set lists for these tests.
Revision 1.588 / (download) - annotate - [select for diffs], Sun Aug 24 11:50:00 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.587: +34 -34
lines
Diff to previous 1.587 (colored)
sort
Revision 1.587 / (download) - annotate - [select for diffs], Sat Aug 23 15:59:03 2014 UTC (8 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.586: +7 -1
lines
Diff to previous 1.586 (colored)
new make tests
Revision 1.586 / (download) - annotate - [select for diffs], Fri Aug 22 16:45:32 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.585: +95 -33
lines
Diff to previous 1.585 (colored)
Test make(1) by running the maintained tests, not unmaintained copies of them. * Remove all old tests from src/tests/usr.bin/make/d_*. These tests were unmaintained old copies of the actual tests which are maintained under src/usr.bin/make/unit-tests. One exception is the test in d_unmatchedvarparen.mk, which was new, but has nw been added to src/usr.bin/make/unit-tests/varmisc.mk. * In src/tests/usr.bin/make/Makefile, copy all the tests from src/usr.bin/make/unit-tests to ${DESTDIR}/usr/tests/usr.bin/make/unit-tests. * In src/tests/usr.bin/make/t_make.sh, run the tests installed above, instead of the old tests. * In etc/mtree/NetBSD.dist.tests, create the usr/tests/usr.bin/make/unit-tests diectory. * Update the set lists for all the above.
Revision 1.585 / (download) - annotate - [select for diffs], Fri Aug 22 10:51:38 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.584: +12 -12
lines
Diff to previous 1.584 (colored)
sort
Revision 1.491.2.4 / (download) - annotate - [select for diffs], Tue Aug 19 23:45:44 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.491.2.3: +858 -312
lines
Diff to previous 1.491.2.3 (colored) next main 1.492 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.563.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:48:35 2014 UTC (8 years, 10 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.563: +466 -3
lines
Diff to previous 1.563 (colored) next main 1.564 (colored)
Rebase.
Revision 1.584 / (download) - annotate - [select for diffs], Sat Aug 9 07:04:03 2014 UTC (8 years, 10 months ago) by gson
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.583: +2 -1
lines
Diff to previous 1.583 (colored)
Test that reading a CTLTYPE_INT sysctl variable into a buffer that is too small returns ENOMEM, and that reading it into a buffer that is large enough returns the expected sizeof(int) bytes of data.
Revision 1.583 / (download) - annotate - [select for diffs], Thu Aug 7 14:22:13 2014 UTC (8 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.582: +2 -1
lines
Diff to previous 1.582 (colored)
Add missing Kyuafile.
Revision 1.582 / (download) - annotate - [select for diffs], Fri Jul 18 12:36:18 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.581: +2 -1
lines
Diff to previous 1.581 (colored)
Add t_minherit.
Revision 1.581 / (download) - annotate - [select for diffs], Sat Jul 12 15:42:56 2014 UTC (8 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.580: +2 -0
lines
Diff to previous 1.580 (colored)
Mark stray files obsolete (don't just remove them); noted by Paul Goyette. (hi darrenr)
Revision 1.580 / (download) - annotate - [select for diffs], Sat Jul 12 14:40:06 2014 UTC (8 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.579: +1 -3
lines
Diff to previous 1.579 (colored)
Test n17_6 does not yet exist so remove unrequired files and test case
Revision 1.579 / (download) - annotate - [select for diffs], Wed Jul 9 13:50:48 2014 UTC (8 years, 11 months ago) by alnsn
Branch: MAIN
Changes since 1.578: +3 -1
lines
Diff to previous 1.578 (colored)
Add t_cop and t_extmem kernel bpfjit tests to the build.
Revision 1.578 / (download) - annotate - [select for diffs], Tue Jul 8 21:47:21 2014 UTC (8 years, 11 months ago) by alnsn
Branch: MAIN
Changes since 1.577: +2 -1
lines
Diff to previous 1.577 (colored)
Add t_mbuf tests to the build.
Revision 1.577 / (download) - annotate - [select for diffs], Mon Jul 7 19:41:22 2014 UTC (8 years, 11 months ago) by alnsn
Branch: MAIN
Changes since 1.576: +2 -1
lines
Diff to previous 1.576 (colored)
Add bpf/t_mbuf test to the build.
Revision 1.576 / (download) - annotate - [select for diffs], Tue Jul 1 03:43:09 2014 UTC (8 years, 11 months ago) by htodd
Branch: MAIN
Changes since 1.575: +21 -1
lines
Diff to previous 1.575 (colored)
Fix build for ipf tests.
Revision 1.575 / (download) - annotate - [select for diffs], Mon Jun 30 21:32:59 2014 UTC (8 years, 11 months ago) by alnsn
Branch: MAIN
Changes since 1.574: +6 -1
lines
Diff to previous 1.574 (colored)
Add new net/t_bpfjit test.
Revision 1.574 / (download) - annotate - [select for diffs], Wed Jun 25 19:20:46 2014 UTC (8 years, 11 months ago) by alnsn
Branch: MAIN
Changes since 1.573: +3 -1
lines
Diff to previous 1.573 (colored)
Add new libbpfjit tests.
Revision 1.573 / (download) - annotate - [select for diffs], Mon Jun 23 10:53:20 2014 UTC (8 years, 11 months ago) by shm
Branch: MAIN
Changes since 1.572: +2 -1
lines
Diff to previous 1.572 (colored)
Add bm(3) tests
Revision 1.572 / (download) - annotate - [select for diffs], Mon Jun 16 12:54:43 2014 UTC (8 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.571: +2 -1
lines
Diff to previous 1.571 (colored)
Add modfl(3). From FreeBSD.
Revision 1.571 / (download) - annotate - [select for diffs], Sat May 31 20:26:51 2014 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.570: +219 -3
lines
Diff to previous 1.570 (colored)
add missing files for dotcmd tests
Revision 1.570 / (download) - annotate - [select for diffs], Sat May 31 14:36:03 2014 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.569: +197 -1
lines
Diff to previous 1.569 (colored)
new shell tests
Revision 1.413.2.7 / (download) - annotate - [select for diffs], Thu May 22 12:01:33 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.413.2.6: +819 -274
lines
Diff to previous 1.413.2.6 (colored) to branchpoint 1.413 (colored) next main 1.414 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.569 / (download) - annotate - [select for diffs], Thu May 15 16:32:28 2014 UTC (9 years ago) by apb
Branch: MAIN
Changes since 1.568: +3 -3
lines
Diff to previous 1.568 (colored)
sort
Revision 1.568 / (download) - annotate - [select for diffs], Sat May 10 14:15:25 2014 UTC (9 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9
Changes since 1.567: +6 -1
lines
Diff to previous 1.567 (colored)
Add a test case for PR kern/48787.
Revision 1.567 / (download) - annotate - [select for diffs], Tue Apr 29 06:29:02 2014 UTC (9 years, 1 month ago) by uebayasi
Branch: MAIN
Changes since 1.566: +6 -1
lines
Diff to previous 1.566 (colored)
Minimal execve(2) ATF test.
Revision 1.566 / (download) - annotate - [select for diffs], Thu Apr 17 23:15:27 2014 UTC (9 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.565: +2 -2
lines
Diff to previous 1.565 (colored)
Reference the correct test file name... Hello again, xtos!
Revision 1.565 / (download) - annotate - [select for diffs], Thu Apr 17 18:37:07 2014 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.564: +4 -1
lines
Diff to previous 1.564 (colored)
add new lint tests
Revision 1.564 / (download) - annotate - [select for diffs], Sun Apr 6 19:51:40 2014 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.563: +3 -1
lines
Diff to previous 1.563 (colored)
add stp*cpy tests.
Revision 1.563 / (download) - annotate - [select for diffs], Sat Feb 8 19:17:43 2014 UTC (9 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.562: +107 -70
lines
Diff to previous 1.562 (colored)
Update file lists for atf 0.19. This has been tested with both MKKYUA=no (the default) and MKKYUA=yes, as well as with a non-clean tree and a clean build. Hopefully I got the details right... but they were tricky!
Revision 1.562 / (download) - annotate - [select for diffs], Tue Feb 4 08:08:59 2014 UTC (9 years, 4 months ago) by njoly
Branch: MAIN
Changes since 1.561: +2 -1
lines
Diff to previous 1.561 (colored)
Handle another declaration after statement case for lint in c99 mode. Add the corresponding testcase.
Revision 1.561 / (download) - annotate - [select for diffs], Sat Feb 1 20:49:11 2014 UTC (9 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.560: +2 -1
lines
Diff to previous 1.560 (colored)
Add missing Kyuafile for usr.bin/vmstat tests.
Revision 1.560 / (download) - annotate - [select for diffs], Thu Jan 30 15:04:04 2014 UTC (9 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.559: +2 -1
lines
Diff to previous 1.559 (colored)
Add test for uint64 to real long double conversion.
Revision 1.559 / (download) - annotate - [select for diffs], Fri Jan 17 22:34:36 2014 UTC (9 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.558: +2 -1
lines
Diff to previous 1.558 (colored)
Update sets lists for new h_sha1hmac test program.
Revision 1.558 / (download) - annotate - [select for diffs], Wed Jan 15 10:23:32 2014 UTC (9 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.557: +2 -1
lines
Diff to previous 1.557 (colored)
Obsolete /usr/tests/opencrypto
Revision 1.557 / (download) - annotate - [select for diffs], Tue Jan 14 17:53:02 2014 UTC (9 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.556: +19 -1
lines
Diff to previous 1.556 (colored)
Update sets list for new opencrypto test suite
Revision 1.556 / (download) - annotate - [select for diffs], Thu Jan 9 02:18:55 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.555: +3 -2
lines
Diff to previous 1.555 (colored)
add new resolv.conf file
Revision 1.555 / (download) - annotate - [select for diffs], Tue Jan 7 16:47:13 2014 UTC (9 years, 5 months ago) by gson
Branch: MAIN
Changes since 1.554: +4 -1
lines
Diff to previous 1.554 (colored)
Add some minimal tests of vmstat(1), to serve as regression tests for PR bin/44518.
Revision 1.554 / (download) - annotate - [select for diffs], Mon Jan 6 14:50:32 2014 UTC (9 years, 5 months ago) by gson
Branch: MAIN
Changes since 1.553: +2 -1
lines
Diff to previous 1.553 (colored)
Make t_hostent test cases that query the DNS work on systems with no Internet connectivity, by hijacking DNS queries and /etc/resolv.conf accesses using librumphijack and providing a minimal DNS server to answer the queries.
Revision 1.553 / (download) - annotate - [select for diffs], Thu Jan 2 16:46:40 2014 UTC (9 years, 5 months ago) by tho
Branch: MAIN
Changes since 1.552: +2 -2
lines
Diff to previous 1.552 (colored)
Drop superflous "picinstall" flag on "obsolete" items Reported by apb@, thanks!
Revision 1.552 / (download) - annotate - [select for diffs], Thu Jan 2 12:54:36 2014 UTC (9 years, 5 months ago) by tho
Branch: MAIN
Changes since 1.551: +2 -2
lines
Diff to previous 1.551 (colored)
Mark all _pic.a archive files with the 'picinstall' flag. This fixes checkflist with MKPICINSTALL=no. ok christos@.
Revision 1.551 / (download) - annotate - [select for diffs], Tue Nov 12 18:28:36 2013 UTC (9 years, 6 months ago) by kefren
Branch: MAIN
Changes since 1.550: +2 -2
lines
Diff to previous 1.550 (colored)
mark t_ldp_static obsolete (this time correctly)
Revision 1.550 / (download) - annotate - [select for diffs], Tue Nov 12 16:48:39 2013 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.549: +2 -1
lines
Diff to previous 1.549 (colored)
Initial version of fmodl from FreeBSD. Basic test case for the fmod family.
Revision 1.549 / (download) - annotate - [select for diffs], Tue Nov 12 12:22:33 2013 UTC (9 years, 6 months ago) by kefren
Branch: MAIN
Changes since 1.548: +2 -2
lines
Diff to previous 1.548 (colored)
Retire t_ldp_static. It's too heavy weighted for releng's anita and mostly unsuited for atf.
Revision 1.548 / (download) - annotate - [select for diffs], Mon Nov 11 11:10:45 2013 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.547: +2 -1
lines
Diff to previous 1.547 (colored)
NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word as initial value for new processes. This means that long double computations get the expected 63bit mantissa. Binaries tagged as compiled for 6.99.25 and older get the old value. Add a simple test case to ensure that double and long double computation are working correctly.
Revision 1.547 / (download) - annotate - [select for diffs], Sun Oct 27 09:27:23 2013 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.546: +3 -3
lines
Diff to previous 1.546 (colored)
sort
Revision 1.546 / (download) - annotate - [select for diffs], Sat Oct 12 15:30:37 2013 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.545: +2 -1
lines
Diff to previous 1.545 (colored)
add new t_tcp test
Revision 1.545 / (download) - annotate - [select for diffs], Fri Aug 16 15:34:05 2013 UTC (9 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.544: +4 -1
lines
Diff to previous 1.544 (colored)
new hostent related tests.
Revision 1.544 / (download) - annotate - [select for diffs], Sun Aug 11 22:29:03 2013 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.543: +243 -243
lines
Diff to previous 1.543 (colored)
Sort entries in strcmp order.
Revision 1.543 / (download) - annotate - [select for diffs], Sat Aug 10 22:37:06 2013 UTC (9 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.542: +5 -1
lines
Diff to previous 1.542 (colored)
+tp
Revision 1.542 / (download) - annotate - [select for diffs], Thu Jul 25 14:28:29 2013 UTC (9 years, 10 months ago) by kefren
Branch: MAIN
Changes since 1.541: +3 -1
lines
Diff to previous 1.541 (colored)
add a couple of tests for dynamic MPLS routes generation using ldpd
Revision 1.539.2.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:21 2013 UTC (9 years, 10 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.539: +6 -1
lines
Diff to previous 1.539 (colored) next main 1.540 (colored)
sync with HEAD
Revision 1.541 / (download) - annotate - [select for diffs], Tue Jul 23 11:26:33 2013 UTC (9 years, 10 months ago) by kefren
Branch: MAIN
CVS Tags: riastradh-drm2-base2,
riastradh-drm2-base1
Changes since 1.540: +2 -1
lines
Diff to previous 1.540 (colored)
Add a test for RFC4182
Revision 1.540 / (download) - annotate - [select for diffs], Fri Jul 19 04:00:40 2013 UTC (9 years, 10 months ago) by kefren
Branch: MAIN
Changes since 1.539: +5 -1
lines
Diff to previous 1.539 (colored)
Add a couple of basic IP/MPLS forwarding tests
Revision 1.539 / (download) - annotate - [select for diffs], Wed Jul 3 14:01:29 2013 UTC (9 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Changes since 1.538: +6 -6
lines
Diff to previous 1.538 (colored)
Enable tests which does not require rump if MKRUMP=no. Pointed out by christos on source-changes-d.
Revision 1.538 / (download) - annotate - [select for diffs], Tue Jul 2 17:56:06 2013 UTC (9 years, 11 months ago) by nakayama
Branch: MAIN
Changes since 1.537: +2 -2
lines
Diff to previous 1.537 (colored)
rump is required for tests under tests/net/net.
Revision 1.537 / (download) - annotate - [select for diffs], Thu Jun 27 20:03:36 2013 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.536: +2 -1
lines
Diff to previous 1.536 (colored)
add pktinfo tests
Revision 1.491.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:19 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.491.2.2: +77 -28
lines
Diff to previous 1.491.2.2 (colored)
resync from head
Revision 1.536 / (download) - annotate - [select for diffs], Tue May 28 16:57:56 2013 UTC (10 years ago) by joerg
Branch: MAIN
Changes since 1.535: +2 -1
lines
Diff to previous 1.535 (colored)
Add mbsnrtowcs and wcsnrtombs. Approved by core.
Revision 1.535 / (download) - annotate - [select for diffs], Mon Apr 22 21:06:28 2013 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.534: +2 -1
lines
Diff to previous 1.534 (colored)
new t_mktemp
Revision 1.534 / (download) - annotate - [select for diffs], Wed Apr 17 01:36:41 2013 UTC (10 years, 1 month ago) by riz
Branch: MAIN
Changes since 1.533: +2 -1
lines
Diff to previous 1.533 (colored)
Add ./usr/tests/kernel/t_umountstress to set lists, to fix the build.
Revision 1.533 / (download) - annotate - [select for diffs], Sun Apr 14 18:00:48 2013 UTC (10 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.532: +2 -1
lines
Diff to previous 1.532 (colored)
Add missing Kyuafile.
Revision 1.532 / (download) - annotate - [select for diffs], Thu Mar 28 18:51:28 2013 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.531: +2 -1
lines
Diff to previous 1.531 (colored)
new test
Revision 1.531 / (download) - annotate - [select for diffs], Sat Mar 23 15:14:15 2013 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base,
agc-symver
Changes since 1.530: +6 -6
lines
Diff to previous 1.530 (colored)
try to fix sun2
Revision 1.530 / (download) - annotate - [select for diffs], Thu Mar 21 16:51:07 2013 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.529: +9 -1
lines
Diff to previous 1.529 (colored)
new dlopen tests for libpthread.
Revision 1.529 / (download) - annotate - [select for diffs], Fri Mar 8 17:02:29 2013 UTC (10 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.528: +3 -2
lines
Diff to previous 1.528 (colored)
Adapt to renamed test program
Revision 1.528 / (download) - annotate - [select for diffs], Fri Mar 8 10:43:44 2013 UTC (10 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.527: +2 -1
lines
Diff to previous 1.527 (colored)
Add new test program t_sigtimedwait_pr_47625.
Revision 1.527 / (download) - annotate - [select for diffs], Thu Feb 28 21:54:09 2013 UTC (10 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.526: +2 -1
lines
Diff to previous 1.526 (colored)
Locale I/O tests.
Revision 1.526 / (download) - annotate - [select for diffs], Thu Feb 28 15:36:07 2013 UTC (10 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.525: +2 -1
lines
Diff to previous 1.525 (colored)
Add new testprogram
Revision 1.525 / (download) - annotate - [select for diffs], Tue Feb 26 17:08:21 2013 UTC (10 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.524: +2 -1
lines
Diff to previous 1.524 (colored)
add a new rpc test
Revision 1.524 / (download) - annotate - [select for diffs], Mon Feb 25 00:34:15 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.523: +59 -28
lines
Diff to previous 1.523 (colored)
Update file lists to reflect the import of kyua-atf-compat, which has the side-effect of marking several atf-related entries as obsolete (when MKKYUA!=no).
Revision 1.491.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:24:41 2013 UTC (10 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.491.2.1: +418 -697
lines
Diff to previous 1.491.2.1 (colored)
resync with head
Revision 1.523 / (download) - annotate - [select for diffs], Sat Feb 23 22:56:46 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.522: +4 -4
lines
Diff to previous 1.522 (colored)
Remove duplicate (and possibly invalid) 'atf' tags from 3 tests.
Revision 1.522 / (download) - annotate - [select for diffs], Sat Feb 23 22:01:51 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.521: +196 -1
lines
Diff to previous 1.521 (colored)
Autogenerate Kyuafiles next to Atffiles when MKKYUA is set. This is suboptimal: the current high-level definitions of test programs in the Makefiles do not carry enough information to support all the features of Kyuafiles. For example, it is not possible to register test programs that do *not* use the ATF libraries, which is something that has been frequently requested around here; nor it is possible to attach arbitrary metadata to test programs from the Makefile, which is handy particularly for ATF-less test programs. For these reasons, consider this a transitional step. Note that, with this change, you should now be able to use the 'kyua' tool to run the tests in /usr/tests.
Revision 1.521 / (download) - annotate - [select for diffs], Sat Feb 23 14:18:39 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.520: +170 -1
lines
Diff to previous 1.520 (colored)
Register directories and files provided by kyua-cli.
Revision 1.520 / (download) - annotate - [select for diffs], Tue Feb 19 06:06:44 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.519: +19 -1
lines
Diff to previous 1.519 (colored)
Enable the build of kyua-testers and register its files and directories. This is conditional on MKKYUA.
Revision 1.519 / (download) - annotate - [select for diffs], Sun Feb 17 04:36:07 2013 UTC (10 years, 3 months ago) by htodd
Branch: MAIN
Changes since 1.518: +4 -4
lines
Diff to previous 1.518 (colored)
Fix build by adding obsolete to files in /usr/tests/examples.
Revision 1.518 / (download) - annotate - [select for diffs], Sat Feb 16 21:40:42 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.517: +13 -1
lines
Diff to previous 1.517 (colored)
Hook Lutok into the build. This is all protected by the MKKYUA guard.
Revision 1.517 / (download) - annotate - [select for diffs], Sat Feb 16 12:44:25 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.516: +7 -4
lines
Diff to previous 1.516 (colored)
Move tests for examples from tests/examples to tests/share/examples. This is to match the layout of the installed and source files more closely. While doing this, honor the MKSHARE variable, as the files these tests validate are only installed when MKSHARE=yes.
Revision 1.516 / (download) - annotate - [select for diffs], Fri Feb 15 17:09:09 2013 UTC (10 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.515: +4 -3
lines
Diff to previous 1.515 (colored)
Update file lists for atf 0.17.
Revision 1.413.2.6 / (download) - annotate - [select for diffs], Wed Jan 23 00:04:23 2013 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.413.2.5: +5 -705
lines
Diff to previous 1.413.2.5 (colored) to branchpoint 1.413 (colored)
sync with head
Revision 1.515 / (download) - annotate - [select for diffs], Wed Jan 16 16:01:08 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.514: +1 -705
lines
Diff to previous 1.514 (colored)
Add a new "debug" set that gets built when ${MKDEBUG} is set. On evbarm: -rw-r--r-- 1 root src 35806068 Jan 16 10:47 base.tgz -rw-r--r-- 1 root src 57374069 Jan 16 10:48 comp.tgz -rw-r--r-- 1 root src 101286193 Jan 16 10:49 debug.tgz ... This allows always building the debugging code and libraries but not installing it (although now it is placed in the default sets if ${MKDEBUG} is set
Revision 1.413.2.5 / (download) - annotate - [select for diffs], Wed Jan 16 05:26:10 2013 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.413.2.4: +64 -2
lines
Diff to previous 1.413.2.4 (colored) to branchpoint 1.413 (colored)
sync with (a bit old) head
Revision 1.514 / (download) - annotate - [select for diffs], Sun Jan 6 00:36:29 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.513: +3 -1
lines
Diff to previous 1.513 (colored)
add the udp test.
Revision 1.513 / (download) - annotate - [select for diffs], Wed Jan 2 18:12:57 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.512: +4 -2
lines
Diff to previous 1.512 (colored)
fix mtree sets
Revision 1.512 / (download) - annotate - [select for diffs], Tue Dec 4 06:57:44 2012 UTC (10 years, 6 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.511: +3 -3
lines
Diff to previous 1.511 (colored)
Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs.
Revision 1.511 / (download) - annotate - [select for diffs], Sat Dec 1 16:30:00 2012 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.510: +3 -1
lines
Diff to previous 1.510 (colored)
add a bitops test