summaryrefslogtreecommitdiff
path: root/tests/commands.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2011-01-03tests: fix strtosize() testKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: improve libmount context mount and umount testKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add basic libmount tests for mountingKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount mtab update testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount lock testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount utils.c testsKarel Zak1-2/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount tab_parse.c testsKarel Zak1-2/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount optstr.c testsKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: use {src,build}dir variables for testsKarel Zak1-34/+36
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-12-09tests: add regression testsDavidlohr Bueso1-0/+1
Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-01tests: add cpuset regression testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-30lib: add strtosize() functionKarel Zak1-0/+1
This function int strtosize(const char *str, uintmax_t *res) supports {K,M,G,T,E,P}iB and {K,M,G,T,E,P}B suffixes. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-04tests: remove vol_id from testsKarel Zak1-4/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-10-13tests: swapon workaround for libtool wrapperKarel Zak1-2/+4
The swapon command behaviour depends on program name (argv[0] = swapon | swapoff). It means we cannot use the libtool wrapper script in our regression tests. It seems better to call the binaries directly with proper LD_LIBRARY_PATH. This is probably less portable, but good enough for our tests. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-09-16tests: add partitions probing testKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-07-02blkid: move to misc-utils/ directoryKarel Zak1-1/+1
The others utilities are in one of the top-level directories. That's confusing to have blkid(8) and findfs(8) in shlibs/ tree. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-19fdisk: add simple test for doslabel stuffZdenek Behan1-1/+1
Initial tests/fdisk patch to test most of the doslabel-related stuff. Coverage of dos-related functions is about 60%, does not test the verify/fix-PT code. [kzak@redhat.com: - fix test design to match to output/expect/diff idea] Signed-off-by: Zdenek Behan <rain@matfyz.cz> Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-14build-sys: complete /libs to /shlibs renameKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-18tests: we needn't blkid.shKarel Zak1-1/+1
after "libtoolization" we needn't extra blkid.sh wrapper Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-18tests: add fsck:ismounted reg.testKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-11tests: add libblkid regression tests (images from e2fsprogs)Karel Zak1-0/+1
- adds basic infrastructure for blkid regression tests - imports test images from e2fsprogs (all tests PASS!:-) Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-11tests: fix TS_* pathsKarel Zak1-4/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-05fsck.minix: add regression testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-05mkfs.minix: add regression testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-04mkfs.cramfs: add endianness support to cramfs toolsSigned-off-by: Roy Peled1-0/+1
cramfs is an endianness dependent file system. So far, the cramfs utilities did not support cramfs images of different endianness than the host machine. A separate utility, cramfsswap, was required in order to change the endianness of the image before and after using cramfs utilities. The extra utility introduced extra maintenance and an additional step in the process. This patch adds endianness support to mkfs.cramfs and fsck.cramfs. fsck.cramfs now automatically detects the image endianness, and can work on images of either endianness. mkfs.cramfs now accepts a new optional parameter (-N) that allows creating the cramfs image in either endianness. Signed-off-by: Roy Peled <the.roy.peled@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-08tests: add md5 regression testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-12-05tests: add swabN() regression testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-08-14lscpu: regression testsCai Qian1-0/+1
This patch added regression tests for lscpu. It tests lscpu for 3 architecutres, i386, x86_64 and ia64, with data from 3 different machines each. Signed-off-by: Cai Qian <qcai@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2008-04-14login: rewrite is_local() to remove limits on line lengthJames Youngman1-0/+1
Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28tests: add test for include/pathnames.hKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28tests: rename test_sysinfo, remove tailing white-spacesKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-10-11cal: add support for highlighting an arbitrary datePádraig Brady1-1/+0
This is done by calling cal with the extra day parameter like: cal 14 9 1752 Note the tests were updated to use the new syntax. Note also that this patch changes the -y option to always print a full year, even if a month or the -[13] options are specified. This matches the cal operation from bsdmainutils on debian and also allows one to print a full year while highlighting a particular date. Signed-off-by: Pádraig Brady <P@draigBrady.com>
2007-08-07tests: add script(1) race condition testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-23tests: use $AWK based on configure resultsKarel Zak1-0/+2
The hardcoded "gawk" seems like a bad idea. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-10tests: remove dependence on helpers/libpreload-time.soKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-15tests: add mount /dev/symlink testKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-11tests: pass all arguments to ts_init, add ts_has_option functionKarel Zak1-0/+4
This patch: - replaces "$1" with "$*" for ts_init function - add ts_has_option function - removes some tailing white-spaces Signed-off-by: Karel Zak <kzak@redhat.com>
2007-05-18tests: add functions for label, uuid and fstype detectionKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-28tests: add lock_mtab() performance and reliability testKarel Zak1-0/+2
The test starts concurrently many processes that use lock_mtab() as lock for access to same file. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-20tests: add hwclock systohc testKarel Zak1-0/+2
The test detects how "hwclock --systohc" untune the clock. Now the hwclock command causes the hw clock to be wrong by 500ms each time it is reset. The test resets the clock 10 times and result is 5 sec difference between NTP and the clock. That's a bug... and it has to bee fixed in a next commit. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-09login: add regression test for IP address checking codeKarel Zak1-0/+2
The hnmatch() in checktty.c is checking IP addresses if the login util is compiled without PAM support. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-06tests: add look test for words with separatorKarel Zak1-1/+1
$ look apple-pie Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-27tests: add mkfs.cramfs testsKarel Zak1-0/+1
This test shows that actual mkfs.cramfs is ugly due MAXENTRIES (100) limit. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-07mkswap: add regression testKarel Zak1-3/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-31namei: new regression testKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-30col: getwchar() errors shouldn't be hiddenKarel Zak1-0/+2
The col truncates output when multibyte errors is detected, but the problem is not reported to stderr and return code is still same like for successful exit. This stupid behaviour is fixed by this patch. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04tests: add simple helper that returns info about systemKarel Zak1-0/+3
usage: tests/helpers/mnt_test_sysinfo <infoname> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04ipcs: add regression test for output headersKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04tests: add basic infrastructure for regression testsKarel Zak1-0/+8
The patch adds tests/ directory with simple regression tests infrastructure. Also, it adds the "ts-mount-paths" test that testing if all defined paths (fstab, mtab, locks) are still same. Signed-off-by: Karel Zak <kzak@redhat.com>