Skip to content

Commit bd24713

Browse files
authored
suricata: clean some disk space while building (#11797)
As done by openssl in #11618 Is there a way from build.sh to know if we are built by CIFuzz ? Like environment variable `CFL_PLATFORM` ? Because I do not think we want to build other branches than master for CIFuzz
1 parent 886b9b8 commit bd24713

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/suricata/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ cat generic.dict >> $OUT/fuzz_applayerparserparse$branch.dict
131131
cat generic.dict >> $OUT/fuzz_sigpcap$branch.dict
132132
cat generic.dict >> $OUT/fuzz_sigpcap_aware$branch.dict
133133

134+
df
135+
# clean to leave enough space for CIFuzz
136+
make clean
137+
df
138+
134139
# build corpuses
135140
# default configuration file
136141
zip -r $OUT/fuzz_confyamlloadstring"$branch"_seed_corpus.zip suricata.yaml

0 commit comments

Comments
 (0)