File: test

package info (click to toggle)
pgpdump 0.27-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 412 kB
  • sloc: ansic: 2,272; makefile: 75; haskell: 29; sh: 14
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