summaryrefslogtreecommitdiffstats
path: root/tests/helpers/test_sysinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* build: fix some compiler warningsRuediger Meier2014-05-301-1/+1
| | | | | | | | | | | | Most of them catched on 32bit gcc and icc. disk-utils/fsck.cramfs.c: printf format type lib/boottime.c: unused variables misc-utils/cal.c: set but never used sys-utils/losetup.c: set but never used sys-utils/lscpu-dmi.c: defined but not used sys-utils/switch_root.c: comparison between signed and unsigned tests/helpers/test_sysinfo.c: printf format type
* test_sysinfo: fix compiler warning [-Wmissing-prototypes]Karel Zak2012-07-161-19/+10Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* test_sysinfo: fix printf formatKarel Zak2011-06-141-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* test_sysinfo: Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE.Josiah Worcester2011-06-141-1/+1
| | | | Signed-off-by: Josiah Worcester <josiahw@gmail.com>
* build-sys: use WORDS_BIGENDIAN to determine platform byte-orderFabian Groffen2011-01-171-6/+1Star
| | | | | | | | | | | | 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>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add "byte-order" to helpers/test_sysinfoKarel Zak2009-02-111-1/+18
| | | | 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>
* tests: rename test_sysinfo, remove tailing white-spacesKarel Zak2007-11-281-0/+126
Signed-off-by: Karel Zak <kzak@redhat.com>