summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: add dump from PPC64 to lscpu testsKarel Zak2011-03-312-0/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: detect sun4{u,v} in /proc/cpuinfo for sparc64Karel Zak2011-03-311-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add dump from UltraSparc T1 to lscpu testsKarel Zak2011-03-312-0/+37
| | | | | | Thanks to Jan Engelhardt. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add dump from huge ia64 to lscpu testsKarel Zak2011-03-312-0/+654
| | | | | | Thanks to Jan Engelhardt. Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: fix op-mode for /{sys,proc} dumpsKarel Zak2011-03-311-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update GPT testKarel Zak2011-03-111-5/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update libmount tests (add optstr output)Karel Zak2011-02-2316-2/+76
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add tests for [u]mount regular fileKarel Zak2011-02-212-0/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [strutils] avoid integer overflow on large valuesDave Reisner2011-02-151-26/+26
| | | | | | | | | | | | | | This is visible on a 2TB disk via lsblk, where a large partition incorrectly displays as 1.171798692T instead of 1.8T. This is corrected by using a uint64_t type instead of a simple int -- consistant with the type used in lsblk.c to represent the raw size in bytes. [kzak@redhat.com: - add EiB support - add size_to_human_string() to regression tests] Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix libmount testKarel Zak2011-02-091-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: skip non-compiled libmount testsKarel Zak2011-01-258-0/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu tests on x86_64Karel Zak2011-01-252-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: ignore device name used in some fdisk and blkid testsFrancesco Cosoleto2011-01-2410-35/+40
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* remaining util-linux-ng to util-linuxSami Kerola2011-01-231-1/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* 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>
* tests: use findmnt(8) for remount testKarel Zak2011-01-031-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use findmnt(8) for mount --move testKarel Zak2011-01-031-8/+5Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh libmount fstab parser testsKarel Zak2011-01-036-6/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix strtosize() testKarel Zak2011-01-033-39/+39
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: check for mtabKarel Zak2011-01-032-1/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount utab testsKarel Zak2011-01-038-0/+130
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: minor fixesKarel Zak2011-01-031-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use separate buffer for userspace options, add mount attributesKarel Zak2011-01-0310-72/+98
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --enable-libmount-mountKarel Zak2011-01-031-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove utab from API, update testsKarel Zak2011-01-036-7/+41
| | | | | | | The utab file is private libmount stuff. Anything about utab should not be exported by library API. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: improve libmount context mount and umount testKarel Zak2011-01-0311-86/+126
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add basic libmount tests for mountingKarel Zak2011-01-034-3/+90
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add utab update testsKarel Zak2011-01-035-2/+41
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix Makefile and testsKarel Zak2011-01-031-7/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount mtab update testKarel Zak2011-01-038-0/+83
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add quoted optstrKarel Zak2011-01-032-2/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: improve subtests initializationKarel Zak2011-01-031-9/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount lock testKarel Zak2011-01-033-0/+39
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount utils.c testsKarel Zak2011-01-0321-5/+100
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount tags testsKarel Zak2011-01-037-0/+122
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount mtab testsKarel Zak2011-01-034-0/+81
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount tab_parse.c testsKarel Zak2011-01-0311-2/+500
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount optstr.c testsKarel Zak2011-01-0320-0/+111
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use {src,build}dir variables for testsKarel Zak2011-01-031-34/+36
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add regression testsDavidlohr Bueso2010-12-097-0/+61
| | | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* remove -ng from some filesKarel Zak2010-12-011-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-3066-70/+70
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update namei regression testKarel Zak2010-10-071-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu testsKarel Zak2010-08-208-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix blkid MD test (missing tailing whitespaces)Karel Zak2010-08-201-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add blkid test for partitioned RAID0Karel Zak2010-08-182-0/+137
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: update MBR after ID changeKarel Zak2010-08-092-0/+42
| | | | | Reported-by: Bernard Pidoux <bpidoux@free.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: fix typo filesystem name nilfs to nilfs2Jiro SEKIBA2010-07-261-1/+1
| | | | | | The correct filesystem name is nilfs2, not nilfs. Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
* tests: add nilfs2 test for libblkidJiro SEKIBA2010-07-132-0/+7
| | | | | Signed-off-by: Jiro SEKIBA <jir@unicus.jp> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: truncate BeFS and tuxonice imagesKarel Zak2010-07-012-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>