Harald Hoyer
b039b20ec2
test: correct cmdline reading functions
9 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
bb1b924792
TEST-30-ISCSI: some tests have unknown return code
...
by design
9 years ago
Harald Hoyer
24a78b2697
Fixed vlan, bonding, bridging, team logic
...
Call ifup for the slaves and assemble afterwards.
9 years ago
Harald Hoyer
0a10d7fc51
TEST-30-ISCSI: fix test to run with new iscsi
...
(cherry picked from commit 836ca3f47e
)
9 years ago
Harald Hoyer
6251f82c6f
TEST-30-ISCSI: add rd.scsi.firmware
...
(cherry picked from commit 310574f7ea
)
9 years ago
Harald Hoyer
0a66b74b51
TEST-30-ISCSI: test more and set static initiator name
10 years ago
Harald Hoyer
c22c43f81a
TEST-30-ISCSI: switch to scsi-target-utils
...
netbsd-iscsi is not available on RHEL
Beef up the testsuite to use the two targets over different
interfaces.
Test the new iSCSI parameters rd.iscsi.waitnet and rd.iscsi.testroute.
10 years ago
Harald Hoyer
52b91b6698
TEST-30-ISCSI/dhcpd.conf: set the LUN
...
set the LUN, so the udev rule to mount the disk matches
10 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
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
6d58fa27a4
change "while read x" to cope with EOF without newline
...
while read x || [ -n "$x" ]
should do the trick
10 years ago
Harald Hoyer
3c20ac5377
TEST-30-ISCSI/test.sh: add all dracut modules
...
add all dracut modules to catch netroot conflicts and side effects like
afcc697cb8
10 years ago
Harald Hoyer
481ee9e6fc
test: ping watchdog in dhcp servers
10 years ago
Harald Hoyer
296d013f1a
TEST-30-ISCSI: turn off iscsi_firmware
...
Having iscsi_firmware on the kernel cmdline stalls until firmware is
found. qemu does not have this.
10 years ago
Harald Hoyer
e3e1f406bb
test: turn off hostonly-cmdline and hostonly
10 years ago
Harald Hoyer
cfd51d2be2
TEST-30-ISCSI: udev does not export path_id for iscsi
...
therefore root=iscsi.... does not work anymore :-/
disabled for now
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
ece72160ce
test/TEST-30-ISCSI: add rd.shell to client root
11 years ago
Harald Hoyer
f52759131b
test: include the same Makefile.testdir
11 years ago
Harald Hoyer
ab6f4a825e
iscsi: do iscsi_firmware regardless of network
...
Do the iscsi_firmware iscsistart at least once, even if the network is
not up, to activate offload HBA iSCSI.
https://bugzilla.redhat.com/show_bug.cgi?id=1031160
11 years ago
Harald Hoyer
67b4a9ea17
testsuite: fixed network interface names
12 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
b806625d41
TEST-30-ISCSI: eth0 -> ens3
12 years ago
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
12 years ago
Harald Hoyer
021b2fddff
test: use grep option "-F" and install /etc/os-release
12 years ago
Harald Hoyer
44f870be42
test: change qemu param -nographic to -display none for -daemonize
...
qemu does not like -nographic in combination with -daemonize
12 years ago
Harald Hoyer
bb278147cf
fixed testsuite
12 years ago
Harald Hoyer
83691c413f
testsuite fixup
12 years ago
Harald Hoyer
4e32b2e916
test: removed unused cryptroot-ask.sh scripts
12 years ago
Harald Hoyer
356333b331
test: add finished-false.sh for create-root.sh initqueue job
12 years ago
Harald Hoyer
43cc4d84bc
change for "udevadm control": s/--reload-rules/--reload/g
12 years ago
Harald Hoyer
e064127729
add "rd.auto" parameter and switch off automatic assembly
...
No automatic assembly is done anymore by default. You will have to
specify exactly what devices to assemble
("rd.md.uuid=" "rd.luks.uuid" ...)
or use "rd.auto=1" or "rd.auto" on the kernel command line.
For big servers with thousands of disks we don't want to assemble
everything by default (error prone, slow).
13 years ago
Harald Hoyer
3f7e5358e5
crypt/crypt-run-generator.sh: do not add already existing luks
13 years ago
Harald Hoyer
5d833a9f5b
add "af_packet" kernel module to network testsuite tests
13 years ago
Harald Hoyer
a0af318a8d
testsuite: fixups and color
13 years ago
Harald Hoyer
2723ebba9a
test: silence "make all"
13 years ago
Harald Hoyer
3e1d48fd12
test: add support for: make V=1 TESTS="01 20 40" check
...
$ sudo make V=1 clean check
now runs the testsuite in verbose mode
$ sudo make TESTS="01 20 40" clean check
now only runs the 01, 20 and 40 tests.
13 years ago
Harald Hoyer
4dda0095a1
test/*/server-init.sh: redirect stdin,out,err to /dev/console
13 years ago
Harald Hoyer
27fa604418
test: export initdir
13 years ago
Harald Hoyer
cbefa47006
TEST-30-ISCSI: convert to ext3
13 years ago
Harald Hoyer
38bbec3731
TEST-30-ISCSI: put back in hard-off.sh for tests
13 years ago
Harald Hoyer
67ab4f7718
testsuite: fixups
13 years ago
Harald Hoyer
70c6b773ca
dracut.sh, dracut-functions.sh: add dracut_kernel_post()
...
dracut_kernel_post() does lazy kernel module dependency installation,
depmod and cleans up temporary files
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
9373aec650
TEST-30-ISCSI/test.sh: factor out client runs
13 years ago
Harald Hoyer
3905f6695e
TEST-30-ISCSI: add test case for "root=iscsi:...." and untabify
13 years ago
Harald Hoyer
96d22bd7d6
test: fixed terminfo location
13 years ago