summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: add "sort" to cramfs testKarel Zak2008-02-182-2317/+2317
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: fix weekday alignment for certain localesPádraig Brady2008-01-173-30/+30
| | | | | | | | | | | | | | | For example this had too much padding: LANG=zh_CN.utf8 cal -j while this had too little padding: LANG=hu_HU.utf8 cal This had invalid chars: LANG=li_BE.utf8 cal This had too few chars: LANG=si_LK.utf8 cal Note some locales may display with slightly worse alignment (fa_IR.utf8 for example), but that is only because the terminal is not merging the combining characters. This happens on gnome-terminal-2.18.3-1.fc8 at least. Signed-off-by: Pádraig Brady <P@draigBrady.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: redirect libblkid cache to BLKID_FILEKarel Zak2007-12-062-29/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: cleanup usage of _PATH_*Karel Zak2007-11-282-0/+2
| | | | | | | The macros MOUNTED and MNTTAB are deprecated. This patch standardize and consolidate all path macros and remove mount_paths.h. Signed-off-by: Karel Zak <kzak@redhat.com>
* include: add mount paths to pathnames.hKarel Zak2007-11-282-2/+20
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: cleanup pathnames.hKarel Zak2007-11-282-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add test for include/pathnames.hKarel Zak2007-11-285-1/+164
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* 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-283-7/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ts-mount-noncanonicalKarel Zak2007-11-213-4/+44
| | | | | | mount(8) shouldn't canonicalize SPEC path for cifs, smbfs, nfs, ... 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: use losetup -sKarel Zak2007-10-262-6/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix blkid cache usageKarel Zak2007-10-122-10/+22
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: exactly define a time format in ls -l outputKarel Zak2007-10-112-1333/+1333
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: add support for highlighting an arbitrary datePádraig Brady2007-10-114-28/+27Star
| | | | | | | | | | | | | | | | | 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>
* tests: fix ULONG_MAX usage on 32bit machinesKarel Zak2007-08-141-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add warning "For development purpose only."Karel Zak2007-08-081-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add script(1) race condition testKarel Zak2007-08-074-0/+40
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix directories in EXTRA_DISTKarel Zak2007-07-261-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use $AWK based on configure resultsKarel Zak2007-07-233-5/+7
| | | | | | The hardcoded "gawk" seems like a bad idea. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add license notices, change from gplv2-only to gplv2-or-laterKarel Zak2007-07-231-6/+0Star
| | | | | | | 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>
* tests: add license notices, change from gplv2-only to gplv2-or-laterKarel Zak2007-07-2337-78/+287
| | | | | | | 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>
* tests: use relative paths when sourcing filesMike Frysinger2007-07-2334-69/+69
| | | | | | | | | The "." command will search $PATH before $PWD if the argument specified contains no path qualifiers which can cause problems if you happen to have something in $PATH named the same. The attached patch changes all of the ". <foo>" in the tests subdir. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build-sys: remove libtoolKarel Zak2007-07-112-32/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove dependence on helpers/libpreload-time.soKarel Zak2007-07-104-25/+25
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount /dev/symlink testKarel Zak2007-06-154-0/+74
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add support for suid programsKarel Zak2007-06-151-0/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix ts_fstab_add functionKarel Zak2007-06-151-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add cal -y testKarel Zak2007-06-123-0/+238
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add cal -3 testKarel Zak2007-06-123-0/+98
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add cal -1 testKarel Zak2007-06-123-0/+98
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: pass all arguments to ts_init, add ts_has_option functionKarel Zak2007-06-1131-70/+81
| | | | | | | | | 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>
* tests: add mount by uuid with label in fstabKarel Zak2007-05-303-0/+77
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by uuid with devname in fstabKarel Zak2007-05-303-0/+72
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by label with uuid in fstabKarel Zak2007-05-303-0/+77
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by label with devname in fstabKarel Zak2007-05-303-0/+72
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by devname with uuid in fstabKarel Zak2007-05-303-0/+61
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by devname with label in fstabKarel Zak2007-05-303-0/+61
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add more variants to {mount,fstab}-by-{label,uuid,devname}Karel Zak2007-05-305-15/+59
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup blkid cache after test device deinitializationKarel Zak2007-05-252-5/+32
| | | | | | | | The libblkid reuses cached information when a cache entry is younger than 2 secs. That's wrong, because util-linux tests use devices more quickly. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: use verbose mode instead debug modeKarel Zak2007-05-254-22/+26
| | | | | | | | | | | | | The patch: commit 61d9d2ff1cb0e28e2b88099bbc5b919fa5004fce Date: Wed Dec 27 23:35:56 2006 +0100 added debug mode to the mount command. It was mistake. It's better to use old verbose mode instead a new debug mode. This patch transform all staff from debug mode to to verbose mode. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by devname from fstabKarel Zak2007-05-223-0/+57
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by UUID from fstab testKarel Zak2007-05-223-0/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by label from fstab testKarel Zak2007-05-223-0/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add support for fstab modificationKarel Zak2007-05-226-25/+59
| | | | | | The patch adds ts_fstab_add and ts_fstab_clean routines. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by devname testKarel Zak2007-05-223-0/+55
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by LABEL testKarel Zak2007-05-213-0/+61
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix Makefile.am (add missing tests)Karel Zak2007-05-211-10/+12
| | | | | | The patch adds missing tests to Makefile.am. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount by UUID testKarel Zak2007-05-212-0/+59
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ts_log and --verbose supportKarel Zak2007-05-1821-73/+67Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>