phk
052492c05d
Utility to load one of our XML images into a MD(4) device.
2003-04-09 12:34:20 +00:00
das
baf74df098
Additional regression tests for grouping, parsing of '.*', and printing
...
of %f formats where the number of significant digits is < expt.
2003-04-07 00:42:49 +00:00
imp
a3dc544bfe
-legacy and /.../legacy/... looks better than build or bootstrap in
...
the logs, so use that instead.
Submitted by: obrien.
2003-04-06 21:46:44 +00:00
tjr
3b10d8d86d
Test for bug in revision 1.54 of vfprintf.c.
2003-04-06 08:02:20 +00:00
imp
070e2898a0
We can't use ${WORLDTMP}/usr/{include,lib} for the compat layer. This
...
is because we populate these directories later, and a subsequent
-DNOCLEAN build may fail. So, we put them in
${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot.
Again, this works on -stable and -current, but might break older
versions.
Submitted by: ru@
2003-04-06 03:50:28 +00:00
imp
b7e83c7b41
Don't need the gccism include_next since we won't create this file
...
when a real sys/endian.h exists.
Submitted by: ru@
2003-04-06 03:30:44 +00:00
das
38500c73db
Regression tests for printf()'s floating point formats.
...
Tests for correct printing of subnormals are lacking.
2003-04-05 22:13:01 +00:00
imp
b0693a4cbc
Migrate to a new way of dealing with building from old revisions of
...
FreeBSD. This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build). We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files. We then include this directory when building host binaries.
This removes all the past release compatibilty hacks from various
places in the tree. We still build on tip of stable and current. I
will work with those that want to support more, although I anticipate
it will just work.
Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00
imp
5f908a4d84
2.x->3.0 upgrade tools are no longer needed. 5.x is unlikely to fit
...
on a 2.1/2.2 root disk anyway.
OK'd by: peter
2003-04-03 05:44:08 +00:00
das
4f4d465008
Write negative zero as '-0.0'. Otherwise, it is parsed as an integer
...
before being cast to a floating point type, and the sign is lost.
2003-03-27 05:32:28 +00:00
sam
69c11fdb01
add missing %u to show mcr1full count
2003-03-24 17:36:50 +00:00
davidxu
9df6e8e8d8
Follow new upcall quantum code in kernel.
2003-03-21 08:21:39 +00:00
sam
50d281927b
o add missing copyright notices
...
o new hifnstats program to dump hifn driver statistics
o new ipsecstats program to dump fast ipsec statistics
2003-03-19 01:53:55 +00:00
des
4f171e5869
Allow the configuration to specify environment variables (passed on
...
the command line to tinderbox.pl)
Build Kerberos V in all setups (this was previously taken care of by
tinderbox.pl).
Tweak the 9ball configuration to make powerpc builds work (with a
little help from a toolchain patch provided by grehan)
2003-03-14 00:55:41 +00:00
des
fe4d359e19
Support multiple verbosity levels.
...
Allow the user to specify environment variables on the command line.
Set the correct variables for cross-building.
Don't arbitrarily define MAKE_KERBEROS5 and BOOT_UFS.
2003-03-14 00:52:54 +00:00
sam
b2ca1e3f54
use relative pathname to driver-private file (instead of absolute)
2003-03-11 18:49:50 +00:00
sam
1455b394e2
add simple program to dump ubsec driver statistics
2003-03-11 18:42:20 +00:00
markm
98c95b963a
KerberosIV deorbit sequence: Remove references to KerbIV libs.
2003-03-08 12:14:26 +00:00
des
a1ec1684de
Prepare for removal of KerberosIV from the tree.
2003-03-06 17:13:18 +00:00
phk
e196887b27
Fix a bug in the white-space remover.
2003-03-04 19:20:52 +00:00
davidxu
e4ed96dd58
Remove
2003-02-26 01:06:44 +00:00
davidxu
71893d7690
This commit was generated by cvs2svn to compensate for changes in r111519,
...
which included commits to RCS files with non-trunk default branches.
2003-02-26 01:05:10 +00:00
davidxu
46055528c9
Add test program for round robin in userland.
2003-02-26 01:05:10 +00:00
des
9fac86e63b
Hacks to get i386 and pc98 building:
...
- TARGET=${TARGET_MACHINE}
- BOOT2_UFS=UFS1_ONLY
2003-02-24 10:48:01 +00:00
sam
ddc15adbc4
o add -b option to enable batching
...
o add #ifdef __FreeBSD__'s around the profiling so the code compiles on openbsd
o update a comment about expected performance for Broadcom hardware
2003-02-24 06:10:50 +00:00
des
4531e083d4
If more than one argument were given on the command line, interpret the
...
additional arguments as a series of architectures to build. This is
useful for running subsets of a particular configuration.
2003-02-23 21:24:08 +00:00
des
7e9bb7a64d
Add LINT to the target list for the test setup.
2003-02-23 12:41:32 +00:00
des
b129beb008
Add LINT to the taget list for CURRENT.
2003-02-23 12:40:21 +00:00
des
dd9279b8ca
Don't try to build LINT if there is no NOTES file.
2003-02-23 12:39:25 +00:00
des
0d1c515c8e
Don't omit --update on 9ball.
2003-02-21 07:33:41 +00:00
davidxu
7be8def8f0
Adjust code for new kse_release interface.
2003-02-20 08:24:22 +00:00
des
6082d8705b
Properly terminate some warning messages.
2003-02-18 12:50:37 +00:00
des
4164660a47
Explicitly set TZ to GMT (including in the build environment)
2003-02-18 10:14:13 +00:00
des
11cc0b54e5
- build powerpc world on 9ball
...
- log directly into two files: a full log and a summary
- set timezone to GMT before starting
2003-02-17 19:50:58 +00:00
des
91e02c6515
Log to stdout if no file was specified.
2003-02-15 19:32:52 +00:00
des
8765c964a5
Avoid an undef warning.
2003-02-15 14:30:51 +00:00
des
822010ed2f
Decrease verbosity, fix some configuration problems.
2003-02-14 09:18:44 +00:00
des
1ffb549565
Make the tinderbox log lines less obtrusive.
2003-02-13 21:21:48 +00:00
des
d277a34193
Pass KERNCONF on the command line rather than in the environment,
...
since the command line is included in the log.
2003-02-13 21:19:20 +00:00
des
02b9f17f74
Complete overhaul of the configuration system, allowing the user to
...
select one of multiple configurations at runtime.
2003-02-13 21:18:19 +00:00
des
052848f21b
GC the old tinderbox script.
2003-02-13 14:27:11 +00:00
des
83fce684ee
Place the logs in the tinderbox directory rather than cwd.
2003-02-13 11:57:13 +00:00
des
293057394b
Move away the old log file before starting the tinderbox so we don't
...
accidentally post the old log if the tinderbox script failed to start
altogether.
2003-02-13 10:52:46 +00:00
des
752d0c57c5
- run the tinderbox script in verbose mode
...
- use /\bStop\b/ instead of /^\*\*\* Error/ to identify errors
2003-02-13 09:59:59 +00:00
des
9e1c1a0391
Simplify the log accumulation code. It turns out that the trick of
...
looking for ^===> can give quite annoying false positives, especially
when building kernels, so drop it; the context can be inferred from
make's "Stop in /foo/bar/baz" messages anyway.
Also add a case that I'd missed the first time around (which happens
to be the common case, not the exception...)
2003-02-12 21:06:19 +00:00
des
0208bd2407
NO_KERNELCLEAN was a booboo.
2003-02-12 20:29:05 +00:00
des
3a8db90dbf
Welcome tbmaster, TinderboxNG's better half.
2003-02-12 20:23:27 +00:00
des
ffff6c6fa3
Slight cleanup; adjust verbosity; unlink the logfile before opening it
...
to tickle 'tail -F'.
2003-02-12 20:18:08 +00:00
des
e6262b3f60
Teach whereintheworld to preserve TinderboxNG log messages.
2003-02-12 09:51:47 +00:00
des
ebdd8469e1
Make "CURRENT" the default branch, and special-case it in the update
...
code so it results in -A rather than -rCURRENT.
2003-02-12 09:13:36 +00:00
des
baf49e380c
Say hello to Tinderbox 2.0, the choice of a new generation!
2003-02-11 22:17:49 +00:00
gad
ba1743e91b
The regression-tests for 'make' *expect* to trigger make's warning:
...
warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld'). This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.
Reviewed by: jmallett ru
2003-02-10 19:56:42 +00:00
mike
d5b741d9d9
Add more tests. Specifically, infinity cast from other types should
...
always be classified as infinity.
2003-02-08 20:45:48 +00:00
davidxu
42e55aa875
Add a missing inline keyword.
2003-02-08 06:33:37 +00:00
mike
a56314b4dc
Add regression test for soon-to-be-committed fpclassify().
2003-02-05 16:40:18 +00:00
seanc
2584cdf237
Add a getopt-ified version of an old tool that I've been using for ages:
...
backout_commit.rb. Tool can be used to automate the
process of backing out either small or large commits based off of
one or more commit messages. The result of the script is a shell
script which can be edited or run as needed. New and dead files
are taken into consideration. See the program's usage statement for
more configuration details. Here's an example usage:
<programlisting>
$ mutt
[find commit message, save to disk as cvsmsg.txt]
$ backout_commit.rb ~/cvsmsg.txt
Backout directory: /usr
Backout script: backout-2003-01-31-14-04.sh
Scanning through cvsmsg.txt...done.
Change to /usr and run this script. Please look through this script and
make changes as necessary. There are commented out commands available
in the script.
Example script usage:
mv backout-2003-01-31-14-04.sh /usr
cd /usr
less backout-2003-01-31-14-04.sh
/bin/sh backout-2003-01-31-14-04.sh
rm -f backout-2003-01-31-14-04.sh
</programlisting>
2003-01-31 22:08:14 +00:00
phk
36fcf2dae6
Update reference vectors to include BSD's <type> output.
2003-01-31 18:59:12 +00:00
phk
bbd6f8d1ff
Add Apple partitioning test case.
...
Use correct name for image data file
2003-01-31 18:31:48 +00:00
phk
1b12d97b50
Add more scaffolding to make this compile kernel code.
2003-01-28 09:48:59 +00:00
des
f11f32abe2
Don't truncate lines if an error occurred.
2003-01-18 12:15:34 +00:00
des
2555f8d918
Indentation cleanup.
2003-01-18 12:12:49 +00:00
phk
5259549792
Add a regression test for ccds layout policy.
2003-01-17 12:23:44 +00:00
phk
545a86200e
Make sure we find all vnode method vectors in /sys.
2003-01-15 19:19:28 +00:00
schweikh
4d3a042da9
Fix a useless use of cat. Save a process today.
2003-01-09 19:16:09 +00:00
des
8635b79dad
Document tinderbox and whereintheworld, and move diffburst in its
...
alphabetical place.
2003-01-09 12:24:17 +00:00
des
ff67b74926
My version of fenner's "make world" log summarizer.
2003-01-09 12:23:29 +00:00
des
d8b3e07d33
Sample tinderbox script & build settings.
2003-01-09 12:22:59 +00:00
sam
f0f8069fbc
more crypto test stuff:
...
o cryptotest can now run multiple threads with -t option
o cryptotest can now "profile" time spent doing symmetric ops with -p
o cryptostats dumps the crypto statistics block
o cryptokeystat is an openbsd app that tests public key ops
2003-01-06 22:11:56 +00:00
phk
dd794eda3b
geom_bsd need -lmd to link now.
2003-01-06 20:11:32 +00:00
tjr
3ef27dc5c5
Add a regression test for wordexp() and wordfree().
2003-01-04 05:50:35 +00:00
phk
8873479540
Add various command line options, most notably sort order.
...
Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca>
Sat on for far too long: phk
2003-01-03 17:21:39 +00:00
schweikh
86f7487fb6
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
tjr
a585a3e1d1
Add a test program for perror() that demonstrates two bugs in the
...
current implementation.
2002-12-19 09:46:10 +00:00
tjr
2aa20c1a1e
Test that if the buffer argument (`s') to wcrtomb() is NULL then
...
the value of the supplied wide character is ignored and L'\0' is used
instead. Remove incorrect comments about "internal buffer" since wcrtomb()
does not have one (wctomb() does).
2002-12-19 02:01:39 +00:00
mike
6ff2965718
Add regression test for strerror()/strerror_r().
...
Based on: src/lib/libc/string/strerror.c (rev 1.8)
2002-12-18 16:59:08 +00:00
phk
1f7478c270
Goto WARNS 5 with assorted changes.
2002-12-16 22:35:56 +00:00
phk
08b76459f3
Update this one too.
2002-12-16 22:01:25 +00:00
phk
8bf24ac2c1
Get the test-suite into sync with the kernel again.
2002-12-16 21:39:16 +00:00
sam
a0e044d15d
add program used to exercise/test /dev/crypto symmetric crypto functionality
...
Obtained from: openbsd (originally)
2002-12-14 06:23:58 +00:00
ru
c474b1700b
Add a test for what was fixed in revisions 1.39 and 1.50 of
...
make/parse.c (allow embedded `:' and `!' in target names).
Approved by: re
2002-11-28 13:21:32 +00:00
ru
a227a02ef4
Moved make(1) regression tests from src/Makefile to where they
...
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.
Approved by: re
2002-11-28 13:08:09 +00:00
davidxu
dee681e4f3
Directly load %edx from mailbox
2002-11-23 04:39:52 +00:00
davidxu
f89233ef8d
Fix context restore bug.
2002-11-22 03:01:55 +00:00
julian
1f29413454
Don't flip the "we're it" bit until we are all there..
...
(don't fill in the mailbox pointer until we have unloaded all the
previous contents of the mailbox context block)
2002-11-22 00:23:02 +00:00
davidxu
44e386cac2
Correctly save eflags.
2002-11-21 09:48:39 +00:00
davidxu
93f8f962e2
Adjust code for new mailbox format.
...
Reviewed by: deischen, mini
2002-11-18 02:02:08 +00:00
tjr
b3f140b069
Add test cases for btowc() and wctob() in multibyte locales.
2002-11-10 11:03:32 +00:00
tjr
ca621988d2
Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.
2002-11-10 10:50:42 +00:00
tjr
5349a8bc12
Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
...
wcstombs(). These tests have already found two libc bugs.
2002-11-09 04:33:02 +00:00
tjr
2b2cb081a8
Add missing #includes of <stdio.h>. Correct a few typos in comments.
2002-11-06 09:37:47 +00:00
davidxu
45330340f4
add missing '!', don't why it was lost when checked in.
2002-11-02 10:31:22 +00:00
tjr
2e56144367
Simplify by using inference rules properly.
2002-10-28 09:05:43 +00:00
tjr
9cf397c653
Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs().
2002-10-26 07:56:47 +00:00
tjr
399bd27ee2
Add regression tests for mbrtowc(3) and wcrtomb(3).
2002-10-26 04:40:16 +00:00
jmallett
46c27244eb
Hide the test in <target> under '.if make(<target>)' so as to not get any
...
errors/warnings related to crud in said test block.
2002-10-25 06:17:44 +00:00
phk
f74307d577
Redo reference vectors to include the mediasize and sectorsize.
2002-10-24 21:35:57 +00:00
phk
5817ad8658
Resync with kernel.
2002-10-24 21:14:05 +00:00
joe
14c86ef8ad
Fix a bug that showed up when trying to produce a database for
...
subdirectories, and ended up making us loop forever.
Add the username to the md5 of the commit to make it slightly more
unique.
Make the 'cvs' run quietly.
2002-10-17 16:29:26 +00:00
phk
ac8ae8f278
Use in-tree libbsdxml instead of ports based libexpat.
...
Sponsored by: DARPA & NAI Labs.
2002-10-05 13:16:07 +00:00
phk
80931223ac
Match the new g_io_deliver() API in the kernel.
...
Sponsored by: DARPA & NAI Labs.
2002-10-05 13:12:10 +00:00
phk
faad129ed6
Pass sbuf to the kernel routines to match new kernel code.
...
Sponsored by: DARPA & NAI Labs
2002-10-05 13:11:01 +00:00
wollman
2c7ac0ae06
Yesterday, FreeBSD-current ate my disklabel.
...
Today, I wrote a program to tell me where the partitions used to be.
Now I have my /media filesystem back.
2002-10-04 03:06:16 +00:00
archie
e78968c85a
-Wall'ify (mostly).
2002-10-02 17:07:39 +00:00
ru
ec9540417c
test -h is deprecated; use -L instead.
...
PR: bin/40846
2002-10-01 13:29:45 +00:00
phk
358e076f1a
Update to match current kernel code.
...
Fix a couple of reference data which were found to be in error.
Sponsored by: DARPA & NAI Labs.
2002-09-27 22:20:53 +00:00
archie
83fa65053c
Adjust for KSE function name changes.
2002-09-25 18:14:38 +00:00
ache
b56aac320b
Make it works with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 20:05:01 +00:00
julian
d29e00d18f
Add ability to make threads that run on > 1 cpu
...
this DOES NOT WORK YET. (well it kind-of-does but it's unsafe)
Submitted by: davidxu
2002-09-23 06:18:51 +00:00
mini
eabad0146b
Update the KSE test utility to the new KSE API.
2002-09-19 02:15:27 +00:00
peter
a51c9b6627
Initiate deorbit burn for the i386-only a.out related support. Moves are
...
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
phk
698e63c0cd
Pick up modules from the compile directory instead of /boot/kernel.
...
Allow the script to operate on any convenient kernel.
Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca>
2002-09-16 09:57:10 +00:00
phk
2e40c65a70
Some change in src/share/mk seems to have made it possible to remove
...
50% of the active ingredients in these Makefiles.
2002-09-15 13:05:42 +00:00
phk
798f40001b
Overhaul the kernel-simulation bits here to use pthreads instead.
...
If somebody wanted to, this could for the beginning of a "libkernel"
which could be used to run kernel code in userland.
Sponsored by: DARPA & NAI Labs.
2002-09-13 13:13:00 +00:00
phk
2f424d1fc1
Remove magicspace from reference data.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:51:55 +00:00
phk
33a29ee495
expat2 changed the name of their include file to expat.h
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:44:15 +00:00
phk
9b338dc04e
Fix an indentation typo.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:43:15 +00:00
phk
fe296cc3f4
Add a zeroed out sector one for the GPT hack and test T003.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:41:48 +00:00
alfred
209edd14cb
Add regression tests for sysvipc.
...
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
Obtained from: NetBSD
2002-08-15 06:34:37 +00:00
schweikh
b2bb39b1eb
Fix typos; each file has at least one s/seperat/separat/
...
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.
Suggested by: bde
MFC after: 3 days
2002-08-11 13:05:30 +00:00
jmallett
1e37932579
As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that
...
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.
2002-07-28 03:57:08 +00:00
phk
dca0736805
Update to current reality: change COMPILEDIR and work on "R"ead-only-data
...
symbols as well.
2002-07-19 10:29:07 +00:00
tjr
25aa3182cb
Update another mention of <CR><CR> I missed the first time around (rev 1.2)
2002-07-04 05:16:19 +00:00
tjr
f3c503c6ca
Note that two carriage returns aren't required after entering the
...
initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$.
MFC after: 2 weeks
2002-07-03 14:42:53 +00:00
julian
7f7eb2bfa1
KSE test program
2002-06-29 17:39:07 +00:00
jmallett
583e068778
The wrong y/// output got spammed into this file; from green@ indirectly.
2002-06-27 16:07:51 +00:00
green
14942ad80d
Correct the psl regression test for sed(1)'s now-fixed newline
...
behavior. Add the bcb regression test which checks for failures due
to a backslash ('\') coinciding with the very last character of the
command buffer. The regression test is cf. this PR (which I did not
know about) and has a different fix for the bug.
PR: bin/22351
Submitted by: Stefan Duerholt <stefan.duerholt@t-online.de>
2002-06-27 15:58:59 +00:00
jmallett
1163aebcf2
Erk, I forgot that regress.in has an ending newline, so change the test for
...
transliterate to use echo -n to supress newline and a simple string.
2002-06-26 16:57:36 +00:00
jmallett
44b97afa34
Reduce internal code duplication, add REGRESSION_PASSFAIL([testname]) to
...
handle printing of the PASS/FAIL messages. Suffix PASS/FAIL/FATAL with the
string (in $directory) where $directory is ${.CURDIR} from make(1), to
make it easier to use grep(1) and a bit of sed/awk to do statistics of
failure for some utilities over time, etc.
2002-06-25 12:40:04 +00:00
jmallett
9cfbe015d8
Add a regression test for transliterate which happens to match characters
...
at an EOL/EOF, and therefore should catch the broken behaviour fixed by
Tim J. Robbins in sed(1) recently.
Suggested by: obrien
2002-06-25 12:10:09 +00:00
jmallett
28b8ebcfcb
I explicitly meant to not move any of this over to the new m4(1) framework,
...
even slightly. Grrr CVS.
2002-06-24 14:29:19 +00:00
jmallett
9d6012e9cf
Move all remaining tests except for:
...
make(1): Does not work like the other tests. Its Makefile is
self-testing.
m4(1): It uses complex voodo to test GNU m4(1) features.
To the new framework. I had worried about passing the binary data that
uudecode(1)'s test passes to diff(1) might give a user something nasty,
but this is unlikely to happen as even with an unmodified old nasty
diff(1) which doesn't recognise many binary files, these binary files
are recognised. Using $DIFF instead of `diff' in the library and making
it possible to override this with `cmp -s' might be nice some day, but
as of this second, there's no immediate need.
2002-06-24 14:22:44 +00:00
jmallett
93460fd6ef
Add two new mostly freeform types of regression tests, and a macro for dying
...
ungracefully.
2002-06-24 14:19:57 +00:00
jmallett
8446ba1ae0
Comments to describe what these macros do, so that someone other than me
...
might be able to figure out how to write some of these tests (hint hint).
2002-06-24 13:58:20 +00:00
jmallett
0309fb3139
Convert straightforward regression tests to use regress.m4.
...
Goodbye, duplicated code, you will certainly not be missed.
2002-06-24 13:52:28 +00:00
jmallett
0317135e4d
Add a simple (to be expanded) library of functions for the regression tests,
...
to handle the ones which output to stdout and have output in regress.$test.out,
etc. More freeform macros should and will be written, but these are the most
prominent and most straightforward sort of tests we have around, so it makes
sense to try to accomodate them.
2002-06-24 13:51:30 +00:00
jmallett
ed011dddc1
Grrr, make the test for embedded variables in the left-hand-side actually do
...
the right thing in every case. Yuck.
2002-06-20 03:08:20 +00:00
jmallett
0aad4a7f96
Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c,
...
expansion of embedded variables in the left-hand-side of an assignment
expression, using the simplest case - hiding recursion using nil-expanded
variables.
2002-06-19 18:57:04 +00:00
phk
38cd21ba9c
Catch up with kernel.
2002-06-09 10:59:04 +00:00
jmallett
e277387a70
Describe ia64_unaligned and geom directories. I hope I got these right.
2002-06-07 05:41:15 +00:00
jmallett
92c9b7b198
Add the m4(1) regression test.
2002-06-07 05:32:00 +00:00
jmallett
a3f088af5b
Add a regression test for m4(1).
...
This checks the behaviour of changecom() in both GNU and BSD modes of our m4.
2002-06-07 05:31:32 +00:00
ru
188d515bc4
Fixed typos.
2002-06-06 14:08:04 +00:00
ru
638fc11b92
Tidy up.
2002-06-06 14:07:45 +00:00
schweikh
28bcbfe85d
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
ru
1715a8e253
Update for current /usr/src.
2002-05-28 08:25:29 +00:00
des
3ff8fb1cb4
Mutex statistics script.
2002-05-26 12:02:36 +00:00
phk
715c35adad
Update to match kernel side.
...
Sponsored by: DARPA & NAI Labs.
2002-05-21 20:42:51 +00:00
phk
aa08c897e4
Catch up with recent events.
...
Sponsored by: DARPA & NAI Labs.
2002-05-19 18:57:03 +00:00
jmallett
a71f688bc0
Regenerate with new output grouping in uuencode -m.
2002-05-17 12:27:31 +00:00
trhodes
3fd7d1d092
file system > filesystem
2002-05-16 05:03:56 +00:00
jmallett
62cedbf5fc
Add a regression test for bin/5297, regarding sysv substitution with a nil
...
left-hand-side.
2002-05-05 19:02:30 +00:00
jmallett
e13651801a
Add a test for the -R option.
2002-05-03 18:44:43 +00:00
jmallett
7b25b4fef0
Regenerate -I output since an argument bogon in the -I code was fixed, among
...
other things.
2002-05-03 14:31:28 +00:00
phk
b1a9ff423d
Modernize
2002-05-02 20:09:14 +00:00
phk
a17be2ef95
Un-rot the VOP_ table generator.
2002-05-02 13:51:04 +00:00
jmallett
8dbee4c20b
Redirect stdin from the input file, rather than passing the input file to
...
uuencode(1), and set a umask, so that the mode in the header is predictable.
If it varies, then the test is right to fail.
Remove the note about this test falsely failing, with that in mind.
2002-04-27 03:11:33 +00:00
jmallett
300c1a11c0
Prefix tests with PASS and FAIL, to make grepping easier, and note this in
...
the README.
This affects only the base-system regression tests, of course.
2002-04-27 02:26:23 +00:00
phk
51db5da3ff
Update the test-case reference vectors to match the new XML format.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 21:03:26 +00:00
phk
58cdadc9ad
Add -DKERNELSIM so the test cases compile with the kernel simulation.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 21:00:50 +00:00
phk
155395406f
Improve the output in case of inserts or deleted.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 20:59:31 +00:00
phk
024e952d8c
Prepare the .conf XML comparator for a more kosher XML format.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 20:33:04 +00:00
des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
jmallett
3881ce8d9c
For the P function, the newline must be considered a part of the pattern
...
space, so when printing it, don't let the pattern space and the output run
into eachother by omitting the \n when printing.
2002-04-21 01:27:05 +00:00
jmallett
2ef068fe8d
Add sed(1) tests for proper behaviour of the G option as fixed in PR 26152,
...
and for proper behaviour of some sed functions given a nil pattern space,
as fixed in PR 34813.
The test for G was based on the test in the PR. The nil pattern space test
is slightly different as we need to get *some* output, as the core dump will
also produce no output (old behaviour) and turn up falsely that the utility
is working fine.
2002-04-21 01:04:03 +00:00
jmallett
a1b2db8692
Check to see if make(1)'s handling of doubly-defined targets is busted or
...
not. A lot relies on this.
2002-04-21 00:41:37 +00:00
jmallett
4ccd5a9073
Only exit at the end of a test, exit with the last value of $? that was not 0.
...
This way the entire regression test is looked at as a pass/fail, not just one
sub-test.
2002-04-21 00:18:29 +00:00
jmallett
723f201ed8
Add a test of variable evaluation and substitution for make(1), as a start
...
of tests for it.
2002-04-20 20:57:00 +00:00
jmallett
24f13e9ab3
Add a test for jot(1).
2002-04-20 19:41:30 +00:00
jmallett
7c76f6f023
A simple test for join(1) based on tjr's test case for -o 0.
...
Partially based on: PR standards/36072
2002-04-20 19:33:23 +00:00
jmallett
5badd84013
Add an exceedingly simple regression test for the file2c program. One would
...
hope that it would never regress, but this is a straightforward test, so add
it.
2002-04-20 19:01:21 +00:00
jmallett
c5bca421d9
Add regression tests for parts of xargs(1).
2002-04-20 18:46:33 +00:00
jmallett
e9f3784394
Add a comment regarding the file header, and the mode that the file is created
...
with.
This should be fixed shortly by adding the (desirable) option to set the file
creation mode on the command line.
2002-04-20 18:44:54 +00:00
jmallett
eefa1794dd
Add uuencode(1) and uudecode(1) regression test input and output.
2002-04-20 17:58:13 +00:00
jmallett
b5175f501b
Start adding framework for userland regression tests, and tests for
...
uuencode and uudecode.
2002-04-20 17:20:21 +00:00
phk
79d2daeb7f
update the reference vector.
2002-04-16 16:11:29 +00:00
phk
d9b060bed3
Forgot to commit the updates to the regression test suite.
...
Sponsored by: DARPA & NAI labs.
2002-04-16 11:42:13 +00:00
des
e14073ff48
Long-forgotten patch: warn if a closed PR has no "closed by"
2002-04-15 06:36:22 +00:00
des
fb71994ea2
Long-forgotten patch: list prstats
2002-04-15 06:35:36 +00:00
ru
085e16fca5
Add a tool (and the first application of it) that could be used
...
to automate building of libraries.
Prodded by: bde
2002-04-12 19:46:25 +00:00
phk
2a571683e0
Play catch up with the kernel.
...
Sponsored by: DARPA & NAI Labs
2002-04-04 16:40:11 +00:00
joe
63534f6287
We might as well show the log message if we're going to produce the patch.
2002-04-01 17:51:27 +00:00
joe
dd3efa6636
Take an option flag to specify that we'd like a patch generated too.
2002-04-01 16:17:12 +00:00
phk
19520dd5a5
Add testcase #14 : PC98 label.
2002-03-28 21:42:38 +00:00
phk
2e89dca786
Record the physical geometry in this disk-image, PC98 needs it.
2002-03-28 21:42:14 +00:00
phk
01df1c78f9
Ignore the <FreeBSD> element in XML files.
2002-03-28 21:41:44 +00:00
phk
84f1900b8e
Add the relevants sectors from a PC98 disk to our beastiarium.
...
Submitted by: imp
2002-03-28 21:09:30 +00:00
phk
706e613c58
Add another two alpha disks to this testcase.
2002-03-27 21:23:06 +00:00
phk
412c05188d
Add another couple of alpha disklabels.
2002-03-27 21:21:29 +00:00
phk
63f0cd928d
Track changes in sys/geom
2002-03-26 22:08:04 +00:00
phk
166310e873
Another bow for tradition s/method/class/g
2002-03-26 21:40:36 +00:00
ru
b6743da387
Finish style fixes.
2002-03-26 13:02:15 +00:00
phk
18a4c2c111
Modernize my email address.
2002-03-25 14:12:49 +00:00
phk
f1e2f70def
Link testcase 13 in.
2002-03-24 14:40:15 +00:00
phk
44e53e2154
Add a testcase for the alpha BSD label from beast.
2002-03-24 14:29:39 +00:00
phk
2e93448199
Add a copy of the bsd-label from beast.freebsd.org
2002-03-24 13:54:01 +00:00
phk
91037c66c7
Update to reflect new contents of sys/geom
2002-03-24 11:22:06 +00:00
phk
02b4c46fb1
Some necesary fixups to cope with new location and FreeBSD CVS keyword.
2002-03-17 19:16:14 +00:00
phk
460894ff2e
Add the GEOM regression test framework.
...
This is a set of userland shims in which GEOM can be run through simple
tests.
The simulation of kernel synchronization primitives is very primitive
and consequently some times tests will fail because of races.
Data/ contains a number of files in XML format which describe the
key sectors for a number of disk images
This is a very handy tool for people developing GEOM methods. The
"simdisk" method can be told to read from a "real disk" and afterwards
dump the accessed sectors in XML format for further use.
I hope future method writes will see the benefit of this test
collection and add to it when they write methods for GEOM.
You will need ports/textproc/expat for the XML parser.
Sponsored by: DARPA, NAI Labs.
2002-03-17 18:53:58 +00:00
rwatson
af1694b996
NAI DBA update.
2002-03-14 20:08:51 +00:00
joe
9013c37b04
Add a tool that I've written to help with finding what other
...
files/revisions were changed with a particular commit.
2002-02-28 20:12:52 +00:00
phantom
1fc1e7448f
Complete '_' hack.
2002-02-07 19:32:40 +00:00
phantom
acf85e1161
. add a hack dedicated to n_himba (or correctly to say problem with his nick
...
in docbook environment)
. clarify comments
. mention that this script is dedicated to freefall's environment
. add bsd style copyright
2002-02-07 19:27:29 +00:00
phantom
d47492efbe
This script has served its purpose. Now its function is one of subfunctions
...
of recently added cknames.pl.
2002-02-07 19:13:06 +00:00
phantom
98906825c7
Add script to check integrity between access/authors.ent/passwd@freefall
2002-02-07 19:09:49 +00:00
phantom
0cde3e64eb
Fix sentence in comment
2002-02-06 18:00:11 +00:00
phantom
2e5cd0fc0e
Update description of 'ac' subdirectory
2002-02-06 17:50:05 +00:00
phantom
87ecf15bb7
Add descirptions of scripts in this directory
2002-02-06 17:49:13 +00:00
phantom
90379737f9
Add script that checks contents of .ent files (sorting and addresses)
2002-02-06 17:47:18 +00:00
phantom
a17a2c3284
List of committers was moved out of handbook. Teach 'ac' about new location.
...
Also teach it about complex entries in access file (or correctly to say
simplify them)
2002-02-06 17:09:08 +00:00
phantom
742fd635ad
* fix some warnings
...
* set WARNS
* few style/whitespace fixes
Submitted by: ru
2002-02-04 16:17:19 +00:00
phantom
69dd11200d
describe localeck
...
plus some capitalization/whitespace fixes
2002-02-04 14:00:29 +00:00
phantom
f301c446d8
Add simple diagnostic utility to checking for invalid/incomplete
...
locales
2002-02-04 13:59:16 +00:00
kbyanc
ed7ec83f0d
Remove broken attempt to compile libc's malloc source directly; this
...
allows this tool to compile again. Albeit, now to test a new malloc
implementation one has to install the new libc which may have bad
consequences (i.e. if the new malloc implementation were buggy).
Add logic to workaround malloc's current behaviour of returning an
invalid non-NULL pointer for 0 byte allocation requests; this prevents the
tool from coring during the NOPS loop.
Add $FreeBSD$ tags.
2002-01-02 06:42:34 +00:00
kbyanc
4138d6fd95
Include definition for struct namecache (it isn't exported via any header)
...
so this builds again. Replace hardcoded name length magic with NAME_MAX.
2002-01-02 06:25:39 +00:00
jkh
f71e1cbaa4
Add Apple's filesystem exercising tool.
...
Submitted by: Conrad Minshall <conrad@apple.com>
Obtained from: Apple Computer
2001-12-20 04:15:57 +00:00
sheldonh
7abf74ba20
Correct misattribution of the Hart list, which I had mistakenly
...
attributed to Heckenbach.
2001-12-01 13:08:20 +00:00
sheldonh
af9a546450
Add the script that will be used to maintain src/share/misc/pci_vendors.
...
The script written and used originally by msmith has been lost.
This version takes the Boemler and Heckenbach lists and produces merged
output. It defaults to ignoring any entries from Heckenbach already
found in Boemler but the -l option causes it to take the entry with the
longest description where an entry appears in both lists.
If this script is replaced, care should be taken to
1) Always use upper-case hexidecimal tokens in device ids.
2) Always keep device lists sorted within vendor lists, which must also
be sorted.
3) Do not try to include input from the previous pci_vendors file, since
bogus ids seem to be removed from both the Boemler and Heckenbach
lists from time to time.
2001-11-22 14:26:30 +00:00
des
42cf4af882
Now it gets interesting...
2001-11-13 00:51:00 +00:00
des
b7547e7413
Use a slightly less predictable temp file name, remove a stale list of PRs
...
with corrupted submission dates (they were fixed on freefall a while ago),
and uncomment the code that removes the temp file when we're done.
2001-11-13 00:07:21 +00:00
des
7002c0a210
This is a PR statistics-gathering script I wrote a while ago. It currently
...
doesn't do much of interest except produce graphs similar to phk's.
2001-11-12 23:59:56 +00:00
phk
4fe31a633b
Update.
2001-11-05 22:07:44 +00:00
phk
1304746cba
This is long since unused.
2001-11-05 22:06:33 +00:00
phk
22696e16e8
This simple shell-script tries to find *.c files under /sys
...
which are not in some way used or referenced somewhere.
2001-11-05 22:06:09 +00:00
dfr
9f90cf9c52
Make a start at a regression test for the unaligned trap handler.
2001-10-19 22:10:13 +00:00
fenner
1e7fe9f955
The interface index space may be sparsely populated (e.g. when an
...
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.
MFC after: 14 days
2001-10-17 04:12:29 +00:00
asmodai
a0ca581fb2
Add $FreeBSD$.
...
Describe the other two directories in here.
2001-10-08 12:28:31 +00:00
rwatson
d7c26820a7
o Fix two eaccess() checks -- in one case, the wrong test file
...
was used, resulting in a regression failure, and in the other,
the test on an error return was inverted.
Obtained from: TrustedBSD Project
2001-09-21 21:28:43 +00:00
rwatson
7e6f69ce22
o Regression test to check that appropriate parts of the process
...
credential are used in the access() and new eaccess() system calls.
Obtained from: TrustedBSD Project
2001-09-20 20:03:58 +00:00
ache
4a86803488
ISO_ -> ISO
2001-06-11 01:29:40 +00:00
ru
90fde797f7
Added support for all new install(1) options.
...
Removed -c from the actual call as -p implies "copy".
2001-05-28 16:53:01 +00:00
phk
b1fdc60dc8
Update this to reflect changes in config(8) usage.
...
It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.
2001-04-23 17:31:16 +00:00
rwatson
21239d2a43
o Add a comment identifying the "privileged on privileged" scenario.
...
Obtained from: TrustedBSD Project
2001-04-13 16:38:34 +00:00
rwatson
1cb616d497
o Add inter-process authorization uid regression testing for ktrace().
...
Obtained from: TrustedBSD Project
2001-04-13 16:25:25 +00:00
rwatson
d0cc80f445
o s/debug/ptrace/ since shortly there will be tests involving other
...
forms of debugging.
Obtained from: TrustedBSD Project
2001-04-13 16:09:40 +00:00
rwatson
d4d2bc9b71
o Expand inter-process authorization regression test to include
...
signalling with sigsegv as one of the tests.
o Teach errno_to_string() about ENOTSUPP.
Obtained from: TrustedBSD Project
2001-04-12 17:46:20 +00:00
rwatson
322fad03bd
o Enable -DSETSUGID_SUPPORTED in inter-process authorization regression
...
test by default, as setugid() is now part of the base kernel (assuming
(options REGRESSION) has been enabled for the running kernel).
Obtained from: TrustedBSD Project
2001-04-11 20:23:23 +00:00
rwatson
5091a293b0
o First pass at an inter-process authorization regression testing suite.
...
This test utility attempts to evaluate the current kernel policy
for authorization inter-process activities, currently ptrace(),
kill(, SIGHUP), getpriority(), and setpriority(). The utility creates
pairs of processes, initializes their credential sets to useful
cases, and reports on whether the results are in keeping with hard-coded
safety expectations.
o Currently, this utility relies on the availability of __setugid(),
an uncomitted system call used for managing the P_SUGID bit. Due to
continuing discussion of optional regression testing kernel components
("options REGRESSION") I'll hold off on committing that until the
discussion has reached its natural termination.
o A number of additional testing factors should be taken into account
in the testing, including tests for different classes of signals,
interactions with process session characteristics, I/O signalling,
broadcast activities such as broadcast signalling, mass priority
setting, and to take into group-related aspects of credentials.
Additional operations should also be taken into account, such as ktrace,
debugging attach using procfs, and so on.
o This testing suite is intended to prevent the introduction of bugs
in the upcoming sets of authorization changes associated with the
introduction of process capabilities and mandatory access control.
Obtained from: TrustedBSD Project
2001-04-11 17:21:14 +00:00
asmodai
3065478332
Preceed/preceeding are not english words. Use precede and preceding.
2001-02-18 10:43:53 +00:00
phk
5977e97236
Look for modules in /boot/kernel these days.
2001-01-18 22:36:34 +00:00
phk
f825217768
The latest & greatest unused #include spotter. Faster, one-pass and
...
more precise than ever.
1230 hits on the current kernel.
2000-10-28 21:44:05 +00:00
phk
78febb770f
Teach kerninclude to check <machine/*> #includes as well.
...
Currently it finds 2072 supposedly unneeded #includes in the first pass.
2000-10-13 12:03:01 +00:00
phk
f113db530b
Use "make LINT" to create our LINT config
2000-09-25 12:40:39 +00:00
wollman
dfd657f747
Fix compilation problems and bounds-checking bug in `ifinfo'.
...
PR: 21177
Submitted by: Craig Leres <leres@ee.lbl.gov>
2000-09-13 19:53:54 +00:00
phk
c907983705
Make this work with current makefiles again.
2000-08-21 14:42:48 +00:00
alex
0c24155ff5
- Add $FreeBSD$
...
- Refer to the README files in the subdirs.
2000-08-13 14:46:31 +00:00
jake
961b97d434
Back out the previous change to the queue(3) interface.
...
It was not discussed and should probably not happen.
Requested by: msmith and others
2000-05-26 02:09:24 +00:00
jake
d93fbc9916
Change the way that the queue(3) structures are declared; don't assume that
...
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
2000-05-23 20:41:01 +00:00
phk
608e488b33
Use profiling on LINT.
...
cosmetics.
2000-04-27 19:58:57 +00:00
wollman
bf9193e8ba
Add a little test program to demonstrate POSIX Shared Memory Objects.
2000-04-22 15:29:21 +00:00
sheldonh
eb84051ad9
Correct grammar in the synoptic comment.
...
Submitted by: ru
2000-03-03 09:25:00 +00:00