Harald Hoyer
718ad799ac
fix(TEST RPM): shellcheck
2021-03-30 14:55:29 +02:00
Harald Hoyer
9a52c3fdb0
style: shfmt reformat
...
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64 " -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w .
```
2021-03-13 20:10:43 +01:00
Harald Hoyer
560402c3dc
style: shfmt pre correction
2021-03-13 20:10:43 +01:00
Harald Hoyer
501d82f796
fix: correctly handle kernel parameters
...
The kernel has an odd way to handle `"` surrounded parameters.
To handle the parameters as the kernel would do, no simple shell script
suffices, so a new utility `dracut-util` is introduced. Written in "C"
it handles `dracut-getarg` and `dracut-getargs` as the old shell script
functions `_dogetarg` and `_dogetargs` would.
2021-03-10 19:31:19 +01:00
Harald Hoyer
1211d6a3fb
ci: disable TEST 99
...
1. people got annoyed by merge conflicts
2. spec file can be update per release
3. uses "mount" preventing container testing
2021-02-08 16:07:37 +01:00
Harald Hoyer
11474b808b
TEST-99: exclude /etc/dnf/* from check
...
file /etc/dnf/modules.d/eclipse.module.rpmmoved is not owned by any package
2020-04-09 22:11:16 +02:00
Frantisek Sumsal
f1dc2180d4
TEST-99-RPM: ignore weak dependencies in dnf
...
Weak dependencies are useless for this test and pollute the chroot,
causing unexpected fails.
2020-02-28 16:31:43 +01:00
Jonas Witschel
12f023ab03
Replace $(arch) by $(uname -m)
2019-07-19 16:25:03 +02:00
Harald Hoyer
286685cb72
TEST-99-RPM: use releasever of the host system
2018-08-16 13:20:40 +02:00
Harald Hoyer
2699d8ff7e
TEST-99-RPM: removed --releasever
2018-08-16 12:03:40 +02:00
Harald Hoyer
e3fb645821
TEST-99-RPM: use Fedora 29
2018-07-05 13:39:46 +02:00
Harald Hoyer
f13278eac2
TEST-99-RPM: fix installation loop
2017-01-16 14:27:39 +01:00
Harald Hoyer
ffc2ca202b
TEST-99-RPM: retry dnf 5 times in case http fails
2017-01-16 14:27:39 +01:00
Harald Hoyer
d941f0e015
Revert "TEST-99-RPM: use --best and install all rpms"
...
This reverts commit f81806db20
.
2016-11-14 12:29:12 +01:00
Harald Hoyer
f81806db20
TEST-99-RPM: use --best and install all rpms
2016-11-14 12:27:33 +01:00
Harald Hoyer
e35d1451f5
test/TEST-99-RPM: dnf does not like any dracut subpackage
2016-11-11 16:34:42 +01:00
Harald Hoyer
eac751f1e0
test/TEST-99-RPM: speedup test
2016-11-11 16:04:31 +01:00
Harald Hoyer
924a669a1b
TEST-99-RPM: append "/" to DESTDIR
2016-11-07 17:52:52 +01:00
Harald Hoyer
ffcbde7fe2
TEST-99-RPM: set release version and disable update-testing repo
2016-11-07 17:20:18 +01:00
Harald Hoyer
44766d1f1f
TEST-99-RPM: actually use the generated rpms with dnf
2016-11-07 17:05:28 +01:00
Harald Hoyer
e22e04ae15
TEST-99-RPM: add test_check() for rpm,dnf,yum
2016-11-07 13:20:35 +01:00
Harald Hoyer
2811e4ed22
TEST-99-RPM: create dracut rpms to install first
...
create rpms in TESTDIR first
2016-11-07 13:15:56 +01:00
Harald Hoyer
0092942531
test/TEST-99-RPM: fixed test suite
...
- cope with dnf vs yum
- fixed find arguments
- make script fail, if command fails
2016-06-09 18:15:48 +02:00
Harald Hoyer
f44b084660
TEST-99-RPM: ignore more files
2014-10-24 13:18:35 +02:00
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
2014-08-29 13:38:47 +02:00
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
2013-06-28 10:31:18 +02:00
Harald Hoyer
fd28794bbc
TEST-99-RPM: generate rpms and exclude /boot loader entries
2013-05-31 10:00:07 +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
db9fbaf9b8
TEST-99-RPM: ignore rescue images
2013-04-05 11:52:33 +02:00
Harald Hoyer
43bac63e33
TEST-99-RPM test trap
2012-07-09 20:44:48 +02:00
Harald Hoyer
4eafdbdbe8
test: new test TEST-99-RPM
...
This test installs the dracut rpm together with the kernel in an
installroot. rpm -Va and rpm -qf are used, to ensure nothing modified
files in the real root.
2012-07-09 16:44:45 +02:00