Skip to content

Commit

Permalink
Test coredumpctl
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot committed Jan 13, 2025
1 parent a91802f commit 70ca7ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,16 @@ jobs:
- name: "Install deps"
run: sudo apt install -y ${{ matrix.compiler_pkgs}} cmake gperf zlib1g-dev doxygen valgrind libmbedtls-dev

- name: Test coredumpctl
run: |
echo 'int main() { *(volatile int *)0 = 0; }' > test.c
gcc ./test.c
./a.out || true
if ! coredumpctl info --no-pager a.out; then
echo "coredumpctl failed" >&2
exit 1
fi
- name: Set cores to get stored in /cores
run: |
sudo mkdir /cores
Expand Down

0 comments on commit 70ca7ee

Please sign in to comment.