Robert Watson
dba96bd99f
Add IPv6 support to zero-size UDP transmit/receive test.
2008-10-07 14:13:59 +00:00
Robert Watson
8c3bc1af40
Regression test for the loopback handling of zero-length UDP packets, which
...
should be delivered but without payload.
2008-10-07 10:31:55 +00:00
Robert Watson
cb824561e6
Add very simple regression test for fstat(2) on sockets: make sure it
...
returns success for various socket types. It's easy to imagine this
being enhanced to validate the returned data, but...
2008-10-06 19:42:03 +00:00
Simon L. B. Nielsen
28b53d8cbd
In cust_install_files() we ignore CVS directories. In a similar way now
...
also ignore .svn directories.
2008-09-23 18:54:56 +00:00
Simon L. B. Nielsen
e80b4d45c0
- Change all "echo #..." into using a progress print function to make it
...
possible to make NanoBSD output more quite or verbose. The default
output should remain mostly unchanged. [1]
- Add missing shift for -i.
- Clean up usage() so it's now (mostly) sorted alphabetically.
- Make command line argument handling more consistent in the code and
remove redundant semicolons.
Reviwed by: phk [1]
2008-09-23 18:42:35 +00:00
Sam Leffler
0f14671ac3
add missing options
2008-09-23 16:15:42 +00:00
Sam Leffler
0042e3b1da
add missing options
2008-09-23 16:11:15 +00:00
Bruce M Simpson
91c0921944
* Add USB boot support.
...
* Allow the image name to be renamed via NANO_IMGNAME.
* Propagate TARGET_ARCH into src top level make targets
explicitly to support cross-building.
* Increase the default size of NanoBSD media from 488MB to
584MB to accomodate a -CURRENT world.
Reviewed by: phk
2008-09-22 23:56:36 +00:00
Bruce M Simpson
293de964db
Mark the first slice of a NanoBSD image 'active' by default.
...
This fixes USB boot (not yet merged to HEAD) with 3 flavours
of BIOS I've seen.
Approved by: phk
2008-09-22 20:21:39 +00:00
Sam Leffler
690f477d75
add new build knobs and jigger some existing controls to improve
...
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd
Reviewed by: various (posted to arch)
MFC after: 1 month
2008-09-21 22:02:26 +00:00
Simon L. B. Nielsen
a93dc3751b
Include $NANO_NAME in the completed message. This is nice if you are
...
building multiple NanoBSD images at once to keep track of what is
running and what isn't.
2008-09-21 18:02:00 +00:00
Sam Leffler
ca5ccaea7c
eliminate hardwired lists; use the media type to autoconfig
2008-09-21 00:26:13 +00:00
Antoine Brodin
c6642c52eb
Add files to remove when WITHOUT_HESIOD is set.
...
This fixes "make check-old" when WITH_HESIOD is set.
PR: 122406
MFC after: 1 month
2008-09-13 17:29:49 +00:00
Maxim Konovalov
4225b7d6fa
o Correct a comment: a test file size is a four pages not three.
2008-09-10 09:32:25 +00:00
Simon L. B. Nielsen
068ba60199
Change space -> tab in printed usage output to make it look consistent.
2008-09-07 14:32:03 +00:00
David Schultz
73a3a6581e
Regression tests for bugs in gdtoa.
2008-09-03 07:35:14 +00:00
Thomas Quinot
804cbdd577
Fix typo in comment.
2008-09-02 21:27:19 +00:00
Roman Kurakin
f4769d1087
Add simple cd to dvd conversion script.
2008-08-31 22:08:39 +00:00
Robert Watson
72cf344f9c
Update README to reflect removal of netatm/harp test parts some time ago.
...
MFC after: 3 days
2008-08-31 11:41:31 +00:00
Jung-uk Kim
4c84e72151
Connect a forgotten test case to Makefile.
2008-08-29 20:58:01 +00:00
Jung-uk Kim
51fc382e51
Do not pass validatation level since all issues are fixed now.
2008-08-29 20:20:30 +00:00
Jung-uk Kim
ec07961360
Merge local copy of bpf_validate() with bpf_filter.c.
2008-08-29 20:07:02 +00:00
Pawel Jakub Dawidek
ba196edbd2
By default backup geli metadata to a file. It is quite critical 512 bytes,
...
once it is lost, all data is gone.
Option '-B none' can by used to prevent backup. Option '-B path' can be
used to backup metadata to a different file than the default, which is
/var/backups/<prov>.eli.
The 'geli init' command also prints backup file location and gives short
procedure how to restore metadata.
The 'geli setkey' command now warns that even after passphrase change or keys
update there could be version of the master key encrypted with old
keys/passphrase in the backup file.
Add regression tests to verify that new functionality works as expected.
Update other regression tests so they don't create backup files.
Reviewed by: keramida, rink
Dedicated to: a friend who lost 400GB of his live by accidentally overwritting geli metadata
MFC after: 2 weeks
2008-08-29 18:10:18 +00:00
Jung-uk Kim
f6cd36de6f
Merge bpf_filter.c r182425 and add test cases for jump range checks.
...
While I am here, fix stupid typos in test0080.h and make it JIT compiler only.
2008-08-29 02:12:45 +00:00
Jung-uk Kim
eaa830ed41
Move comments to the right places.
2008-08-28 22:41:31 +00:00
Jung-uk Kim
291e9e2772
Merge bpf_filter.c r182412 and remove additional local checks.
...
While I am here, use more realistic value for illegal code test case.
2008-08-28 22:19:57 +00:00
Jung-uk Kim
dfedc4d796
Fix style consistencies and a comment.
2008-08-28 18:38:55 +00:00
Jung-uk Kim
855aaac7ac
Merge bpf_filter.c r182380 and remove additional local checks
...
for BPF_STX and BPF_LDX|BPF_MEM instructions.
2008-08-28 17:59:16 +00:00
Jung-uk Kim
c0e134d668
Add a test case for uninitialized scratch memory (for JIT compiler).
2008-08-28 16:58:30 +00:00
Stefan Farfeleder
8d372294f9
Add a test for r182300.
2008-08-27 20:26:34 +00:00
Jung-uk Kim
218223bb17
Add a test case for null filter.
2008-08-26 21:54:47 +00:00
Jung-uk Kim
bf2a220894
Add more test cases for invalid instructions and add comments
...
about bpf_validate(9) issues.
2008-08-26 19:24:58 +00:00
Jung-uk Kim
e3a315fed1
Remove some hacks from regression test since bpf_filter.c builds fine now.
2008-08-26 00:35:04 +00:00
Jung-uk Kim
143a24dad7
Add a trivial bpf filter benchmark.
2008-08-25 23:36:24 +00:00
Jung-uk Kim
71d7a7dd88
Use sys/net/bpf_jitter.c instead of rolling our own version
...
since it is compilable on user land now.
2008-08-25 22:45:18 +00:00
Jung-uk Kim
f7402f1a67
Reflect sys/net/bpf_jitter.h changes to regression test.
2008-08-25 21:33:12 +00:00
Rafal Jaworowski
fec1081e54
Increase cryptotest tool initialization vector (IV) size.
...
This fixes potential out-of-bound accesses when testing ciphers with block size
greater than 8 bytes (e.g. AES).
Submitted by: Bartlomiej Sieka tur ! semihalf dot com
Discussed with: pjd, sam
2008-08-21 16:49:57 +00:00
Jung-uk Kim
ed97cc0f0c
Add test case for 'divide by 0' with BPF_ALU|BPF_DIV|BPF_X instruction.
2008-08-18 23:05:19 +00:00
Jung-uk Kim
b82a8cd81c
Fix two test cases on 32-bit architectures.
2008-08-18 21:40:03 +00:00
Jung-uk Kim
b0729b181a
Add simple bpf(9) regression tests and test cases.
2008-08-18 19:01:58 +00:00
Poul-Henning Kamp
5bfcb0b9b4
Accept tty[ud]0 for console device
2008-08-15 08:28:15 +00:00
Antoine Brodin
353d3b1715
Use expr -e instead of expr to compute NANO_MEDIASIZE for Flash devices
...
larger than 2GB to prevent an overflow [1].
Make case-insensitive comparison work for siliconsystems, soekris and
transcend devices.
PR: conf/126386 [1]
Submitted by: Mark A [1]
MFC after: 1 month
2008-08-12 16:59:23 +00:00
Sam Leffler
9265278667
fix syntax
2008-08-09 21:51:57 +00:00
Dag-Erling Smørgrav
2616144e43
Add sbuf_new_auto as a shortcut for the very common case of creating a
...
completely dynamic sbuf.
Obtained from: Varnish
MFC after: 2 weeks
2008-08-09 11:14:05 +00:00
Poul-Henning Kamp
1d09f2b98a
Add late customize hook
...
Submitted by: Patrick M. Hausen
Sat on for far too long: phk
2008-08-09 09:37:44 +00:00
Poul-Henning Kamp
36a6be7fc9
Add -i option to supress image building.
...
Submitted by: keramida
2008-08-09 09:27:54 +00:00
Poul-Henning Kamp
fc0708f69f
Track /etc/ttys change to uart(4)
2008-08-09 09:27:06 +00:00
David Schultz
b1e24d8714
Test that the result is correctly rounded when |y/x| is huge.
2008-08-02 19:21:33 +00:00
Sam Leffler
9821c14541
use new sysctl to generate a fake radar event
2008-08-02 18:01:58 +00:00
David Schultz
4c7c6686c3
Regression tests for fmtcheck(3).
...
Obtained from: NetBSD
2008-08-02 06:03:04 +00:00