summaryrefslogtreecommitdiff
path: root/tests/helpers
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17build-sys: use WORDS_BIGENDIAN to determine platform byte-orderFabian Groffen1-6/+1
Autoconf contains the right magic to determine the endianness on many platforms next to Linux. This reverses previous commits to move away from WORDS_BIGENDIAN: "use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN" This is necessary to compile on non Linux platforms like Darwin and Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2010-11-30rename util-linux-ng back to util-linuxKarel Zak2-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-06-30include: clean up _PATH_DEV_* macrosKarel Zak1-1/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-11tests: add "byte-order" to helpers/test_sysinfoKarel Zak1-1/+18
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-06tests: add MD5 regression testKarel Zak3-1/+35
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-05tests: add swabN() regression testKarel Zak3-1/+116
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-07-30use getpagesize()maximilian attems1-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>
2008-04-14build-sys: ignore a bunch of generated files, mostly binariesJames Youngman1-0/+2
Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28include: add mount paths to pathnames.hKarel Zak1-1/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28include: cleanup pathnames.hKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28tests: add test for include/pathnames.hKarel Zak2-1/+100
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28tests: move test_bkdev to lib/Karel Zak1-5/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28tests: rename test_sysinfo, remove tailing white-spacesKarel Zak2-6/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-07lib: add blkdev.{c,h}Stefan Krah1-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>
2007-08-14tests: fix ULONG_MAX usage on 32bit machinesKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-23tests: add license notices, change from gplv2-only to gplv2-or-laterKarel Zak1-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>
2007-07-11build-sys: remove libtoolKarel Zak2-32/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-04-04tests: add missing headerMatthias Koenig1-0/+1
minor patch, which adds a missing string.h header to mnt_test_sysinfo.c Signed-Off-By: Matthias Koenig <mkoenig@suse.de>
2007-03-14tests: add library for LD_PRELOAD to manipulate with time() in testsKarel Zak2-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>
2007-02-06Clean up pagesize/PAGE_SIZE usage.Karel Zak1-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>
2007-02-06tests: fix argv[] usage in mnt_test_sysinfo.cKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04tests: add simple helper that returns info about systemKarel Zak2-0/+111
usage: tests/helpers/mnt_test_sysinfo <infoname> Signed-off-by: Karel Zak <kzak@redhat.com>