summaryrefslogtreecommitdiff
path: root/tools/testing/ktest/compare-ktest-sample.pl
blob: a373a5bfff683cc4b395588af358a2aa92b2171d (plain)
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
#!/usr/bin/perl

open (IN,"ktest.pl");
while (<IN>) {
    # hashes are now used
    if (/\$opt\{"?([A-Z].*?)(\[.*\])?"?\}/ ||
	/^\s*"?([A-Z].*?)"?\s*=>\s*/ ||
	/set_test_option\("(.*?)"/) {
	$opt{$1} = 1;
    }
}
close IN;

open (IN, "sample.conf");
while (<IN>) {
    if (/^\s*#?\s*([A-Z]\S*)\s*=/) {
	$samp{$1} = 1;
    }
}
close IN;

foreach $opt (keys %opt) {
    if (!defined($samp{$opt})) {
	print "opt = $opt\n";
    }
}

foreach $samp (keys %samp) {
    if (!defined($opt{$samp})) {
	print "samp = $samp\n";
    }
}
_krb5_crypto.c?h=nds-private-remove&id=0cf45a3b1e2c47bbcc9e75cbed5c660492e297da'>plain -rw-r--r--gss_krb5_keys.c9076logplain -rw-r--r--gss_krb5_mech.c20724logplain -rw-r--r--gss_krb5_seal.c6772logplain -rw-r--r--gss_krb5_seqnum.c4645logplain -rw-r--r--gss_krb5_unseal.c6813logplain -rw-r--r--gss_krb5_wrap.c18005logplain -rw-r--r--gss_mech_switch.c12603logplain -rw-r--r--gss_rpc_upcall.c9707logplain