Put the certificates back to having a descriptive name.
[bcr-a2csamples.git] / printcert / test / runtests
blob2b3ce58df45b708e84962161c8bfb3e827e2a4dd
1 #!/bin/sh
2 if [ ! -x ../printcert ] ; then
3 echo -FAIL printcert executable not found
4 exit 1
5 fi
7 for file in * ; do
8 if [ -d $file ] ; then
9 cd $file
10 ../../printcert *.cer > actual.txt
11 diff expected.txt actual.txt
12 if [ $? -ne 0 ] ; then
13 echo -FAIL $file
14 else
15 echo +PASS $file
17 cd ..
19 done