summaryrefslogtreecommitdiffstats
path: root/tests/helpers
Commit message (Collapse)AuthorAgeFilesLines
* tests: add "byte-order" to helpers/test_sysinfoKarel Zak2009-02-111-1/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add MD5 regression testKarel Zak2008-12-063-1/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add swabN() regression testKarel Zak2008-12-053-1/+116
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* use getpagesize()maximilian attems2008-07-301-1/+1
| | | | | | | | | | | | getpagesize() is said to be more portable than sysconf(_SC_PAGESIZE) to anything Linux. this patch helps klibc porting effort as the sysconf multiplex API is not supported there. also remove comment of the switch to sysconf in mkswap.c. Signed-off-by: maximilian attems <max@stro.at>
* build-sys: ignore a bunch of generated files, mostly binariesJames Youngman2008-04-141-0/+2
| | | | | Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* include: add mount paths to pathnames.hKarel Zak2007-11-281-1/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: cleanup pathnames.hKarel Zak2007-11-281-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add test for include/pathnames.hKarel Zak2007-11-282-1/+100
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move test_bkdev to lib/Karel Zak2007-11-281-5/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: rename test_sysinfo, remove tailing white-spacesKarel Zak2007-11-282-6/+5Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add blkdev.{c,h}Stefan Krah2007-11-071-1/+5
| | | | | | | | | Now we duplicate BLK* ioctls on many places... This patch also fix BLKGETSIZE64 usage in dependence on kernel version. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix ULONG_MAX usage on 32bit machinesKarel Zak2007-08-141-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add license notices, change from gplv2-only to gplv2-or-laterKarel Zak2007-07-231-0/+15
| | | | | | | The previous "gplv2-only" was copy&past mistake. This re-licensing is correct -- there is not any other contributor to this code. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove libtoolKarel Zak2007-07-112-32/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add missing headerMatthias Koenig2007-04-041-0/+1
| | | | | | | minor patch, which adds a missing string.h header to mnt_test_sysinfo.c Signed-Off-By: Matthias Koenig <mkoenig@suse.de>
* tests: add library for LD_PRELOAD to manipulate with time() in testsKarel Zak2007-03-142-1/+33
| | | | | | | | The cal command generates output that depends on time(). For reliable regression tests we need to use still same time. It seems that LD_PRELOAD is pretty simple way. Signed-off-by: Karel Zak <kzak@redhat.com>
* Clean up pagesize/PAGE_SIZE usage.Karel Zak2007-02-061-1/+1
| | | | | | | | | Now all code in util-linux uses sysconf(_SC_PAGESIZE) that is standardized and preferred way of querying page size. The asm/page.h file is not included to the code anymore. (This patch doesn't change mount's FS detection code which will be removed later). Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix argv[] usage in mnt_test_sysinfo.cKarel Zak2007-02-061-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add simple helper that returns info about systemKarel Zak2007-01-042-0/+111
usage: tests/helpers/mnt_test_sysinfo <infoname> Signed-off-by: Karel Zak <kzak@redhat.com>