File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 18
18
- name : test access to core dump directory
19
19
shell : bash
20
20
run : |
21
- sudo touch /var/cores/test
21
+ touch /var/cores/test
22
22
ls /var/cores
23
- sudo rm /var/cores/test
23
+ rm /var/cores/test
24
24
25
25
- name : test enabling cores
26
26
shell : bash
33
33
shell : bash
34
34
run : |
35
35
echo "ASAN_OPTIONS: $ASAN_OPTIONS"
36
+
37
+ - name : core dump check
38
+ shell : bash
39
+ run : |
40
+ echo "int main() {return *(int*)0;}" > coredump.c
41
+ gcc coredump.c && ./a.out
42
+
Original file line number Diff line number Diff line change 81
81
with :
82
82
name : crashes
83
83
path : /var/cores
84
+ if-no-files-found : ignore
84
85
85
86
86
87
build-c3fmt :
@@ -201,3 +202,4 @@ jobs:
201
202
with :
202
203
name : crashes
203
204
path : /var/cores
205
+ if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments