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
e3e1f406bb
test: turn off hostonly-cmdline and hostonly
10 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
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
f52759131b
test: include the same Makefile.testdir
11 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
b093aa2dc7
beautified shell code
...
checked with shellcheck http://www.shellcheck.net/about.html
12 years ago
Harald Hoyer
021b2fddff
test: use grep option "-F" and install /etc/os-release
12 years ago
Harald Hoyer
11fbde4454
TEST-16-DMSQUASH: use current releasever
12 years ago
Harald Hoyer
bb278147cf
fixed testsuite
12 years ago
Harald Hoyer
4e32b2e916
test: removed unused cryptroot-ask.sh scripts
12 years ago
Harald Hoyer
356333b331
test: add finished-false.sh for create-root.sh initqueue job
12 years ago
Harald Hoyer
7f1d77d9fb
TEST-16-DMSQUASH: reenable test
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
27fa604418
test: export initdir
13 years ago
Harald Hoyer
f0558da598
test/*/test.sh: correct ifup and dhclient paths
13 years ago
Harald Hoyer
f48f9341a5
disable TEST-16-DMSQUASH for now
13 years ago
Harald Hoyer
c79f3883cd
test/TEST-16-DMSQUASH: add check for python-imgcreate
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
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
ea8e543bb8
add TEST-16-DMSQUASH
...
This is a test for Fedora LiveCDs created via livecd-tools
14 years ago