mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e5d28115ee
- all changes here are attributed to difference in behaviour between, namely: - resolution of secondary test dependencies - prunning of non-Go files Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
291 B
Bash
15 lines
291 B
Bash
#! /bin/sh
|
|
set -eu
|
|
|
|
go get github.com/dvyukov/go-fuzz/go-fuzz
|
|
go get github.com/dvyukov/go-fuzz/go-fuzz-build
|
|
|
|
if [ ! -e toml-fuzz.zip ]; then
|
|
go-fuzz-build github.com/pelletier/go-toml
|
|
fi
|
|
|
|
rm -fr fuzz
|
|
mkdir -p fuzz/corpus
|
|
cp *.toml fuzz/corpus
|
|
|
|
go-fuzz -bin=toml-fuzz.zip -workdir=fuzz
|