Poul-Henning Kamp
511dca89b7
polish various bits.
2005-08-02 20:09:45 +00:00
Poul-Henning Kamp
d9f9156b84
Ignore CVS directories
2005-08-02 20:09:24 +00:00
Poul-Henning Kamp
7abfae504a
typo
2005-08-01 08:24:03 +00:00
Poul-Henning Kamp
c14037d0a2
Add stuff to HTML output.
2005-07-31 15:42:25 +00:00
Poul-Henning Kamp
68d71fe787
The beginnings of a tool to survey the build options (NO_THIS, NO_THAT etc)
...
for effect.
2005-07-31 14:16:13 +00:00
Dag-Erling Smørgrav
8b4c82b30e
In realpath(), make sure each path component consists only of safe
...
characters, and untaint it.
2005-07-29 11:28:03 +00:00
Dag-Erling Smørgrav
614232077b
Differentiate between empty and short reports, and raise the bar for what
...
we consider a short report to 128 characters. Canonicalize %%HOME%%.
2005-07-29 11:25:10 +00:00
Dag-Erling Smørgrav
9c89ce0f27
Don't email reports that are empty or very short, as can happen if tbmaster
...
fails to exec the tinderbox script.
2005-07-29 11:18:35 +00:00
Dag-Erling Smørgrav
e873b4d1bc
Shorten src / obj paths while capturing logs, making them both smaller and
...
easier to read.
2005-07-28 10:09:22 +00:00
Pawel Jakub Dawidek
229e613662
Add regression tests (121 in total) for GEOM_ELI class.
...
To use them, run:
# prove /usr/src/tools/regression/geom_eli
Sponsored by: Wheel Sp. z o.o.
http://www.wheel.pl
MFC after: 1 week
2005-07-27 22:27:30 +00:00
Christian S.J. Peron
914aa01ca3
Add a description for bpfstat
2005-07-26 21:44:40 +00:00
Christian S.J. Peron
c0b73d79e5
Introduce a bpfstat utility. This program can be used to retrieve
...
stats provided by bpf(4). This program will live in tools/ for now
until we figure out where it will live permanently. Based on some
discussions on developers@, it is likely that we will be adding
this functionality to netstat(1) at some point.
2005-07-26 21:38:54 +00:00
Poul-Henning Kamp
2a6de17fc9
Add the first snapshot at rewriting the nanobsd build to be a shellscript.
...
The overall idea is to get a single build script which will not need
editing, but instead overrides and changes happen by config files passed
as arguments.
2005-07-26 18:52:50 +00:00
Philip Paeps
fc2d060bf7
Add some more NO_FOO options. I'm not sure if they're correctly sorted in the
...
size-scheme. Also add commented NO_BIND_FOO options for people who want named
but not all of the bloat it likes to include by default.
While here, make a comment about BOOT_COMCONSOLE_SPEED.
2005-07-25 09:15:12 +00:00
Philip Paeps
1d22933171
Add fstab entries for ALTROOTSLICE and CFGSLICE, allowing us to do away with
...
most of the hardcoding of device names in installed convenience scripts.
Provide a new script (root/updatep) to easily update the ALTROOTSLICE. It
does the same as updatep1/updatep2 without hardcoded device names. If noone
protests, I'd like to get rid of updatep1/updatep2 at some point.
As an extra bonus: turn on the error led while updating (on hardware with a
led).
2005-07-25 08:40:13 +00:00
Pawel Jakub Dawidek
3c0a99e66e
Change jail IP from 1.0.0.127 to 127.0.0.1, which shows, that this test
...
doesn't examine the real issue as it pass without problems.
2005-07-23 05:40:17 +00:00
Sam Leffler
1686ab4639
update for recent additions
2005-07-22 23:37:03 +00:00
Sam Leffler
0b42c00c0e
update with new msg classes
2005-07-22 23:33:33 +00:00
Robert Watson
b7b85f242e
Add a simple multicast socket regression test set:
...
- Test that the basic socket options have the right defaults, that we can
change them, read them back, etc.
- Add and remove some multicast addresses.
- Send a loopback multicast address and make sure it arrives intact.
There's more that could be done here, but it's a start.
MFC after: 3 days
2005-07-22 19:36:29 +00:00
Poul-Henning Kamp
4a7f3dcea5
In 2003, a -s flag was added to ministat to separate the
...
avg/median/stddev bars onto separate lines for readability if the
ranges overlapped. In 2005, ministat was extended to support more than
2 datasets, but the -s code was not updated. It will coredump if run
with -s and >2 sets.
PR: 82909
Submitted by: Dan Nelson <dnelson@allantgroup.com>
2005-07-21 08:32:56 +00:00
Dag-Erling Smørgrav
dc8d555647
Catch up.
2005-07-20 20:01:37 +00:00
Dag-Erling Smørgrav
747e5e832f
Remove redundant rc files.
2005-07-20 20:00:51 +00:00
Dag-Erling Smørgrav
a3264f50a1
CURRENT -> HEAD, and dump ia64 and powerpc.
2005-07-20 19:59:46 +00:00
Dag-Erling Smørgrav
d40cc34afc
Use 'HEAD' instead of 'CURRENT', while retaining backward compatibility.
2005-07-20 19:58:47 +00:00
Dag-Erling Smørgrav
866f6f4dda
Include RELENG_4_11 and RELENG_4.
2005-07-20 19:51:13 +00:00
Dag-Erling Smørgrav
811f4dda90
Include RELENG_5_4 and RELENG_5. Chuck out ia64.
2005-07-20 19:50:29 +00:00
Dag-Erling Smørgrav
aa17454eed
Add rc files for RELENG_6.
2005-07-20 19:49:36 +00:00
R. Imura
1404c3a4b8
Add another regression tests for msdosfs which covers msdosfs_conv.c rev 1.45.
...
Requested by: silby
2005-07-18 12:15:24 +00:00
Garance A Drosehn
e9651b673d
Correct one regression test (which was expected an incorrect answer), and
...
add a few more tests. This matches bug fixes recently committed to 'env'.
2005-07-15 02:31:15 +00:00
Philip Paeps
205ede2568
Fix a minor buglet making the code match the comment. Fractional cylinders
...
confuse fdisk and break the NanoBSD build.
This is an MT5/6 candidate.
MFC after: 3 days
2005-07-14 12:20:02 +00:00
Garance A Drosehn
2c87a19e7a
Upgrade these regression tests to track recent changes to `env'.
...
Approved by: re (blanket `env')
2005-06-21 21:43:38 +00:00
Garance A Drosehn
6cc00fe24c
Add a suite of regression tests for all the recent changes to `env',
...
using my own script to handle it. I wrote my own partially because
of all the quoting-issues involved with testing what I wanted to test,
and partially because this lets me commit one script and one data file,
instead of one-file-per-regression-test.
This suite was good enough for my initial testing (and it did help me
find a few bugs that would have otherwise been missed). I'm not sure
how well it will work in general use, but I figured I might as well
commit it. It won't *hurt* to have it available. At the worst, people
can just ignore it.
Approved by: re (blanket `env')
2005-06-20 04:17:12 +00:00
Maxim Konovalov
922a5d9c2b
o setsockopt(2) cannot remove accept filter. [1]
...
o getsockopt(SO_ACCEPTFILTER) always returns success on listen socket
even we didn't install accept filter on the socket.
o Fix these bugs and add regression tests for them.
Submitted by: Igor Sysoev [1]
Reviewed by: alfred
MFC after: 2 weeks
2005-06-11 11:59:48 +00:00
Maxim Sobolev
a09b2401cd
Add entry for recoverdisk.
2005-06-06 00:18:17 +00:00
Hartmut Brandt
5878452aa9
Add a test for escaped newline handling.
2005-06-01 11:26:47 +00:00
Hartmut Brandt
6772dd14cb
Add support for TODO tests. These are tests that are supposed to fail,
...
because of a make bug that should be fixed.
2005-06-01 11:25:38 +00:00
Hartmut Brandt
d9ea463fbf
Change the test infrastructure so that tests are easier to maintain and
...
so that make(1) will run in an almost clean environment and enhance the
description of the test infrastructure.
Add the ability to have multiple tests carried out per test script.
Give some tests more meaningful names.
Fix the usage message from the test scripts.
Make it possible to pass several commands to the test scripts like:
'sh test.t setup run compare clean'.
2005-05-31 14:13:07 +00:00
Robert Watson
cd05b0f7a1
dd a '-n' option to ministat, which causes it to display only summary
...
statistics, not graph and statistical test output. Useful for automated
processing.
2005-05-27 17:52:56 +00:00
Hartmut Brandt
cfc967e66a
Add a test to check whether in compat mode make detectes builtins
...
on the command line and really executes the shell instead of directly
executing the command.
2005-05-20 15:25:04 +00:00
Hartmut Brandt
ac8946e3d3
Add a test to ensure that in compat mode when a line contains no
...
shell meta characters it is not passed to the shell, but the command
is executed directly (given that the line is not a shell builtin) and
that the line with a meta character is passed to the shell.
2005-05-20 15:06:27 +00:00
Hartmut Brandt
c9302692e6
Add a test that test whether we can replace the shell to use by
...
make with another shell and set all its parameters (meta and builtins
not tested here).
2005-05-20 14:50:30 +00:00
Poul-Henning Kamp
0f93d8245d
Make the path to make.conf a parameter which can be overridden.
...
NB: you have to use absolute path!
2005-05-19 15:34:36 +00:00
Poul-Henning Kamp
af7b2a826c
Save space by using -b 4096 -f 512 for newfs.
...
Retain -i 8192 to avoid wasting inodes.
2005-05-19 15:34:00 +00:00
Poul-Henning Kamp
3ed0460401
Run the "files" customization script
2005-05-19 15:24:23 +00:00
Poul-Henning Kamp
a2830531c0
Add some runtime admin/tool scripts
2005-05-19 15:23:47 +00:00
Poul-Henning Kamp
63ad46aa0d
Add a couple of basic customization scripts.
2005-05-19 15:20:49 +00:00
Poul-Henning Kamp
b715b67f2c
Explain the magic
2005-05-19 13:33:21 +00:00
Hartmut Brandt
56f5aba2ca
Some test cases for .SHELL target: builtin shell selection and
...
changing the path of a builtin shell.
2005-05-19 11:23:01 +00:00
Ruslan Ermilov
228f8c4f8b
Make <runefile.h> internal to libc.
...
Suggested by: phantom
2005-05-16 09:32:41 +00:00
Robert Watson
31ae050211
Add an #ifdef'd non-blocking version of the test.
...
Update copyright.
2005-05-16 00:54:47 +00:00
Robert Watson
868ee99ce3
Close the connect socket as well as the listen socket on completion.
...
Update copyright.
2005-05-16 00:53:38 +00:00
Marcel Moolenaar
e108c3d726
o -n option added.
...
o -x option added.
2005-05-15 07:35:34 +00:00
Tai-hwa Liang
8c003d1784
Catching up with the latest crypto API changes in net80211.
...
Reviewed by: sam
2005-05-05 13:16:30 +00:00
Hajimu UMEMOTO
df66c5631e
add simple test script.
2005-05-05 11:26:47 +00:00
Hajimu UMEMOTO
9118a9f020
- add $FreeBSD$.
...
- enable -r option for regress target.
2005-05-04 19:40:30 +00:00
Hajimu UMEMOTO
d70ba80285
- add $FreeBSD$.
...
- do service lookup.
- add options to use gethostbyname(3) or getipnodebyname(3) instead
of getaddrinfo(3).
- add option to do reverse lookup.
2005-05-04 12:02:10 +00:00
Hajimu UMEMOTO
6533c1fe80
This commit was generated by cvs2svn to compensate for changes in r145857,
...
which included commits to RCS files with non-trunk default branches.
2005-05-04 11:55:42 +00:00
Hajimu UMEMOTO
c01a5804da
import of parallel name resolution test.
...
Obtained from: NetBSD
2005-05-04 11:55:42 +00:00
Dag-Erling Smørgrav
507e86aa47
Reduce diffs against actual production configuration.
2005-04-30 18:26:05 +00:00
Dag-Erling Smørgrav
de57e6667e
Remove a line which merely echoed the builtin default.
2005-04-30 18:25:01 +00:00
Dag-Erling Smørgrav
51c0f059e0
Split the 'clean' command into 'cleansrc', 'cleanobj' and 'cleanroot'.
...
Specifying 'clean' is equivalent to specifying all three.
2005-04-30 18:22:12 +00:00
Dag-Erling Smørgrav
69a5883615
Add 'cleanobj' to the default target list.
2005-04-30 17:57:11 +00:00
Hartmut Brandt
1b26a92962
Add an initial regression test suite for make(1).
...
Submitted by: Max Okumoto <okumotu@ucsd.edu> (partly, initial version)
2005-04-28 13:20:48 +00:00
David Xu
be6c0196e0
Adjust code to be more reliable.
2005-04-24 00:17:30 +00:00
David Xu
3586efad69
Add a program to test if tls data is clean.
2005-04-23 23:47:58 +00:00
Maxime Henrion
163609768e
Fix printf() format string errors with 64-bit architectures.
...
Spotted by: pav
2005-04-21 19:28:22 +00:00
Poul-Henning Kamp
e40bef3c10
Remove redundant line, add comment about termcap
2005-04-19 15:15:35 +00:00
Tai-hwa Liang
da833457eb
Adding another multi-byte characters related regression test for msdosfs.
...
Tested by: njl
Reviewed by: silby, bde, sam (mentor)
2005-04-18 13:06:43 +00:00
Mike Silbersack
fb3153e1ee
Add another regression test - one we don't pass right now.
2005-04-17 00:56:38 +00:00
Mike Silbersack
756f6b7398
Have the regression test use a path in /tmp for a mount point
...
instead of a directory that only exists on my machine.
2005-04-17 00:40:27 +00:00
Tom Rhodes
932d3e21cc
Those who are ungodlike should be returned an error.
2005-04-16 18:41:00 +00:00
Robert Watson
babcc5ad79
Starting point for a regression test for mac_bsdextended(4)/libugidfw(3).
...
Currently only performs basic tests against the library string routines,
and queries less important kernel state.
Obtained from: TrustedBSD Project
Sponsored by: SPAWAR, SPARTA
MFC after: 3 days
2005-04-16 12:06:40 +00:00
Stefan Farfeleder
a87ba6e923
Also test \0 in the format string.
2005-04-14 18:33:14 +00:00
Poul-Henning Kamp
640f692f57
sort and expand the prunelist in a more or less generally sensibly
...
order. Put some strategic comments in about how much storage is
necessary and a longer explanation on the top.
It is now pretty trivial to put nanoBSD on as little as a 64MB CF card.
Sponsored by: Soekris Engineering.
2005-04-13 21:22:20 +00:00
Poul-Henning Kamp
37d04bc5d9
Introduce NANOBSD_PRUNE which can be used to zap out bits we don't
...
want to carry forward.
2005-04-13 21:20:16 +00:00
Poul-Henning Kamp
bdc9311ac7
Use df -i
2005-04-13 21:19:28 +00:00
Stefan Farfeleder
91e3aee000
Add a few regression tests for printf(1).
2005-04-13 20:08:17 +00:00
Poul-Henning Kamp
d668f22a0c
Add NO_DICT handle. Saves almost 3.5 MB installed.
2005-04-13 10:02:58 +00:00
Matthew N. Dodd
afe98543b8
Add support for more than two datasets. Currently limited to 7 though
...
the limit is only the number of meaningful graph symbols available.
Statistical comparison is performed between the first dataset and
any further datasets.
No objection by: phk
2005-04-13 05:50:56 +00:00
Matthew N. Dodd
478521fa8d
Save argv[0] and use it in usage message.
2005-04-13 01:44:59 +00:00
Tai-hwa Liang
74c77551ed
Adding a brief description for pirtool.
...
Reviewed by: sam (mentor)
2005-04-12 13:52:55 +00:00
Robert Watson
11853de0a1
Centralize usage in usage(), and use in preference to fprintf().
...
List possible tests in usage().
When running a test, print the test name.
2005-04-10 02:06:49 +00:00
Mike Silbersack
50ac04ddbc
A simple regression test for msdosfs. Not the best, but it would have caught
...
the recent trouble msdosfs had.
2005-04-08 07:21:07 +00:00
David Schultz
5b8adb5fd1
Add missing test-rem.t.
2005-04-02 12:50:28 +00:00
Sam Leffler
211faaafa9
print new stats for cts burst extension logic
2005-03-30 20:21:44 +00:00
Sam Leffler
cc60079bc7
fix typo
2005-03-30 19:28:00 +00:00
Sam Leffler
a0aef338f1
handle rejoin event
2005-03-29 20:24:13 +00:00
David Schultz
cd775c1a33
A few simple regression tests for remainder(), remainderf(),
...
remquo(), and remquof().
2005-03-25 06:24:46 +00:00
Pawel Jakub Dawidek
1897c44125
Add regression tests for pkill/pgrep.
...
MFC after: 3 days
2005-03-20 12:38:08 +00:00
John-Mark Gurney
ca9ac06c99
I forgot to commit this fix that is now kgdb aware...
2005-03-20 02:08:21 +00:00
Poul-Henning Kamp
5f673b316f
I keep forgetting that I wanted the customize logs collected too.
...
Reminded by: Lennart Sorth, Andrea Campi and others.
2005-03-17 19:45:05 +00:00
David Schultz
565b7c794f
- Replace fe[gs]etmask() with feenableexcept(), fedisableexcept(), and
...
fegetexcept().
- Add additional tests for the above.
- Output a separate success message for each of the 8 components of
this set of tests.
2005-03-16 19:04:45 +00:00
Jeff Roberson
de4c115cf8
- ktrace(1) has nothing to do with schedgraph. Remove that from the
...
instructions.
2005-03-14 11:52:24 +00:00
Poul-Henning Kamp
7da2c6720f
Add NO_GPIB
2005-03-12 20:42:18 +00:00
Poul-Henning Kamp
60cab5fbfc
DTRT with /var so that any packages installed are correctly recorded.
2005-03-12 20:41:26 +00:00
Poul-Henning Kamp
4d18cc412d
Enable packet mode in boot0, this makes it unimportant if the
...
geometry is 100% correct on most hardware.
2005-03-12 20:40:33 +00:00
Robert Watson
d64ac531ac
Check the return value of shutdown().
2005-03-11 13:05:18 +00:00
Robert Watson
b27b61f9eb
Add sigpipe, a simple UNIX domain socket and TCP regression test that is
...
intended to verify that SIGPIPE is delivered to a process writing or
sending on a socket that has been shut down for write. If available,
SO_NOSIGPIPE is also tested.
This regression test is currently passed by RELENG_4, but not by HEAD or
RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not
present in RELENG_4, however, so is not tested there.
Reported by: Mikko Tyolajarvi <mbsd at pacbell dot net>
PR: 78478
2005-03-11 12:47:14 +00:00
David Schultz
ca4fcf3f3e
Test cases for nextafter{,f,l} and nexttoward{,f,l}.
2005-03-07 05:03:46 +00:00
Dag-Erling Smørgrav
1d56d42a39
Markup nits.
2005-03-03 07:20:57 +00:00