6 test -n "$tag" ||
{ echo "usage: $0 PY TAG"; exit 1; }
9 diffs
="tmp/output.$tag.diffs"
18 if test -n "$quiet"; then
19 echo "[$tag] testing structure dump"
25 for f
in test
/files
/*.rar
; do
26 $vprintf "%s -> %-30s .. " "$tag" "$f"
27 "$PYTHON" dumprar.py
-v -ppassword "$f" > "$f.$tag"
28 if diff -uw "$f.exp" "$f.$tag" > /dev
/null
; then
33 if test -n "$quiet"; then
34 printf "[%s] %-30s .. FAILED\n" "$tag" "$f"
36 echo "#### $py ####" >> "$diffs"
37 diff -uw "$f.exp" "$f.$tag" >> "$diffs"