1
0
Fork 0
mirror of https://github.com/Luzifer/vault-openvpn.git synced 2024-11-14 19:12:45 +00:00
vault-openvpn/vendor/github.com/pelletier/go-toml/fuzz.sh
Knut Ahlers 0285eefd46
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-14 22:51:41 +01:00

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