All other test output goes to builddir too and moreover "make distcheck"
complains about writing to it's read-only srcdir.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Unarguably this change makes test output to be more messy, but when I
compare run time tells with clear numbers parallel is quicker. For me
the quickness is important factor. Running test suite always after a
change is preferrably quick, and if something is indicated to be broken
it is ok to spend time in drilling down what happen.
$ time ./tests/run.sh --parallel=5
[...]
real 1m48.037s
Same without parallelization.
$ time ./tests/run.sh
real 3m16.687s
The default is changed to be parallel, where job count is same as number
of CPUs.
[kzak@redhat.com: - propagate --parallel into function.sh
- don't use extra title for non-parallel execution
- disable by default]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
None existing account is not still-logged-in but gone mysteriously,
assuming wtmp logout markup is missing.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
[kzak@redhat.com: - fix coding style,
- use xalloc in all code,
- fix strtol usage]
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
The default configure disables python support, so this test fails by
default. Add a simple check for module availability.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
The previous commit made --week=<number> to have smaller weight value
than a month supplied by user. The commit started to print the month
that has more days at the week when a week is split to two months, and
only one month output is requested.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This change should make namei output more readable when multiple
arguments are supplied.
The old:
$ namei -l /usr/foo
f: /usr/foo
drwxr-xr-x root root /
drwxr-xr-x root root usr
foo - No such file or directory
The new:
$ namei -l /usr/foo
f: /usr/foo
drwxr-xr-x root root /
drwxr-xr-x root root usr
foo - No such file or directory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Because many years have two sections of week 52 or 53, the week that
this argument points to is the one that starts during that year (when available).
The week number in argument is also highlighted in addition to possibly visible
current/defined date highlighting.
Signed-off-by: Tommi Kyntola <kynde@iki.fi>
Current tests were replicated with week numbers
and some additional tests for week numbering corner cases
were added, too.
Signed-off-by: Tommi Kyntola <kynde@iki.fi>
tests: update sun label test
* add fdisk -l outputs (to make the test more usable)
* use more usable geometry
* don't expect that 'create sun label' oprations asks for C/H/S (we
follows fdisk_context defaults)
Signed-off-by: Karel Zak <kzak@redhat.com>