chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
adnshost: adh-opts.c: Whitespace adjustments to option table
[adns.git]
/
regress
/
categorisefuzz
1
#!/bin/sh
2
set -e
3
4
out=fuzzcat.d
5
6
rm -rf "$out"
7
mkdir "$out"
8
9
categ () {
10
fuzz=$1
11
exec <"$fuzz"
12
read nargs
13
read arg0len
14
read program
15
program="${program##*/}"
16
mkdir -p "$out/$program"
17
ln "$fuzz" "$out/$program"/.
18
}
19
20
for case in "$@"; do
21
categ "fuzz-$case"
22
categ "fuzzraw-$case"
23
done