summary refs log tree commit diff
path: root/src/check-local
blob: 36b3ed4ad588b0f7c9933064f483f07b97f53657 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

PATH=`pwd`:$PATH

for i in ${1+"$@"}; do
  echo "Checking $i..."
  env - PATH="$PATH" ctmp="`pwd`/check-tmp" $i.check 2>&1 |cat -v >$i.local
  ./check-diff $i || ( cat $i.local; echo "$i failed."; exit 1 ) || exit 1
done