drivers/net/ethernet/amd/pcnet32.c: neaten and remove unnecessary OOM messages
[linux/fpc-iii.git] / tools / testing / ktest / compare-ktest-sample.pl
bloba373a5bfff683cc4b395588af358a2aa92b2171d
1 #!/usr/bin/perl
3 open (IN,"ktest.pl");
4 while (<IN>) {
5 # hashes are now used
6 if (/\$opt\{"?([A-Z].*?)(\[.*\])?"?\}/ ||
7 /^\s*"?([A-Z].*?)"?\s*=>\s*/ ||
8 /set_test_option\("(.*?)"/) {
9 $opt{$1} = 1;
12 close IN;
14 open (IN, "sample.conf");
15 while (<IN>) {
16 if (/^\s*#?\s*([A-Z]\S*)\s*=/) {
17 $samp{$1} = 1;
20 close IN;
22 foreach $opt (keys %opt) {
23 if (!defined($samp{$opt})) {
24 print "opt = $opt\n";
28 foreach $samp (keys %samp) {
29 if (!defined($opt{$samp})) {
30 print "samp = $samp\n";