File: test-fuzz

package info (click to toggle)
golang-github-tv42-zbase32 0.0~git20160707.5015726-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 120 kB
  • sloc: sh: 13; makefile: 3
file content (9 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

go-fuzz-build github.com/tv42/zbase32
install -d fuzz
# kludge to extract corpus from tests
perl -ne 'print "$1\n" if /"([ybndrfg8ejkmcpqxot1uwisza345h769]+)"/' zbase32_test.go \
     | while read f; do printf '%s\n' "$f" >"fuzz/$f.input"; done
exec go-fuzz -bin=zbase32-fuzz.zip -workdir=fuzz