Go to file
Coiby Xu b97310428f unit tests: prepare for kdumpctl and kdump-lib.sh to be unit-tested
Currently there are two issues with unit-testing the functions defined
in kdumpctl and other shell scripts after sourcing them,
  - kdumpctl would call main which requires root permission and would
    create single instance lock (/var/lock/kdump)
  - kdumpctl and other shell scripts directly source files under /usr/lib/kdump/

When ShellSpec load a script via "Include", it defines the__SOURCED__
variable. By making use of __SOURCED__, we can
1. let kdumpctl not call main when kdumpctl is "Include"d by ShellSpec
2. instruct kdumpctl and kdump-lib.sh to source the files in the repo
   when running ShelSpec tests

Note coverage/ is added to .gitignore because ShellSpec generates code
coverage results in this folder.

Reviewed-by: Philipp Rudo <prudo@redhat.com>
Signed-off-by: Coiby Xu <coxu@redhat.com>
2022-04-14 11:44:12 +08:00
tests selftest: Add early kdump test 2022-01-24 11:18:00 +08:00
.editorconfig
.gitignore unit tests: prepare for kdumpctl and kdump-lib.sh to be unit-tested 2022-04-14 11:44:12 +08:00
60-kdump.install
92-crashkernel.install
98-kexec.rules
98-kexec.rules.ppc64
crashkernel-howto.txt update crashkernel-howto 2022-01-05 09:40:24 +08:00
dracut-early-kdump-module-setup.sh
dracut-early-kdump.sh
dracut-fadump-init-fadump.sh
dracut-fadump-module-setup.sh
dracut-kdump-capture.service kdump-capture.service: switch to journal for stdout 2022-04-02 16:24:32 +08:00
dracut-kdump-emergency.service
dracut-kdump-emergency.target
dracut-kdump.sh kdump-lib-initramfs: merge definitions for default ssh key 2022-04-02 16:24:32 +08:00
dracut-module-setup.sh
dracut-monitor_dd_progress
early-kdump-howto.txt
fadump-howto.txt
kdump-dep-generator.sh
kdump-in-cluster-environment.txt
kdump-lib-initramfs.sh kdump-lib-initramfs: merge definitions for default ssh key 2022-04-02 16:24:32 +08:00
kdump-lib.sh unit tests: prepare for kdumpctl and kdump-lib.sh to be unit-tested 2022-04-14 11:44:12 +08:00
kdump-logger.sh
kdump-migrate-action.sh
kdump-restart.sh
kdump-udev-throttler
kdump.conf
kdump.conf.5
kdump.service
kdump.sysconfig
kdump.sysconfig.aarch64
kdump.sysconfig.i386
kdump.sysconfig.ppc64
kdump.sysconfig.ppc64le
kdump.sysconfig.s390x
kdump.sysconfig.x86_64
kdumpctl unit tests: prepare for kdumpctl and kdump-lib.sh to be unit-tested 2022-04-14 11:44:12 +08:00
kdumpctl.8
kexec-kdump-howto.txt
kexec-tools-2.0.23-s390_handle_R_390_PLT32DBL_reloc_entries_in_machine_apply_elf_rel_.patch s390: handle R_390_PLT32DBL reloc entries in machine_apply_elf_rel() 2022-01-26 08:25:43 +08:00
kexec-tools.spec Release 2.0.24-1 2022-04-11 10:56:46 +08:00
live-image-kdump-howto.txt
mkdumprd kdump-lib-initramfs: merge definitions for default ssh key 2022-04-02 16:24:32 +08:00
mkdumprd.8
mkfadumprd Set zstd as recommented for kexec-tools 2022-01-11 10:11:21 +08:00
README
sources Release 2.0.24-1 2022-04-11 10:56:46 +08:00
zanata-notes.txt

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec