Harald Hoyer
9ca53063ee
test: use dd to write status to marker disk
2020-02-28 14:41:15 +01:00
Harald Hoyer
a3f73298f2
testsuite: refactor qemu options
...
- refactor common qemu options
- fix the ens[0-9] interface shift
- add split network-[legacy|network] tests
2020-02-28 12:53:42 +01:00
Harald Hoyer
4b60a34715
Revert "test: run-qemu refactor common qemu parameters"
...
This reverts commit 77537bf2d7
.
Sorry, for the noise!
2020-02-28 08:51:44 +01:00
Harald Hoyer
77537bf2d7
test: run-qemu refactor common qemu parameters
2020-02-28 08:39:31 +01:00
Harald Hoyer
4bd0ab61b2
test: remove "sudo" calls in test scripts
2020-02-27 15:27:30 +01:00
Harald Hoyer
53e299e6f4
TEST-20-NFS/test.sh TEST-30-ISCSI/test.sh reduce debug output
2020-02-27 15:27:30 +01:00
Harald Hoyer
2f78bafa4b
tests: untabify, reformat
2020-02-27 15:27:30 +01:00
Harald Hoyer
3aae122c4b
Add github workflow
2020-02-27 15:27:30 +01:00
Daniel Molkentin
8996d3dfcd
test: use hosts randomness, not rngd
2019-11-13 09:07:45 +01:00
Lubomir Rintel
f3f081e542
TEST-{20,50,60,70): set MACAddressPolicy=keep
...
New systemd defaults to generating MAC addresses for software devices (whereas
previously they would inherit them from the first enslaved slave).
Sadly, among the things this breaks is our test fixture, where the dhcp servers
are configured to expect a particular MAC address. Disable this for the
affected tests, which are essentially the ones that use bridges and bonds.
2019-11-11 21:17:31 +01:00
Lubomir Rintel
7934c6f918
test: tell systemd to reboot on fatal errors
...
Otherwise systemd would freeze execution, causing the test to time out
instead of failing fast.
2019-07-19 16:10:54 +02:00
Harald Hoyer
66a3d4053b
testsuite: increase disk image size
2017-07-28 15:15:02 +02:00
Harald Hoyer
9b8e6e40a9
increased qemu memory
2017-07-21 11:43:08 +02:00
Harald Hoyer
b0d6254dad
TEST: redirect server output to server.log if $SERIAL empty
2017-03-30 09:04:02 +02:00
Harald Hoyer
bdd626059c
test/run-qemu: make "-cpu host" the default
2017-01-18 16:26:30 +01:00
Harald Hoyer
dfb3db3dad
testsuite: add "-cpu host" to kvm call
2016-11-14 16:21:06 +01:00
Harald Hoyer
1de836c763
TEST-20-NFS: remove stale pid file
2016-08-19 15:33:59 +02:00
Harald Hoyer
f6fa9ef101
TEST-20-NFS: skip root=/dev/nfs tests with systemd v230
2016-06-23 16:38:17 +02:00
Harald Hoyer
36867f1abf
test: handle kernel panic in testsuite
...
- reboot kernel on panic
- qemu don't reboot
2016-06-10 08:53:01 +02:00
Harald Hoyer
781f1971c3
cope with "rd.shell=0" in the testsuite
...
If emergency and shutdown-emergency hooks are called, the systemd should
poweroff the testsuite, therefore "rd.shell=0" is given on the test
suite kernel command lines.
"rd.shell=0" has to be parsed correctly by the test suite real root init
also.
2016-06-08 16:48:07 +02:00
Harald Hoyer
4e882b8090
use shutdown-emergency hook in testsuite to poweroff the machine
2016-06-07 14:27:03 +02:00
Harald Hoyer
24a78b2697
Fixed vlan, bonding, bridging, team logic
...
Call ifup for the slaves and assemble afterwards.
2016-01-19 11:35:23 +01:00
Harald Hoyer
777f2db037
splitup dracut-init.sh from dracut-functions.sh
...
other tools want to source dracut-functions.sh without any mkdir side
effects.
2015-07-02 16:04:05 +02:00
Harald Hoyer
4358ace43c
fixup test suite
...
- qemu wants to have "format=raw"
- "-kernel" is obsolete, because run-qemu picks the right path
2015-06-09 13:36:46 +02:00
Harald Hoyer
e3e1f406bb
test: turn off hostonly-cmdline and hostonly
2015-01-21 09:33:39 +01:00
Harald Hoyer
eda73c0ad2
test: add "fs-lib" to dracut module list
2014-10-24 13:19:34 +02:00
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
2014-08-29 13:38:47 +02:00
Harald Hoyer
4e1f8d0c5f
TEST-20-NFS: add more commands and fix client root dirs
2014-08-01 13:15:44 +02:00
Harald Hoyer
67b4a9ea17
testsuite: fixed network interface names
2013-08-15 10:25:19 +02:00
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
2013-08-07 10:33:15 +02:00
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
2013-06-28 10:31:18 +02:00
Harald Hoyer
021b2fddff
test: use grep option "-F" and install /etc/os-release
2013-04-30 18:54:33 +02:00
Harald Hoyer
44f870be42
test: change qemu param -nographic to -display none for -daemonize
...
qemu does not like -nographic in combination with -daemonize
2013-03-26 16:17:24 +01:00
Harald Hoyer
bb278147cf
fixed testsuite
2013-03-15 07:10:20 +01:00
Harald Hoyer
14be3b16cd
TEST-20-NFS/test.sh: reformat
2012-10-08 15:36:41 +02:00
Harald Hoyer
167a320e5f
s/libnss*.so/libnss_*.so so that we don't install libnss3.so
2012-10-04 14:38:25 -04:00
Frederic Crozat
ec8974914f
ensure af_packet module is loaded (if not built-in)
2012-08-01 14:40:43 +02:00
Harald Hoyer
23d6dcd125
test: s/ib700wdt/i6300esbwdt/g
2012-08-01 12:53:39 +02:00
Harald Hoyer
5d833a9f5b
add "af_packet" kernel module to network testsuite tests
2012-07-27 15:11:01 +02:00
Harald Hoyer
27fa604418
test: export initdir
2012-07-09 15:30:15 +02:00
Harald Hoyer
67ab4f7718
testsuite: fixups
2012-06-29 12:51:13 +02:00
Harald Hoyer
9f88b0370d
TEST-20-NFS: libnss cleanup
2012-06-18 20:05:25 +02:00
Harald Hoyer
483b1e3aa8
TEST-20-NFS: add watchdog
2012-06-18 20:05:25 +02:00
Harald Hoyer
0635530dda
TEST-20-NFS/test.sh: fsck with "-a"
2012-03-08 12:25:30 +01:00
Harald Hoyer
b8a9dc2d3f
TEST-20-NFS: use ext3 on server and fsck after kill
2012-03-08 11:00:29 +01:00
Harald Hoyer
8b6e099892
90kernel-modules/module-setup.sh: exclude nfs* lockd from standard
...
do not install nfs* lockd filesystems for the standard kernel modules
2012-02-22 16:14:38 +01:00
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
2012-02-22 15:15:21 +01:00
Harald Hoyer
96d22bd7d6
test: fixed terminfo location
2012-02-13 21:15:22 +01:00
Harald Hoyer
0be1785aea
test: introduce $TESTDIR tmpdir
...
to keep the git source tree clean, test files are now created in a
$TESTDIR created with mktemp.
2011-11-16 14:04:27 +01:00
Harald Hoyer
3b403b32fc
removed trailing whitespaces
2011-05-10 11:56:09 +02:00