Harald Hoyer
9b8e6e40a9
increased qemu memory
8 years ago
Harald Hoyer
b0d6254dad
TEST: redirect server output to server.log if $SERIAL empty
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
b070c1d360
nbd: add systemd generator and use nbd export names instead of port numbers
...
Add a systemd generator for root=nbd:.. so that systemd has a correct
sysroot.mount unit.
Use export names instead of port numbers, because port number based
exports are deprecated and were removed.
9 years ago
Mike Gilbert
5899f2f516
Replace echo -n with printf in code with a /bin/sh shebang
...
POSIX does not mandate that echo support the -n parameter.
printf has more well-defined behavior.
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
481ee9e6fc
test: ping watchdog in dhcp servers
10 years ago
Harald Hoyer
e3e1f406bb
test: turn off hostonly-cmdline and hostonly
10 years ago
Harald Hoyer
eda73c0ad2
test: add "fs-lib" to dracut module list
10 years ago
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
11 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
f52759131b
test: include the same Makefile.testdir
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
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
56fb5c4dbf
TESTSUITE: s/i6300esbwdt/i6300esb ib700wdt/g
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
57aa1e9140
TEST-40-NBD/test.sh: kill_server() after test_run()
12 years ago
Harald Hoyer
bb278147cf
fixed testsuite
12 years ago
Harald Hoyer
83691c413f
testsuite fixup
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
Frederic Crozat
ec8974914f
ensure af_packet module is loaded (if not built-in)
13 years ago
Harald Hoyer
23d6dcd125
test: s/ib700wdt/i6300esbwdt/g
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
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
6571cd4073
TEST-40-NBD: add watchdog
13 years ago
Harald Hoyer
67ab4f7718
testsuite: fixups
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
28f0b27fb9
TEST-40-NBD: correct symlinks by rerunning ldconfig
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
75e8f476e7
TEST-40-NBD: relaxed check on ext3 filesystem options
...
onerror=continue does not seem to be displayed for new kernels
14 years ago
Harald Hoyer
bcf94bba99
TEST-40-NBD/test.sh: source reformat
14 years ago
Harald Hoyer
de0b239907
TEST-40-NBD/create-root.sh: sleep before disassembling root device
14 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
0b53ca70b6
Move all hooks to "$hookdir"
...
hookdir=/lib/dracut/hooks for now, to keep the root directory clean
14 years ago
Harald Hoyer
fa79f00803
test/*/test.sh: mv 01hard-off.sh 000-hard-off.sh
...
otherwise "die" will let the kernel panic
14 years ago