mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-02 09:05:37 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
32
tools/testing/ktest/compare-ktest-sample.pl
Executable file
32
tools/testing/ktest/compare-ktest-sample.pl
Executable file
|
|
@ -0,0 +1,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";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue