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.
2015-11-18 10:17:04 +01:00
Harald Hoyer
c606be49d7
TEST-15-BTRFS: load btrfs module
...
(cherry picked from commit d9b5a98532
)
2015-11-11 16:15:50 +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
0a10d7fc51
TEST-30-ISCSI: fix test to run with new iscsi
...
(cherry picked from commit 836ca3f47e
)
2015-11-11 15:53:48 +01:00
Harald Hoyer
6251f82c6f
TEST-30-ISCSI: add rd.scsi.firmware
...
(cherry picked from commit 310574f7ea
)
2015-11-11 15:12:05 +01:00
Harald Hoyer
0a66b74b51
TEST-30-ISCSI: test more and set static initiator name
2015-08-13 11:54:24 +02:00
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.
2015-08-12 14:48:19 +02:00
Harald Hoyer
52b91b6698
TEST-30-ISCSI/dhcpd.conf: set the LUN
...
set the LUN, so the udev rule to mount the disk matches
2015-08-12 14:40:42 +02:00
Harald Hoyer
ff55a8939c
Merge pull request #81 from floppym/printf2
...
Replace echo -n with printf in code with a /bin/sh shebang
2015-07-16 12:02:48 +02:00
Harald Hoyer
e50f91e600
use mktemp "-p" instead of "--tmpdir" for busybox
2015-07-15 11:47:43 +02:00
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.
2015-07-14 22:22:14 -04:00
Harald Hoyer
7ecb36aef4
TEST-50-MULTINIC/test.sh: correctly call ldconfig
2015-07-07 15:34:30 +02:00
Harald Hoyer
3fa31c3a47
TEST-14-IMSM: remove "rd.auto"
...
otherwise rd.auto auto assembles the device
2015-07-07 14:31:16 +02: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
3944c4b136
TEST-16-DMSQUASH: add more debug parms
2015-06-11 17:39:47 +02:00
Harald Hoyer
97ff396a97
run-qemu: default kernel to "/lib/modules/${KVERSION}/vmlinuz"
...
newer Fedora kernel install the kernel to /lib/modules
2015-06-11 17:39:47 +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
3c20ac5377
TEST-30-ISCSI/test.sh: add all dracut modules
...
add all dracut modules to catch netroot conflicts and side effects like
afcc697cb8
2015-03-20 16:13:30 +01:00
Harald Hoyer
481ee9e6fc
test: ping watchdog in dhcp servers
2015-03-20 14:28:42 +01:00
Harald Hoyer
04942c4569
test/*NFS* : add dhcpd debug flag
2015-01-31 12:24:02 +01:00
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.
2015-01-31 12:22:45 +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
f44b084660
TEST-99-RPM: ignore more files
2014-10-24 13:18:35 +02:00
Harald Hoyer
cfd51d2be2
TEST-30-ISCSI: udev does not export path_id for iscsi
...
therefore root=iscsi.... does not work anymore :-/
disabled for now
2014-10-24 13:17:30 +02:00
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
2014-08-29 13:38:47 +02:00
Harald Hoyer
068531232b
test: make testsuite work with the new systemd minimal root req
...
systemd needs more directories to switch root
2014-08-08 13:34:04 +02:00
Harald Hoyer
4e1f8d0c5f
TEST-20-NFS: add more commands and fix client root dirs
2014-08-01 13:15:44 +02:00
Harald Hoyer
28d03673f9
TEST-20-NFS:client-init.sh: add shell on rd.shell
2014-08-01 13:15:05 +02:00
Harald Hoyer
ece72160ce
test/TEST-30-ISCSI: add rd.shell to client root
2014-07-22 14:22:21 +02:00
Harald Hoyer
44537b7bf8
TEST-15-BTRFSRAID: install /etc/os-release
...
makes systemd switch-root happy
2014-06-30 12:03:12 +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
3a62030116
test/TEST-50-MULTINIC/client-init.sh: skip MAC marker files
2014-02-28 13:26:13 +01:00
Harald Hoyer
be1c0381e5
test/Makefile: add SKIP env to skip certain tests
2014-02-28 13:25:39 +01:00
Harald Hoyer
6fe0abbf12
test: add missing Makefile.testdir
2014-02-28 12:57:57 +01:00
Harald Hoyer
f52759131b
test: include the same Makefile.testdir
2014-02-04 12:01:11 +01:00
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
2013-12-18 15:22:24 +01:00
Harald Hoyer
859e3a77d0
test/TEST-17-LVM-THIN: remove .testdir
2013-12-17 13:36:55 +01:00
Harald Hoyer
61a02caca4
test/TEST-17-LVM-THIN: add test case for lvm thin pools
2013-12-16 13:15:48 +01:00
Harald Hoyer
84bc192946
TEST-50-MULTINIC: improve interface test
2013-09-10 10:51:04 +02:00
Harald Hoyer
ffc68f357e
use ${var:+val} rather than ${var+val}
...
${var:+val} also catches var=""
2013-08-22 11:24:01 +02:00