summaryrefslogtreecommitdiffstats
path: root/tests/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>