summaryrefslogtreecommitdiffstats
path: root/old-tests
Commit message (Collapse)AuthorAgeFilesLines
* Add .gitignore files for an in-source-tree build.Alasdair G Kergon2012-06-081-0/+1
| | | | Tell git to ignore files generated by a build inside the source tree.
* Move tests from old-tests/regex to unit-tests/regex. unit-tests willJoe Thornber2010-07-205-1182/+0
| | | | contain tests that currently work.
* Move regex printing code from test to main tree (may use in debug messages).Alasdair Kergon2010-04-221-76/+10
| | | | Yet another optimiser fix attempt.
* isprintAlasdair Kergon2010-04-221-1/+1
|
* add -r to print out closer to original regex formatAlasdair Kergon2010-04-221-3/+90
|
* Make matcher_t and parse_t compilableZdenek Kabelac2010-04-213-36/+37
| | | | | | These two old-test/regex utils are usable for testing output of regex processing at core level. For getting them usable configure need to create Makefile. This is currently disable by default.
* Use $(top_builddir) for inclusion of make.tmpl in Makefiles.Zdenek Kabelac2010-03-045-24/+24
|
* Allow for a build directory separate from the source.Alasdair Kergon2009-10-025-5/+10
|
* Correct typo in comments: s/is part of the LVM2/is part of LVM2/.Jim Meyering2007-09-215-5/+5
| | | | | | | Signed-off-by: Jim Meyering <jim@meyering.net> Author: Jim Meyering <jim@meyering.net>
* Use hash, bitset, malloc, pool from libdevmapper.Alasdair Kergon2005-10-1613-42/+21
|
* tidy relative paths in makefile includesAlasdair Kergon2004-06-155-5/+5
|
* Update copyright notices.Alasdair Kergon2004-03-3023-46/+248
|
* rename config file vars & always use / as separatorAlasdair Kergon2004-03-082-10/+10
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-192-2/+2
| | | | | | Clear many compiler warnings (i386) & associated bugs - hopefully without introducing too many new bugs:-) (Same exercise required for other archs.) Default compilation has optimisation - or else use ./configure --enable-debug
* o Test program for the config unit. Just reads a config and then writes itJoe Thornber2002-08-014-0/+213
| | | | out again.
* o sync backup changesJoe Thornber2001-12-201-1/+5
|
* o if any pattern rejects a device, and there were no accepts then reject !Joe Thornber2001-11-122-2/+2
|
* sync only, not ready yetJoe Thornber2001-11-093-0/+150
|
* o added aliases list to struct device.Joe Thornber2001-10-251-2/+16
|
* o test program for the new persistent filter.Joe Thornber2001-10-231-6/+54
|
* o Filter which caches valid devices in a file. Pass in init == 1 to theJoe Thornber2001-10-222-2/+72
| | | | | constructor if you want it to ignore the existing cache and check every device again (eg, vgscan, pvscan).
* o Filter for the dev cache that takes values from config file:Joe Thornber2001-10-194-1/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | devices { # first match is final, eg. /dev/ide/cdrom # get's rejected due to the first pattern filter=["r/cdrom/", # don't touch the music ! "a/hd[a-d][0-9]+/", "a/ide/", "a/sd/", "a/md/", "a|loop/[0-9]+|", # accept devfs style loop back "r/loop/", # and reject old style "a/dasd/", "a/dac960/", "a/nbd/", "a/ida/", "a/cciss/", "a/ubd/", "r/.*/"] # reject all others } Alasdair this is ready to roll into the tools now.
* o First pass at the regex code. lib/regex/matcher takes an array of regex'sJoe Thornber2001-10-196-0/+1137
| | | | | | | | | | | | and builds a *very* efficient engine that will tell you which regex a string matches with only a single pass through the string. To be used in the config file when specifying devices. o Anchor's aren't supported yet (^ and $) but that won't take long. o Also when we get some realistic config files we may want to consider adding an extra level of indirection to the dfa state in order to compress the table. It all depends on how large typical tables get.
* o pe_start wasn't being set properly when exporting to diskJoe Thornber2001-10-112-0/+76
| | | | | | | | o added a check for lv's with null lv_name o setup pv->lv_cur correctly o test program for vg_write
* o spot empty list in build_vgJoe Thornber2001-10-091-1/+1
|
* o change pv_read to take a name rather than a deviceJoe Thornber2001-10-092-7/+2
|
* o get_vgs worksJoe Thornber2001-10-094-2/+81
|
* o pv_Read worksJoe Thornber2001-10-092-2/+80
|
* o test program for get_pvsJoe Thornber2001-10-085-64/+163
|
* o get_pvs for format 1Joe Thornber2001-10-081-1/+2
| | | | o fix vg_read if vg doesn't exist
* o added pretty printing to read_vg_t, run this on your systemJoe Thornber2001-10-081-0/+60
| | | | | | to see what vg's you've got S: ----------------------------------------------------------------------
* o read_vg works (or so it claims)Joe Thornber2001-10-082-6/+8
|
* o dev_cache_t program worksJoe Thornber2001-10-082-0/+68
|
* o syncJoe Thornber2001-10-082-2/+15
|
* o read_vg_t compilesJoe Thornber2001-10-081-1/+3
|
* o makefile for read_vg_tJoe Thornber2001-10-081-0/+20
|
* o test program for reading a vgJoe Thornber2001-10-081-0/+47
|
* makefile support for testsAlasdair Kergon2001-10-041-2/+2
|
* o forgot to add this beforeJoe Thornber2001-10-041-0/+20
|
* o got dbg_malloc_t working, Alasdair could you look at the Makefile.in itJoe Thornber2001-10-041-10/+12
| | | | | | seems to be having trouble with the dependencies. o removed some files from the lib makefile that don't compile yet.
* o test program for the device cacheJoe Thornber2001-10-021-0/+45
|
* o test program for the hash table.Joe Thornber2001-10-021-0/+100
|
* o Test program for dbg_malloc unit.Joe Thornber2001-10-021-0/+146
I'm postfixing test programs with _t, and benchmarks with _b