summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add geometry of SiliconSystems 4GB CF cardphk2005-11-151-0/+13
|
* Use the new syntax for GENERIC.des2005-11-141-1/+1
|
* Build a PAE kernel if a PAE config exists.des2005-11-141-0/+1
|
* Add support for the += operator, which appends to a multiple-value variable.des2005-11-142-6/+19
|
* Add support for building other kernels than LINT and GENERIC.des2005-11-142-15/+39
|
* Update to match geom_gpt:1.35marcel2005-11-131-3/+5
| | | | | | | o Change the result of gctl(001) now that a bogus verb still requires a valid geom, o Insert gctl(024) to test for an appropriate error when a bogus verb is given that does have a proper geom parameter.
* Instead of saving the unit number of the md(4) device name, save themarcel2005-11-121-23/+26
| | | | | | | | | | | whole name. This does not unnecessarily close the door that in some future we want to test on something other than md(4) devices. Also add a "conf" action so that we can check whether a gctl actually did the right thing or not. It's one thing to check that the result strings are as expected, but it doesn't tell us if the end result is correct. This needs a bit more fleshing out, but for now a visual (i.e. manual) check suffices.
* Add unix_passfd, a simple set of regression tests for UNIX domain socketrwatson2005-11-092-0/+314
| | | | file descriptor passing. These tests are not all currently passed.
* Add code to test queued SIGCHLD.davidxu2005-11-083-1/+100
|
* Add tests for -t option with short tty name - pkill(1) should accept bothpjd2005-11-072-6/+30
| | | | (eg. "ttyv0" and "v0").
* Add sigqueue test code.davidxu2005-11-073-0/+62
|
* Fix two minor typos that caused schedgraph to exit with an exceptionrwatson2005-11-061-2/+2
| | | | when running on traces referencing >2 CPUs.
* Fix the path to aac_ioctl.h in the comment and style includes.maxim2005-11-061-4/+6
| | | | MFC after: 1 week
* Fix include: aac_ioctl.h was moved from sys/dev/aac/ to sys/sys.maxim2005-11-061-1/+1
| | | | | | PR: misc/88549 Submitted by: Sokolov Alexey MFC after: 1 week
* Add test cases for the command built-in, including its -v and -V options whichstefanf2005-10-2810-3/+58
| | | | | | | I'll commit real soon. Count the number of found test cases instead of hard-coding them. Allow an arbitrary exit status.
* Change u_int64_t to uintmax_t and use %ju, so it compiles on 64bit archs.pjd2005-10-261-5/+6
| | | | | I changed every u_int64_t to uintmax_t, as we should use eventually uint64_t anyway those days.
* Updates and enhancements to the multi-threaded httpd performance testrwatson2005-10-251-32/+91
| | | | | | | | | | | | | | | | | | | tool: - Use uname(3) to query the OS name to report in the HTTP headers. This is probably more useful than hard-coding FreeBSD. - If no path is specified, create a 1k temporary file and send that instead. Pass a file descriptor into http_serve() rather than using a global fd. - Add more carriage returns to the HTTP headers to be a bit more correct. (Suggested by: andre) - Read to a buffer rather than a single character to reduce the number of recv() system calls pulling in the HTTP request. - Properly wait for two, not one, \n's on input.
* Add first tests for semicolon handling. The first test fails. This isharti2005-10-188-0/+47
| | | | probably a bug in the parser.
* Add more tests for escaped newline handling and fix a test that currentlyharti2005-10-1814-8/+48
| | | | should fail because of a bug in the parser (test 2).
* This test can run now.ambrisko2005-10-121-4/+0
|
* Add RELENG_6_0.des2005-10-092-2/+2
|
* Rough implementation of the create and add verbs. The verbs causemarcel2005-10-091-42/+65
| | | | | in-memory changes only and as such are only useful for prototyping and regression testing purposes.
* Import iwi-specific tools. Can help debug firmware or connection issues.damien2005-10-073-0/+136
|
* Don't hard-code port numbers, let the user specify them.rwatson2005-10-062-10/+8
|
* Improve realism of benchmark httpd: return some HTTP headers as partrwatson2005-10-061-1/+24
| | | | of the sendfile() system call.
* Add basic simplified HTTP benchmark tools to the netrate suite:rwatson2005-10-064-0/+356
| | | | | | | | | | | | | | | | | | - http is a lightweight, multithreaded HTTP query tool, which performs a timed measurement of the rate at which it can download files using single-fetch HTTP/1.0. Other than specifying the IP and a URL path, it requires zero configuration. - httpd is a lightweight, multithreaded HTTP server tool, which exports a single file of choice to the HTTP client, and responds with it no matter what the request. Other than specifying the file to export, it requires zero configuration. The goal of these tools is to measure the network costs associated with HTTP serving, rather than file system, HTTP protocol parsing, error handling, etc, and as such, parts relating to less interesting components of HTTP testing are intentionally omitted. Both are linked against libpthread by default.
* Add simple TCP connect and TCP receive benchmark components, intended torwatson2005-10-054-0/+262
| | | | | measure the rate of TCP connection round trips supported by a host at the socket layer.
* Add regression tests for trimdomain(3).brooks2005-10-055-0/+212
|
* Use mkuzip(8) instead of create_compressed_fs.fjoe2005-09-295-79/+119
|
* Fix a bug in disk geometry calculation.phk2005-09-291-4/+12
| | | | Fix NANO_TOOLS usage in FlashDevice()
* This one goes as well.phk2005-09-261-134/+0
|
* Remove the old Makefile based nanobsd build method, the new shell scriptphk2005-09-2610-600/+0
| | | | based is far better and the only one supported from now on.
* Correct filesystem mountpointphk2005-09-251-2/+2
|
* Make it possible to set the NANO_TOOLS variable to a directory outsidesimon2005-09-241-2/+11
| | | | | | | | of $NANO_SRC, which can e.g. be used if the nanobsd scripts are not in the source tree being built. Improved by: phk Approved by: phk
* Fix typo. MAILWRAPER -> MAILWRAPPER.philip2005-09-211-1/+1
| | | | | Spotted by: Andrea Campi <andrea+freebsd_cvs_all -at- webcom.it> Pointy hat to: philip
* Update these scripts to be more userfriendly and usage safe.phk2005-09-215-51/+133
|
* Add a convenience function to set NANO_MEDIASIZE, NANO_HEADS and NANO_SECTSphk2005-09-202-0/+127
| | | | | | | | for commonly used flash devices by FlashDevice Sandisk 256MB in the config file.
* Create an /etc/nanobsd.conf in the built image and put the disk drive namephk2005-09-201-28/+124
| | | | | | | | | | | | | | | | | | | | | | | | | there for scripts to use. Create a noauto fstab entry for the configuration partition (/cfg). Add NANO_TOOLS env-var to point to the nanobsd sources relative to NANO_SRC. Add -h argument which prints a usage. Add -b argument which skips build steps and goes directly to install steps. Complain about extraneous arguments, it's usually a forgotten '-c' Add convenience function to register customization function. Add some sample customization functions: cust_comconsole cust_allow_ssh_root Rename setup_diskless() to setup_nanobsd(), it makes more sense. Add various comments etc.
* Dump the environment for reference.phk2005-09-191-2/+8
| | | | Add a function to add customization commands.
* Small regression test tool to generate two forms of ENOSPC on a filerwatson2005-09-192-0/+195
| | | | | system: out of blocks, and out of inodes. Useful for exercising the uprintf(9) calls in UFS/ext2fs in order to detect races.
* Create fstab before linking stuff into /confphk2005-09-191-1/+2
|
* Missing ')'phk2005-09-191-1/+1
|
* o Extend the suite to run more than just the driver. We need to runmarcel2005-09-192-72/+75
| | | | | | mdconfig(8), because we need a disk to work on. o Extend the number of tests now that we have a disk. o Simplify the driver. All parameters are ASCII strings now.
* Add the beginnings of a testsuite for testing GPT control requests.marcel2005-09-192-0/+223
| | | | | | | | | | | | The testsuite is based on a simple driver program that builds a request from the arguments passed to it and issues the request to Geom. The driver emits FAIL with the error string or PASS depending on whether the request completed with an error or not. A -v option has been added to the driver and causes the request to be dumped. The -v option to prove(1) controls the -v option to the driver. The testsuite itself contains a hash of which the key constitutes the arguments and the value is the expected result.
* Add a regression test for listen()'s backlog argument, both at time ofrwatson2005-09-182-0/+389
| | | | | | | | creation and at time of update using an additional call to listen(). This test also exercises SO_LISTENQLIMIT, a forthcoming socket option that allows the retrieval (but not setting) of the queue limit. Discussed with: andre
* Remove reference to bpfstat, this no longer exists.csjp2005-09-171-1/+0
|
* Remove checks for shutdown(2) on non-connected socket.maxim2005-09-151-7/+0
|
* Add two small tests to set and clear two file I/O flags using ioctl onrwatson2005-09-131-0/+77
| | | | a fifo: FIONBIO, FIOASYNC.
* Restructure fifo_io event-related tests in order to support test casesrwatson2005-09-131-480/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | relating to O_RDWR file descriptors, which while not defined in POSIX, are in fact used: (1) Revise assumption that we have two file descriptors when testing I/O operations on a fifo. Provide cleanup routines that handle either two or three file descriptors (including a kqueue descriptor). (2) Add an openfifo_rw() routine to supplement openfifo(). (3) kqueue_setup() now configures an existing kqueue to monitor a new file descriptor, rather than allocating a new kqueue to monitor two existing file descriptors. (4) Wrap all direct poll/select/kqueue/FIONREAD interactions in a single function, assert_status(), which takes a file descriptor, kqueue descriptor, assertion of read/writable/exception states, and test description, then tests the assertion. This reduces the bulk of calls in many of the tests, making them shorter, more readable, and easier to determine correct. (5) Add a new test_events_rdwr() function, which performs a basic create/ write/read event test on a O_RDWR fifo file descriptor. This is currently failed by our fifo code in HEAD due to a bug in FIONREAD handling. Fix to be merged shortly.
* Garbage collect bpfstat. This is handled by netstat now.csjp2005-09-134-419/+0
| | | | Requested by: rwatson
OpenPOWER on IntegriCloud