File: run.sh

package info (click to toggle)
certmonger 0.75.14-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,540 kB
  • ctags: 2,176
  • sloc: ansic: 41,340; sh: 9,551; makefile: 528; python: 207; xml: 190; sed: 16
file content (41 lines) | stat: -rwxr-xr-x 1,016 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash -e
count=0
for role in agent end-user ; do
for good in good.profileSubmit* ; do
	$toolsdir/dparse submit $role $good
	count=`expr $count + 1`
done
for good in good.profileReview* ; do
	$toolsdir/dparse review $role $good
	count=`expr $count + 1`
done
for good in good.checkRequest* ; do
	$toolsdir/dparse check $role $good
	count=`expr $count + 1`
done
for good in good.displayCertFromRequest* ; do
	$toolsdir/dparse fetch $role $good
	count=`expr $count + 1`
done
for bad in bad.profileSubmit* ; do
	$toolsdir/dparse submit $role $bad
	count=`expr $count + 1`
done
for bad in bad.profileReview* ; do
	$toolsdir/dparse review $role $bad
	count=`expr $count + 1`
done
for bad in bad.profileProcess* ; do
	$toolsdir/dparse approve $role $bad
	count=`expr $count + 1`
done
for bad in bad.checkRequest* ; do
	$toolsdir/dparse check $role $bad
	count=`expr $count + 1`
done
for bad in bad.displayCertFromRequest* ; do
	$toolsdir/dparse fetch $role $bad
	count=`expr $count + 1`
done
done
echo $count samples.