09f6f45a29d8691b67152d4e6f5bbb1453be778e |
|
10-Feb-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add test for https://github.com/systemd/systemd/issues/1981 |
d5172c79136fceaac6324fd1896efe1e576fd71d |
|
25-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: fix install_pam
* pam_unix depends on unix_chkpwd
* selinux=1 -> pam_unix runs unix_chkpwd for root too
https://git.fedorahosted.org/cgit/linux-pam.git/tree/modules/pam_unix/passverify.c?id=e89d4c97385ff8180e6e81e84c5aa745daf28a79#n202 |
e3ce42e70504922f0ea7149f90fc80b549844e93 |
|
25-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add setup_selinux |
5a613464fa15c0960b418322f592a24b9e0f7455 |
|
18-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add STRIP_BINARIES
We need a beautiful stacktraces sometimes
For example https://github.com/systemd/systemd/pull/2328 |
ac289ce3f5eb3f13806f7c631c6b23cee18b26da |
|
18-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: fix TEST-02-CRYPTSETUP on Debian/Ubuntu |
9974ff63b182e67bf3d3d9262e2bfa84f0a1378b |
|
18-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: install fsck*
systemd-fsck depends on /sbin/fsck* |
24be78d72b931b0175f08cee12fd23d631c024bf |
|
18-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: remove unnecessary --boot
* Use $ROOTLIBDIR/systemd always
* Don't pass $ROOTLIBDIR/systemd as the first argument:
$ cat /proc/1/cmdline
/lib/systemd/systemd/lib/systemd/systemd... |
cb2f9d3f296bc80b55f09880d61dfdf47fc98212 |
|
15-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add function for valgrind wrapper creation
I used it for d9814c7 and bffd87b |
a2fbff31c9c319da51528f85ae97d019f1e61a86 |
|
14-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add function for valgrind installation
I used it for d9814c76ec35e53a6b6448c0
Very handy:) |
75f63f0640c8183ec5cd2050aa4a53cb949c75df |
|
14-Jan-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
README, tests: remove /etc/mtab
This is a followup for 1d40ddb |
55161d41eb95a77a8b0db6f642507c8e5077cdcb |
|
25-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: remove unnecessary /sys/fs/cgroup/systemd checking
A unified hierarchy obsoletes this checking |
2c393ed7611a586ef5665aa62453ec57c0f5fef6 |
|
24-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: don't rely on system's machined
Fixes backward/forward incompatibility errors on spawning.
For example:
$ sudo make run
...
Failed to register machine: Cannot set property TasksMax, or unknown
property.
$ ../../systemd-nspawn --version
systemd 228
$ systemd-nspawn --version
systemd 225 |
61fea35e14d84144e6e2122f5cd247f9c7e6245e |
|
20-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: fix initrd searching on Debian/Ubuntu |
3f5c306d3810673364f8eae662f3735ffd645a1d |
|
19-Nov-2015 |
Daniel Mack <daniel@zonque.org> |
test: disable nspawn checks if machine wasn't booted with systemd
Sempaphore containers are not booted with systemd, so machined is not
available, which makes nspawn bail. Just skip nspawn tests in such
environments.
[ -d /run/systemd/system ] is esentially what sd_booted(3) is doing,
but on Ubuntu 15.05, without 'systemd-container' installed, we also
need to check for the presence of the systemd-machined binary. |
dbf43a42b8bb66d53c7cbab05f104c28097f811e |
|
19-Nov-2015 |
Daniel Mack <daniel@zonque.org> |
test: make qemu use kvm if available
If we're running in a KVM virtualized environment (such as Semaphore's
Docker enabled platform), pass '-cpu host' to QEMU. |
1b1eae69ce52ef6c89a1200e8d3758549b291991 |
|
19-Nov-2015 |
Daniel Mack <daniel@zonque.org> |
test: increase loop device size to 400MB
It turns out the full OS tree which is assembled into the loop-dev
mount point is bigger than 300MB. Increase the size. |
1c36b4a73b876258fbe01fbe9bc9b750b7dcc9ce |
|
18-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: add basic journal test |
417491f122b346a31cf8dc406c4f9195a5900cec |
|
17-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: copy /etc/pam.d/systemd-user from the host on Debian, Ubuntu
Fixes:
systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
systemd-testsuite systemd[34]: user@0.service: Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted
...
on Debian, Ubuntu |
bf3a947cb44f31359bba313e0252cbcc0dc95b03 |
|
16-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: intsall /etc/login.defs
Fixes:
systemd-testsuite login[31]: cannot open login definitions /etc/login.defs [No such file or directory]
systemd-testsuite systemd[1]: Received SIGCHLD from PID 31 (login).
systemd-testsuite systemd[1]: Child 31 (login) died (code=exited, status=1/FAILURE)
systemd-testsuite systemd[1]: console-getty.service: Child 31 belongs to console-getty.service
systemd-testsuite systemd[1]: console-getty.service: Main process exited, code=exited, status=1/FAILURE
systemd-testsuite systemd[1]: console-getty.service: Changed running -> dead
on Debian/Ubuntu
Useful on other distros |
0fe15dc8ddddeb39a5cad1f4f4afa25fa074a5d1 |
|
15-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: fix pam_modules installation on Debian (and Debian-like systems)
libpam_modules installs modules into /lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/security
on Debian
Fixes:
systemd-testsuite login[36]: PAM unable to dlopen(pam_group.so): /lib/security/pam_group.so: cannot open shared object file: No such file or directory
systemd-testsuite login[36]: PAM adding faulty module: pam_group.so
systemd-testsuite login[36]: PAM unable to dlopen(pam_limits.so): /lib/security/pam_limits.so: cannot open shared object file: No such file or directory
systemd-testsuite login[36]: PAM adding faulty module: pam_limits.so
...
etc |
c7eda0133b6bf13a182337cbe8a61bf2faf9b32e |
|
15-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: install execs from user units too
Fixes:
systemd[39]: systemd-exit.service: Executing: /bin/kill -s 58 29
systemd[39]: systemd-exit.service: Failed at step EXEC spawning /bin/kill: No such file or directory
systemd[29]: Received SIGCHLD from PID 39 ((kill)).
systemd[29]: Child 39 ((kill)) died (code=exited, status=203/EXEC) |
5c404f1ab8e96efedb983806443ca982a1b2a372 |
|
10-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: various fixes
* remove journal flushing (systemd-journal-flush.service runs journalctl --flush on boot)
* use sh -c and PATH instead of @SYSTEMCTL@ expansion
* remove unnecessary semicolons etc |
e63b61be5350dbe92ea12e1eeb96dde251ed9292 |
|
04-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
test-functions: fix dbus-1 installation
The basic setup for the well-known system and session buses is
now done in read-only files in ${datadir} (normally /usr/share).
See the NEWS entry for 1.9.18 for details.
http://cgit.freedesktop.org/dbus/dbus/tree/NEWS |
2375607039517c88df51ef16ddbb624ec1c10654 |
|
03-Jun-2015 |
Kay Sievers <kay@vrfy.org> |
remove gudev and gtk-doc
The library moved to:
https://git.gnome.org/browse/libgudev/ |
b6f0c419e38a960873fe68bf8f89bbb0268eed02 |
|
03-Feb-2015 |
Harald Hoyer <harald@redhat.com> |
test-functions: search for the initrd and kernel according to the BLS
Also search for the initrd and kernel according to the boot loader
specification. |
edbced8a151c1b7ded685e2ec644950d2adec5f5 |
|
03-Feb-2015 |
Harald Hoyer <harald@redhat.com> |
test-functions: use sfdisk without cyl,head,sectors
newer sfdisk implementations do not work with these anymore |
99877b7e3782a51b31bf191825f0335500f52fe5 |
|
03-Feb-2015 |
Harald Hoyer <harald@redhat.com> |
test-functions:install_libnss() call dracut_install with all $NSS_LIBS
dracut_install() can cope with more than one file |
7d023341c765c205068e33d23d63a4000ec211df |
|
03-Feb-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
tests: install ldconfig.real for Debian based distros
In Debian based distributions ldconfig is just a shell wrapper around
ldconfig.real, for deferring it during package installation. |
c50a4525aa8151b180d5a325e88c5f3812e66c36 |
|
03-Feb-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
tests: install hostname debug tool
This is mostly a vehicle to pull in libnsl.so which gets dlopen()ed by NSS
under certain NSS configurations. |
cffae62bcb6912fbaf1b7b282d9d170c9d308897 |
|
03-Feb-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
tests: install all required libnss modules
Don't assume "files" for everything in nsswitch. Instead, ask "getent passwd"
about which libnss modules it dlopen()s, and install these. |
53d90f9582f96208b3674da823ad1a3d2c3b1aa4 |
|
03-Feb-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
tests: don't hardcode systemctl path
Get it from type -P instead, to support --enable-split-usr. |
3486cb6cfa3d32a95c0daf02c7510fdf372507bf |
|
03-Feb-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
tests: determine rootlibdir from pkg-config
Prefer asking pkg-config for the rootlibdir, to also support systems with
--enable-split-usr. Fall back to the hardcoded /usr/lib/systemd if that fails. |
4be4833ece2856e0cacc09f8f8b2c02b320751fa |
|
03-Feb-2015 |
Martin Pitt <martin.pitt@ubuntu.com> |
tests: Make sushell optional in image creation
sushell does not exist in all distributions, and it can be changed with
configure --with-debug-shell, so make installation of it optional. |
25b47f96d9601ff566257b2a31bfb5f4bd25d661 |
|
22-Jan-2015 |
Marko Myllynen <myllynen@redhat.com> |
Use eurlatgr as the example console font
See https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont
https://bugzilla.redhat.com/show_bug.cgi?id=1182529 |
8a8332f77e61d41f3bb28b8f929ed41e0ffaf721 |
|
15-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
test: print the important commands to make debugging easier |
b8667ee4162cd2510363602b417cecede9fd2cca |
|
15-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
test: make the image bigger
I got some errors about lack of disk space... 100MB either way
shouldn't matter. |
739d81ddd005fae2bb82edce5b8a6173c7c48b34 |
|
10-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
test: wrap $LOOPDEV in quotes
Otherwise things go awry if it is not set ('[ -b ]' is not the same as '[ -b "" ]'!). |
c6a77179a4097df355f0f04b8f3260c76b5e515c |
|
10-Dec-2013 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
test: rework run_qemu
It tries to find a suitable QEMU binary and will use KVM if present.
We can now configure QEMU from outside with 4 variables :
- $QEMU_BIN : path to QEMU's binary
- $KERNEL_APPEND : arguments appended to kernel cmdline
- $KERNEL_BIN : path to a kernel
Default /boot/vmlinuz-$KERNEL_VER
- $INITRD : path to an initramfs
Default /boot/initramfs-${KERNEL_VER}.img
- $QEMU_SMP : number of CPU simulated by QEMU.
Default 1
(from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html) |
889a90422dd47284dffa32b9234a6e58991b000c |
|
07-Nov-2013 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
test: remove duplicated code |
c53158818d8cdaf46b3f1b5299b9bda118a1043f |
|
13-Sep-2012 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: fix a bunch of typos in docs
https://bugs.freedesktop.org/show_bug.cgi?id=54501 |
0d6e798a784ef0ba6b95512e4453067b2f84a91a |
|
29-May-2012 |
Harald Hoyer <harald@redhat.com> |
test/TEST-01-BASIC: add /var on cryptoluks and wait for the journal |
1ecf6a2b4960229ad1d06c591b4776ddf065e834 |
|
29-May-2012 |
Harald Hoyer <harald@redhat.com> |
test/test-functions: add check_qemu() and check_nspawn() functions |
33a5e20ffaa2cbb2853f14265566bac66a7f9026 |
|
29-May-2012 |
Harald Hoyer <harald@redhat.com> |
test/test-functions: be more verbose about skipping tests |
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9b |
|
22-May-2012 |
Harald Hoyer <harald@redhat.com> |
test: introduce a basic testsuite framework
$ cd test
$ sudo make check
will run all tests in the TEST-* subdirectories
$ cd test/TEST-01-BASIC
$ sudo make clean setup run
will run the different stages of the test for debugging purposes |