Harald Hoyer
b830a31331
TEST-16-DMSQUASH: do not use "--" with ldconfig -r
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
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
c606be49d7
TEST-15-BTRFS: load btrfs module
...
(cherry picked from commit d9b5a98532
)
9 years ago
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
)
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
e50f91e600
use mktemp "-p" instead of "--tmpdir" for busybox
10 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
7ecb36aef4
TEST-50-MULTINIC/test.sh: correctly call ldconfig
10 years ago
Harald Hoyer
3fa31c3a47
TEST-14-IMSM: remove "rd.auto"
...
otherwise rd.auto auto assembles the device
10 years ago
Harald Hoyer
9ee2f1e235
TEST-04-FULL-SYSTEMD: fixup loadkeys keymap loading
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
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
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
e93d0bea38
test: include kernel-network-modules for network tests
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
04942c4569
test/*NFS* : add dhcpd debug flag
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
8a430ab25b
test: use the new sfdisk syntax without disk geometry
10 years ago
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
10 years ago
Marko Myllynen
b4fb539c9b
Change Fedora default console font to eurlatgr
...
See https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont
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
f44b084660
TEST-99-RPM: ignore more files
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
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
4e1f8d0c5f
TEST-20-NFS: add more commands and fix client root dirs
11 years ago
Harald Hoyer
28d03673f9
TEST-20-NFS:client-init.sh: add shell on rd.shell
11 years ago
Harald Hoyer
ece72160ce
test/TEST-30-ISCSI: add rd.shell to client root
11 years ago
Harald Hoyer
44537b7bf8
TEST-15-BTRFSRAID: install /etc/os-release
...
makes systemd switch-root happy
11 years ago
Harald Hoyer
e54d961160
test: add udev settle after sfdisk
11 years ago
Harald Hoyer
b0d844fa74
TEST-04-FULL-SYSTEMD/test.sh: removed debug comments
11 years ago
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.
11 years ago
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).
11 years ago
Harald Hoyer
3a62030116
test/TEST-50-MULTINIC/client-init.sh: skip MAC marker files
11 years ago
Harald Hoyer
be1c0381e5
test/Makefile: add SKIP env to skip certain tests
11 years ago
Harald Hoyer
6fe0abbf12
test: add missing Makefile.testdir
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
859e3a77d0
test/TEST-17-LVM-THIN: remove .testdir
11 years ago
Harald Hoyer
61a02caca4
test/TEST-17-LVM-THIN: add test case for lvm thin pools
11 years ago
Harald Hoyer
84bc192946
TEST-50-MULTINIC: improve interface test
12 years ago