repo.or.cz
/
bcr-a2csamples.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Put the certificates back to having a descriptive name.
[bcr-a2csamples.git]
/
printcert
/
test
/
runtests
blob
2b3ce58df45b708e84962161c8bfb3e827e2a4dd
1
#!/bin/sh
2
if
[ !
-x
..
/
printcert
] ;
then
3
echo -FAIL
printcert executable not found
4
exit
1
5
fi
6
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
16
fi
17
cd
..
18
fi
19
done