ngie
e92d59d6f1
Garbage collect argc/argv and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:56:23 +00:00
ngie
7abb75d233
- Garbage collect argc/argv
...
- Use random paths instead of one in /tmp
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:54:43 +00:00
ngie
1d4bda01f8
- Garbage collect argc/argv; bump WARNS to 6
...
- Make the socket path random and move it out of /tmp as that's outside ATF's
prescribed path
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:43:43 +00:00
ngie
1add384e4d
Fix warnings and bump WARNS to 6
...
- Staticize variables as needed
- Garbage collect argc/argv
- Fix -Wsign-compare warnings by casting small sizeof to (int)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:38:49 +00:00
ngie
93d332ff6f
Garbage collect argc/argv and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:35:33 +00:00
ngie
3de93701b1
Mark signum unused in signal_handler; bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:24:49 +00:00
ngie
4cd5f1d88e
Fix a -Wuninitialized warning by setting the socket to -1 and bump WARNS to 6
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:19:48 +00:00
ngie
78724b4a62
- Don't use /tmp because it's outside ATF's prescribed sandbox
...
- Replace a hardcoded PATH_MAX value with sizeof(path)
- Use path like an array, not a pointer, and always try to unlink it in cleanup
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:18:14 +00:00
ngie
7f21766800
Fix warnings and bump WARNS to 6
...
- Garbage collect argc/argv (-Wunused)
- sleep(3) will always return an unsigned int; don't check for return codes <0
(-Wsign-compare)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 03:13:09 +00:00
ngie
ceff40836c
- Garbage collect argc/argv (-Wunused)
...
- Bump WARNS to 6
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 02:59:45 +00:00
ngie
618be626c3
- Use static buffers for temporary file paths instead of strdup of constant strings
...
- Don't use /tmp because it's outside ATF's prescribed sandbox
- Use mkstemp instead of mktemp to eliminate warning
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-11 02:50:44 +00:00
ngie
2af61a7943
Use _exit, not exit in forked process
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:37:53 +00:00
ngie
592f72c342
Remove argc/argv (-Wunused)
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:27:23 +00:00
ngie
9bd6a71c1f
Fix warnings
...
- Remove argc/argv (-Wunused)
- Mark some parameters to socket_listen_update __unused (-Wunused)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:26:21 +00:00
ngie
36eec44673
Remove argc/argv (-Wunused)
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:23:00 +00:00
ngie
eff63aa71f
- Parameterize out the number of accept/connect attempts
...
- Randomize the bind port to allow 2+ consecutive calls in < 10 minutes, and
to also not fail if (for instance) there's a server already listening on port
8080
- Don't leak the listening socket / fds into the child process
- Fix warnings:
-- Remove argc/argv (-Wunused)
-- Mark sig __unused (-Wunused)
-- Mark quit static (-Wmissing-variable-declarations)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 09:21:07 +00:00
ngie
43ee10c122
Fix -Wunused warnings, bump WARNS to 6
...
The output is still broken if prove -rv is run and the testcase aborts
prematurely with fail_assertion (the testcase doesn't really conform to TAP
protocol properly, except when it completes fully)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 08:01:49 +00:00
ngie
8852907154
Fix -Wunused warnings, bump WARNS to 6
...
The testcase fails today on subtest # 9
The output is still broken if prove -rv is run and the testcase aborts
prematurely (the testcase doesn't really conform to TAP protocol properly,
except when it completes fully)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 07:59:46 +00:00
ngie
0591d7c2f2
Fix warnings, fix a typo in a testcase description, bump WARNS to 3
...
- Remove argc/argv (-Wunused)
- Cast len in comparison to size_t (-Wsign-compare)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-04-10 07:35:53 +00:00
bdrewery
96f50dff77
- Fix support with new elftoolchain readelf(1)
...
- Fix not finding global symbols by checking for D and R.
- Follow symlinks
- Show which matching symbol was used to consider the library needed.
Discussed with: bapt
2015-04-09 22:16:35 +00:00
glebius
4d10ee85d7
Remove debugging code that sneaked in.
2015-04-09 07:52:03 +00:00
glebius
4a12d7101e
Provide a gdb script, that prints routing tables from a live kernel or a
...
core file, much like 'netstat -anr' does it for living kernel.
Right now only AF_INET routing table is printed. AF_INET6 needs to
be done. But the most difficult part of the script (recursion!) is
complete.
Sponsored by: Nginx, Inc.
2015-04-09 07:45:30 +00:00
glebius
78d51c7b15
Stop including if_var.h from userland.
...
Sponsored by: Nginx, Inc.
2015-04-06 09:42:23 +00:00
adrian
80648dff8a
Typecast things.
2015-04-06 00:34:59 +00:00
bdrewery
c190dcf4c6
Remove specific reference to g++(1) for WITH_CXX as it may be clang.
...
MFC after: 1 week
2015-04-03 23:55:04 +00:00
adrian
58943901b7
Don't use a private copy of the ANI definitions - use the HAL definitions.
...
Whilst I'm at it:
* fix the NI+ to be correct, rather than NI-;
* use the diag api codes, now that the HAL is public.
Tested:
* AR9380, STA mode
2015-04-01 04:57:27 +00:00
ngie
ee03676b70
- Fix -Wsign issue
...
- Bump up to WARNS=6
2015-03-31 06:51:13 +00:00
ngie
dbd242443f
Minor cleanup before converting to ATF testcases
...
- Remove blank (tab-only) lines.
- Fix -Wunused warnings.
- Bump up to WARNS= 6
2015-03-31 06:50:28 +00:00
ngie
6e3c8628a6
Cleanup and do minor refactoring before converting testcases to ATF
...
- Convert errx(-1, ..) to errx(1, ..)
- Move the aio(4) checks to a single function (aio_available); use modfind(2)
instead of depending on SIGSYS (doesn't work when aio(4) support is missing,
not documented in the aio syscall manpages).
- Use aio_available liberally in the testcase functions
- Use mkstemp(3) + unlink(2) instead of mktemp(3)
- Fix some -Wunused warnings
- Bump WARNS to 6
MFC after: 1 week
Submitted by: mjohnston [*]
Sponsored by: EMC / Isilon Storage Division
2015-03-31 06:43:55 +00:00
amdmi3
b0ece496c1
- Remove more files when MK_ZONEINFO == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:44:46 +00:00
amdmi3
37650bc000
- Remove more files when MK_TESTS_SUPPORT == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:43:25 +00:00
amdmi3
01a4084e15
- Remove more files when MK_LEGACY_CONSOLE == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:42:00 +00:00
amdmi3
5b9e43b4b3
- Remove more files when MK_KERBEROS_SUPPORT == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:39:59 +00:00
amdmi3
2629e24b80
- Remove more files when MK_KDUMP == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:37:57 +00:00
amdmi3
cf14ab226e
- Remove more files when MK_JAIL == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:36:51 +00:00
amdmi3
8914c8573e
- Remove more files when MK_CASPER == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-31 04:31:42 +00:00
amdmi3
bff85a3854
- Remove more files when MK_INET6 == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-30 14:13:01 +00:00
amdmi3
119e750bf8
- Remove more files when MK_FORTH == no
...
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
2015-03-30 14:00:17 +00:00
jilles
1e1b2bdf13
wordexp(): Add testcase for non-default IFS in environment.
...
The non-default IFS is expected to be used.
MFC after: 1 week
2015-03-29 22:00:24 +00:00
adrian
ec0075c6d6
Bump mask to be 64 bits - this fixes seeing MCS rates > 19.
...
Tested:
* AR9380, STA mode, associated to a 3x3 AP (also FreeBSD)
2015-03-23 03:43:59 +00:00
kib
862f41014f
Cosmetics:
...
- Move to ANSI definitions syntax, removing warnings about type promotions.
- Remove __P().
- Staticise everything.
- Remove warnings about unused args for signal handlers.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2015-03-18 22:05:15 +00:00
dim
d6cbc26f78
Merge ^/head r279759 through r279892.
2015-03-11 19:04:01 +00:00
jilles
84c0730b38
env: Fix crash when -S string is not empty but no operand follows.
...
split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().
Examples:
env -S '\c'
env -S -i
PR: 197769
MFC after: 1 week
2015-03-08 14:12:43 +00:00
dim
546a43cb5f
Merging ^/head r279596 through r279758.
2015-03-07 23:01:27 +00:00
jilles
964c68ec8c
env: Fix testsuite for additional variables set by sh.
...
MFC after: 1 week
2015-03-07 13:54:44 +00:00
dim
c00aebe665
Merge ^/head r279313 through r279595.
2015-03-04 19:47:33 +00:00
bapt
67bdeeb5aa
Remove gperf(7) if gperf is not installed
2015-03-02 22:13:33 +00:00
bapt
4bf7df989e
Install manpage version of texinfo documentation for binutils
2015-03-02 17:24:04 +00:00
markj
1d7deb561b
Remove the old DTrace test suite makefile - it was somewhat primitive and
...
mostly unmaintained, and it has been superseded by the infrastructure added
in r279418.
Reviewed by: ngie
Sponsored by: EMC / Isilon Storage Divison
2015-02-28 23:35:29 +00:00
dim
9bd5a747dd
Merge ^/head r279023 through r279162.
2015-02-22 16:04:37 +00:00