5 for in_file
in test
/test-graph-samples
/*.
in
7 out_file
="${in_file%.*}.out"
8 diff_output
=$
(diff -C 1 "$out_file" <(cat $in_file | test
/test-graph
2> /dev
/null
))
11 echo "ok - Graph generated by $in_file matches $out_file"
13 echo "not ok - Graph generated by $in_file does not match $out_file"
14 echo "$diff_output" |
sed "s/^/# /"