File: test

package info (click to toggle)
pgpdump 0.24-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 412 kB
  • ctags: 219
  • sloc: ansic: 2,286; makefile: 119; sh: 18
file content (18 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

if [ -x ./pgpdump ]; then
	PGPDUMP=./pgpdump
else
	PGPDUMP=pgpdump
fi

for file in `find data -not -name \*.res -type f -not -path \*.svn\*`; do
	echo -n `basename $file`
	if env TZ=Japan $PGPDUMP $file | cmp -s - $file.res; then
		echo " ok"
	else
		echo " failed"
	fi
done