Harald Hoyer
904c466cdb
testsuite: guard against kernel panic
...
call qemu with --no-reboot and append "panic=1" to the kernel cmdline
2016-11-11 13:45:24 +01:00
Harald Hoyer
d2fd423a8d
test: remove sudo calls
...
rather run:
$ sudo make check
2016-11-10 14:57:05 +01:00
Harald Hoyer
aea64fe178
TEST-14-IMSM: add rd.device.timeout
2016-07-01 13:17:18 +02:00
Harald Hoyer
249a94ab04
test: remove dash module, as it is not available in RHEL
2016-05-27 11:22:38 +02:00
Harald Hoyer
1211a10b95
splitup dracut-init.sh from dracut-functions.sh
...
other tools want to source dracut-functions.sh without any mkdir side
effects.
(cherry picked from commit 777f2db037
)
2015-07-02 19:47:46 +02:00
Harald Hoyer
c984ddda6a
test: add "fs-lib" to dracut module list
...
(cherry picked from commit eda73c0ad2
)
2015-01-14 11:41:21 +01:00
Harald Hoyer
1e03d8eb64
testsuite mods for kvm nested in kvm
2014-07-29 16:27:35 +02:00
Harald Hoyer
0d6d85b494
resurrect TEST-14-IMSM
2013-08-15 16:05:35 +02:00
Harald Hoyer
191f6945ac
test: moved TEST-14-IMSM to old.TEST-14-IMSM
...
TEST-14-IMSM does not work anymore in qemu instances
2011-11-16 14:05:57 +01:00
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.
2011-11-16 14:04:27 +01:00
Harald Hoyer
3b403b32fc
removed trailing whitespaces
2011-05-10 11:56:09 +02:00
Harald Hoyer
0743486127
test/TEST-11-LVM, test/TEST-14-IMSM: update test cases
...
- more diskspace
- add /run
- drop to shell in test-init
2011-04-14 15:24:50 +02:00
Harald Hoyer
0b53ca70b6
Move all hooks to "$hookdir"
...
hookdir=/lib/dracut/hooks for now, to keep the root directory clean
2011-03-25 16:10:46 +01:00
Harald Hoyer
fa79f00803
test/*/test.sh: mv 01hard-off.sh 000-hard-off.sh
...
otherwise "die" will let the kernel panic
2011-03-07 16:22:42 +01:00
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
2010-10-28 17:11:27 +02:00
Harald Hoyer
cc97412c32
TEST-14-IMSM: fixed test
2010-08-02 14:17:59 +02:00
Harald Hoyer
9c111e59c9
TEST: omit network module for non-network tests
2010-08-02 10:35:31 +02:00
Harald Hoyer
85fd75f91f
add rd_retry kernel command line parameter
...
rd_retry=<seconds to retry in the main loop>
speeds up internal test suite
2010-04-16 17:59:50 +02:00
Philippe Seewer
8a08012764
test: use ldconfig processing for roots as well
2010-03-05 11:42:04 +01:00
Philippe Seewer
778d2ba28b
test: Add compatibility for different kernel configs
...
Some distros, including debian unstable with 2.6.30, still shop
style ide drivers and/or have important filesystems like ext3 as
modules.
This patch ensures that all test cases work on these configurations
by including the necessary modules and adding a simple udev rule
file that provides /dev/sd* symlinks for the case where old style
ide drivers are still in use.
2009-10-27 16:02:56 +01:00
Harald Hoyer
40ef4325d9
test: run all tests with rdinitdebug by default
2009-10-06 19:09:22 +02:00
Harald Hoyer
f12b432efd
test: add "failme" parameter for failing tests
2009-10-06 19:09:17 +02:00
Harald Hoyer
8eb16b0827
selinux: bail out if policy could not be loaded and selinux=0 not
...
specified
2009-09-21 17:44:14 +02:00
Harald Hoyer
26fbe9a101
TEST-14-IMSM: rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF succeeds now
...
This test succeeds, because the mirror parts are found without
assembling the mirror itsself, which is what we want
client_run rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF || return 1
2009-09-16 15:32:55 +02:00
Harald Hoyer
ad8f03af22
TEST-14-IMSM: "rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF" fails
2009-09-15 15:00:24 +02:00
Harald Hoyer
2f02ae9d45
mdraid: add rd_NO_MDADMCONF --mdadmconf --nomdadmconf
...
Copy /etc/mdadm.conf to initramfs (even for non-hostonly) if
mdadmconf="yes" is set in dracut.conf or --mdadmconf is specified on the
dracut command line.
This was done, because there seems _no_ sane way to autoassemble md raid
arrays.
also moved rd_NO_MD to an udev ENV
2009-09-15 15:00:18 +02:00
Harald Hoyer
fdf2a763d4
TEST-14-IMSM: more test cases
2009-09-08 15:31:00 +02:00
Harald Hoyer
0e9bb3f30c
TEST-14-IMSM: no test for a isw raid array
2009-09-08 13:43:21 +02:00