summaryrefslogtreecommitdiffstats
path: root/tools/test
Commit message (Collapse)AuthorAgeFilesLines
* Ignore a test program which doesn't compile at the moment. It will bemarkj2014-09-211-1/+2
| | | | addresed properly when integrating the DTrace tests with Kyua.
* Use the right length.delphij2014-07-251-1/+1
| | | | | Submitted by: Sascha Wildner MFC after: 2 weeks
* Avoid hardcoding "gcc" in the DTrace tests.pfg2014-07-111-1/+1
| | | | | | | | | At least one test doesn't work yet without gcc, however gcc is not always available in base. Using the environment compiler is more trustable and will also work with an external compiler. Reviewed by: markj MFC after: 3 days
* Fix tst.ZeroModuleProbes.d.ksh, which was incorrectly modified in r178534.markj2014-05-191-1/+0
| | | | | | Since "BEGIN" is not the name of a module, the test would just hang. MFC after: 3 days
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-1310-10/+10
| | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* Silence an unnecessary warning.gnn2014-04-011-0/+2
| | | | MFC after: 2 weeks
* Some DTrace tests (mostly in the pid provider directory) make use ofmarkj2013-12-311-2/+11
| | | | | | | executable ksh scripts. These are currently not copied into the test directory the way that compiled executables are, so the tests which make use of them cannot work. This changes the test Makefile to copy the scripts into the test directory.
* Enable some previously-disabled DTrace tests for umod, ufunc and usym. Theymarkj2013-12-041-5/+0
| | | | | | expect the installed ksh binary to be named "ksh", which is not the case when it's installed on FreeBSD via the shells/ksh93 port. Allow for it to be "ksh93" as well so that the tests can actually pass.
* Add simple test for the read/write/lseek on posix shm filedescriptor.kib2013-08-211-6/+21
| | | | | Tested by: pho Sponsored by: The FreeBSD Foundation
* This test is working now, so remove it from NOTWORK.markj2013-06-021-1/+0
|
* As python3 does not have raw_input(), convert it to input() when wehiren2013-05-131-1/+5
| | | | | | | | are using python3. PR: 177214 Reviewed by: gnn Approved by: sbruno (mentor)
* fix this script so we don't expand the second $FreeBSD since svn thinksjmg2013-02-271-1/+1
| | | | the $ in $1 ends the keyword, and expands it...
* Rework the handling of the children for the pthread_vfork_test. Thekib2013-01-301-7/+25
| | | | | | | | | trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our zombies to init(8). This way, the zombies are around slightly longer, allowing to actually exercise the logic for p_pwait use by the test. MFC after: 1 week
* A number of places in the source tree still reference cuad.* aftereadler2012-12-082-3/+3
| | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* Covert to python 3eadler2012-10-221-4/+4
| | | | | Approved by: cperciva MFC after: 3 days
* Add SOFT as a possible section to exclude from counter list.fabient2012-09-101-1/+1
|
* Add a reasonable error message telling the caller to specify a programgnn2012-09-041-0/+4
| | | | | to be executed under hwpmc. If there is no program to run then exit.
* Add a test program, written by Stephan Uphoff, which demonstrates thekib2012-07-112-0/+181
| | | | | | | deadlock due to i/o performed over the buffers backed by file mappings. MFC after: 2 weeks Approved by: ups
* Add a test for number of CPUs configured/online.kib2012-06-271-0/+8
| | | | MFC after: 1 week
* - Add regression tests for BSD sortgabor2012-05-11449-0/+2661
|
* Use = rather than == for expressions to test(1) builtin(1) in sh(1) tobz2012-03-061-1/+1
| | | | | | | | | | comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
* Update scripts to work around two sh(1) bugs found in stable/8:bz2012-02-244-252/+263
| | | | | | | | | | | | | | | 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does. 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted. Correct typos and improve some details forwarding.sh already had in initiator, esp. related to ipfw accepting if the default is deny. Add an extra stat call to the "delay" function in addition to the touch which together is still a lot faster than sleep 1 but seems to help a lot more to mitigate the unrelated kernel race seen. Sponsored by: Cisco Systems, Inc.
* Add regression tests scripts for multi-IP FIBs exercising the send,bz2012-02-177-0/+4697
| | | | | | | | | | | | | | | receive and forward path tagging packets with both the ifconfig fib option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and testing both setfib(2) as well as the SO_SETFIB socket option. At 16 FIBs a total of over 64k return codes/replies/stati are checked, sometimes multiple times (in different ways, e.g. the reflected request as well as ipfw counter values). The scripts need two or three machines to run and are thus not added to the tools/regression framework but only to tools/test. Sponsored by: Cisco Systems, Inc.
* Remove UCP from the list of countersgnn2012-02-141-1/+1
|
* Add options for program (-p) and to turn off waiting (-w) which is nowgnn2012-02-141-5/+20
| | | | | | | | | on by default. The default is to wait after each counter is tested. Since the prompt would go to stdout you won't see it if you're redirecting the output of the executed sub-program to /dev/null, so just press return to continue or Ctrl-D to stop.
* Add a rudimentary test to run through all the available counters on agnn2012-02-141-0/+79
| | | | | | | | system and then execute a program with pmcstat in counting mode. The program will verify that all counters fire and that the code neither panics the system nor locks it up. This should be considered a first pass conformance test for new sets of counters being added to hwpmc(4).
* Add a test program for recently added ptrace(2) interfaces.kib2012-02-102-0/+413
| | | | MFC after: 1 week
* Spelling fixes for tools/uqs2011-12-304-6/+6
| | | | Add some $FreeBSD$ tags so svn will allow the commit.
* Fix warnings and style(9) issues.brucec2011-03-112-14/+16
| | | | | | Set WARNS to 6. MFC after: 1 week
* - Add two more iconv-related files, which were left out from previous commitgabor2011-02-251-0/+70
| | | | Approved by: delphij (mentor)
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-25257-0/+1417385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Update for the new tests.rpaulo2010-08-211-263/+199
| | | | Sponsored by: The FreeBSD Foundation
* Add simple test to check the functioning of retrieval ofkib2010-08-172-0/+65
| | | | | | | | pagesize()/pagesizes() after change to use aux vector. Note that public function getosreldate() is different from libc-internal __getosreldate() and does not use aux to fetch osreldate value. MFC after: 1 month
* Add a TestFloat based test suite for floating-point implementationsmarius2010-04-2441-0/+18426
| | | | | | | | | | | | currently supporting sparc64. After a `make depend all` there are three programs; testsoftfloat for testing against the SoftFloat in src/lib/libc/softfloat for reference purposes, testemufloat for testing the emulator source in src/lib/libc/sparc64/fpu and testfloat for testing with the installed libc. Support for other architectures can be added as needed. PR: 144900 Submitted by: Peter Jeremy
* This is simple testing program for revision 185647.ganbold2008-12-061-0/+81
| | | | | | | It invokes multiple parallel threads and each thread calls vfork() system call. Approved by: kib
* Add the DTrace test makefile for the test suite distributed in OpenSolaris.jb2008-05-172-0/+456
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-212-2/+2
| | | | OK'ed by: core
* Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].obrien2004-11-192-3/+3
|
* For variables that are only checked with defined(), don't provideru2004-10-242-2/+2
| | | | any fake value.
* Add an option to write collected data to file in binary format. Thisphk2004-03-101-1/+18
| | | | is very useful for collecting test-data for trial runs.
* Add a small program to test/measure with the RFC 2783 API for timingphk2003-12-083-0/+231
| | | | external signals.
* Remove broken attempt to compile libc's malloc source directly; thiskbyanc2002-01-022-3/+12
| | | | | | | | | | | | 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.
* Add $FreeBSD$.asmodai2001-10-081-0/+4
| | | | Describe the other two directories in here.
* Add a little test program to demonstrate POSIX Shared Memory Objects.wollman2000-04-222-0/+148
|
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Fix a couple of typos.mpp1997-03-071-1/+1
|
* Revert $FreeBSD$ to $Id$peter1997-02-224-4/+4
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-144-4/+4
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Update this to match my version.phk1996-10-262-24/+21
|
* Add the test programs that I tested the /dev/random driver with.markm1995-11-044-0/+108
|
OpenPOWER on IntegriCloud