Daniel Molkentin
8996d3dfcd
test: use hosts randomness, not rngd
2019-11-13 09:07:45 +01:00
Marko Myllynen
42d93d3482
Use eurlatgr as default console font
...
Fedora and others have used eurlatgr as the default console font
for some time now, or suggested using it:
https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont
https://wiki.archlinux.org/index.php/Linux_console#Fonts
The Fedora Change page lists some of the benefits and this file
lists all the characters (glyphs) supported by the font:
http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=blob;f=data/consolefonts/README.eurlatgr
The notable downside is that the font does not support Arabic,
Cyrillic or Hebrew as LatArCyrHeb-16 (partially) does, so in cases
where support for languages using them is needed a non-default
console font should be used. Fedora, for instance, uses langtable
to decide the console font to use based on installation language:
https://bugzilla.redhat.com/show_bug.cgi?id=1209460
2019-10-21 13:07:07 +02: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
225e4b94cb
Fix tests with network-legacy
2018-10-08 15:38:33 +02:00
Harald Hoyer
9b8e6e40a9
increased qemu memory
2017-07-21 11:43:08 +02:00
Daniel Molkentin
fd79054610
net-tools are not required anymore
...
Also bridge-utils was listed twice in README.testsuite.
2017-02-13 18:32:18 +01: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
b039b20ec2
test: correct cmdline reading functions
2016-06-27 12:05:37 +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
Ville Skyttä
9430ae301e
Do not use deprecated egrep/fgrep
2016-03-28 11:38:34 +03:00
Harald Hoyer
b8bccd398a
test/TEST-04-FULL-SYSTEMD: optionally install machine-info and *-id
2015-12-14 15:19:53 +01:00
Harald Hoyer
f939cffdac
test/TEST-04-FULL-SYSTEMD/create-root.sh: modprobe btrfs
...
why so ever... it used to load automatically
(cherry picked from commit 65977ef1d1
)
2015-11-11 16:15:41 +01:00
Harald Hoyer
9ee2f1e235
TEST-04-FULL-SYSTEMD: fixup loadkeys keymap loading
2015-07-07 14:31:06 +02: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
6d58fa27a4
change "while read x" to cope with EOF without newline
...
while read x || [ -n "$x" ]
should do the trick
2015-04-28 11:39:15 +02:00
Harald Hoyer
e93d0bea38
test: include kernel-network-modules for network tests
2015-03-26 10:57:58 +01:00
Harald Hoyer
8a430ab25b
test: use the new sfdisk syntax without disk geometry
2015-01-22 16:02:54 +01:00
Harald Hoyer
2a5a7fb662
test/TEST-04-FULL-SYSTEMD/test.sh: fix the find -perm
...
"find -perm +111" should be "find -perm /0111" as it is deprecated since
a long time
2015-01-22 16:00:50 +01:00
Marko Myllynen
b4fb539c9b
Change Fedora default console font to eurlatgr
...
See https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont
2015-01-22 15:51:03 +01: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
e54d961160
test: add udev settle after sfdisk
2014-06-30 12:03:12 +02:00
Harald Hoyer
b0d844fa74
TEST-04-FULL-SYSTEMD/test.sh: removed debug comments
2014-06-30 12:03:11 +02:00
Chapman Flack
9cf339ada3
Correct strstr/strglobin in test suite.
...
Previous commit included versions of strstr/strglobin in the test
suite files that did not match those in dracut-lib.sh.
2014-04-07 10:49:07 +02:00
Chapman Flack
2c19a5fa78
Specify strstr tightly, add strglob/strglobin.
...
By convention, strstr should be a literal string match. Previously, it
would match as a glob pattern. Some code used that, so add new
functions strglob and strglobin to do what that code expects, and
specify them tightly too. strglob tests whether the glob pattern
matches the entire string (the name strglob is also used in the yorick
language, and that's what it does there), while strglobin tests whether
the glob pattern matches anywhere in the string.
Also tightens str_starts, str_ends, and str_replace to deal with
literal strings only. In a quick grep I did not find code that depended
on these functions matching globs.
Changes the call sites where strstr was used with glob patterns to use
strglobin or strglob as the intention seemed to be (or, in one case,
strstr with the * removed as it did not affect the result anyway).
2014-04-07 10:49:07 +02:00
Harald Hoyer
f52759131b
test: include the same Makefile.testdir
2014-02-04 12:01:11 +01:00
Harald Hoyer
ffc68f357e
use ${var:+val} rather than ${var+val}
...
${var:+val} also catches var=""
2013-08-22 11:24:01 +02:00
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
2013-08-07 10:33:15 +02:00
Harald Hoyer
b093aa2dc7
beautified shell code
...
checked with shellcheck http://www.shellcheck.net/about.html
2013-07-04 12:31:15 +02:00
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
2013-06-28 10:31:18 +02:00
Harald Hoyer
1d84d6940e
TEST-04-FULL-SYSTEMD/test.sh: dlfgjlkdfjgldfj
2013-06-28 10:22:27 +02:00
Harald Hoyer
0d59a84b53
TEST-04-FULL-SYSTEMD: call xargs with "-r"
2013-06-26 09:16:04 +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
bb278147cf
fixed testsuite
2013-03-15 07:10:20 +01:00
Harald Hoyer
83691c413f
testsuite fixup
2013-03-06 17:29:12 +01:00
Harald Hoyer
4e32b2e916
test: removed unused cryptroot-ask.sh scripts
2013-03-02 13:22:29 +01:00
Harald Hoyer
356333b331
test: add finished-false.sh for create-root.sh initqueue job
2013-03-02 13:20:59 +01:00
Harald Hoyer
43cc4d84bc
change for "udevadm control": s/--reload-rules/--reload/g
2012-12-14 09:04:56 +01:00
Harald Hoyer
665b7e58ba
TEST-04-FULL-SYSTEMD: fixed poweroff
2012-10-16 16:20:33 +02:00
Harald Hoyer
cc68f78d92
TEST-04-FULL-SYSTEMD/test.sh: fixed $kernel var
2012-10-10 14:14:31 +02:00
Harald Hoyer
23d6dcd125
test: s/ib700wdt/i6300esbwdt/g
2012-08-01 12:53:39 +02:00
Harald Hoyer
a01cf5d782
test/TEST-04-FULL-SYSTEMD: add systemd to modules
2012-07-17 18:05:39 +02:00
Harald Hoyer
3d115217e4
test/TEST-04-FULL-SYSTEMD: default to basic.target and output more debug
2012-07-12 08:59:43 +02:00
Harald Hoyer
2723ebba9a
test: silence "make all"
2012-07-11 15:23:21 +02:00
Harald Hoyer
badda27f61
test/TEST-04-FULL-SYSTEMD: full test with systemd and /usr mount
2012-07-11 15:18:32 +02:00