Harald Hoyer
d85c71fb69
ci: force binary files for grep on disk images
...
Because some of the CI tests fail randomly while grepping for the
test success marker, let's be specific of the file format grep will
search to eleminate all failure sources.
4 years ago
Harald Hoyer
9ca53063ee
test: use dd to write status to marker disk
5 years ago
Harald Hoyer
a3f73298f2
testsuite: refactor qemu options
...
- refactor common qemu options
- fix the ens[0-9] interface shift
- add split network-[legacy|network] tests
5 years ago
Harald Hoyer
4b60a34715
Revert "test: run-qemu refactor common qemu parameters"
...
This reverts commit 77537bf2d7
.
Sorry, for the noise!
5 years ago
Harald Hoyer
77537bf2d7
test: run-qemu refactor common qemu parameters
5 years ago
Harald Hoyer
4bd0ab61b2
test: remove "sudo" calls in test scripts
5 years ago
Harald Hoyer
2f78bafa4b
tests: untabify, reformat
5 years ago
Daniel Molkentin
8996d3dfcd
test: use hosts randomness, not rngd
5 years ago
Böszörményi Zoltán
c9b3c89f94
Make TEST-16-DMSQUASH Python 3 compatible
...
This change still supports Python 2.6 and 2.7 but loses support
for Python 2.5.
The reason for this change was that Fedora 30 does not ship
python-imgcreate but ships python3-imgcreate.
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
5 years ago
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.
6 years ago
Harald Hoyer
225e4b94cb
Fix tests with network-legacy
6 years ago
Harald Hoyer
9b8e6e40a9
increased qemu memory
8 years ago
Daniel Molkentin
fd79054610
net-tools are not required anymore
...
Also bridge-utils was listed twice in README.testsuite.
8 years ago
Harald Hoyer
bdd626059c
test/run-qemu: make "-cpu host" the default
8 years ago
Harald Hoyer
dfb3db3dad
testsuite: add "-cpu host" to kvm call
8 years ago
Harald Hoyer
36867f1abf
test: handle kernel panic in testsuite
...
- reboot kernel on panic
- qemu don't reboot
9 years ago
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.
9 years ago
Harald Hoyer
4e882b8090
use shutdown-emergency hook in testsuite to poweroff the machine
9 years ago
Harald Hoyer
b830a31331
TEST-16-DMSQUASH: do not use "--" with ldconfig -r
9 years ago
Harald Hoyer
90ac2d2429
TEST-16-DMSQUASH: add code for IO throtteling in qemu
...
To test the mediacheck feature, I added commented out code with qemu IO
throtteling.
9 years ago
Harald Hoyer
777f2db037
splitup dracut-init.sh from dracut-functions.sh
...
other tools want to source dracut-functions.sh without any mkdir side
effects.
10 years ago
Harald Hoyer
3944c4b136
TEST-16-DMSQUASH: add more debug parms
10 years ago
Harald Hoyer
97ff396a97
run-qemu: default kernel to "/lib/modules/${KVERSION}/vmlinuz"
...
newer Fedora kernel install the kernel to /lib/modules
10 years ago
Harald Hoyer
4358ace43c
fixup test suite
...
- qemu wants to have "format=raw"
- "-kernel" is obsolete, because run-qemu picks the right path
10 years ago
Harald Hoyer
e3e1f406bb
test: turn off hostonly-cmdline and hostonly
10 years ago
Harald Hoyer
068531232b
test: make testsuite work with the new systemd minimal root req
...
systemd needs more directories to switch root
11 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
b093aa2dc7
beautified shell code
...
checked with shellcheck http://www.shellcheck.net/about.html
12 years ago
Harald Hoyer
021b2fddff
test: use grep option "-F" and install /etc/os-release
12 years ago
Harald Hoyer
bb278147cf
fixed testsuite
12 years ago
Harald Hoyer
7f1d77d9fb
TEST-16-DMSQUASH: reenable test
13 years ago
Harald Hoyer
27fa604418
test: export initdir
13 years ago
Harald Hoyer
f0558da598
test/*/test.sh: correct ifup and dhclient paths
13 years ago
Harald Hoyer
f48f9341a5
disable TEST-16-DMSQUASH for now
13 years ago
Harald Hoyer
c79f3883cd
test/TEST-16-DMSQUASH: add check for python-imgcreate
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
96d22bd7d6
test: fixed terminfo location
13 years ago
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.
13 years ago
Harald Hoyer
ea8e543bb8
add TEST-16-DMSQUASH
...
This is a test for Fedora LiveCDs created via livecd-tools
14 years ago