Skip to content

Commit 5d48421

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest: ktest: Add INGORE_ERRORS to ignore warnings in boot up ktest: Still do reboot even for REBOOT_TYPE = script ktest: Fix compare script to test if options are not documented ktest: Detect typos in option names ktest: Have all values be set by defaults ktest: Change initialization of defaults hash to perl format ktest: Add options SWITCH_TO_GOOD and SWITCH_TO_TEST ktest: Allow overriding bisect test results ktest: Evaluate options before processing them ktest: Evaluate $KERNEL_VERSION in both install and post install ktest: Only ask options needed for install ktest: When creating a new config, ask for BUILD_OPTIONS ktest: Do not ask for some options if the only test is build ktest: Ask for type of test when creating a new config ktest: Allow bisect test to restart where it left off ktest: When creating new config, allow the use of ${THIS_DIR} ktest: Add default for ssh-user, build-target and target-image ktest: Allow success logs to be stored ktest: Save test output
2 parents 6e03db2 + be405f9 commit 5d48421

3 files changed

Lines changed: 581 additions & 192 deletions

File tree

‎tools/testing/ktest/compare-ktest-sample.pl‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
open (IN,"ktest.pl");
44
while (<IN>) {
5+
# hashes are now used
56
if (/\$opt\{"?([A-Z].*?)(\[.*\])?"?\}/ ||
7+
/^\s*"?([A-Z].*?)"?\s*=>\s*/ ||
68
/set_test_option\("(.*?)"/) {
79
$opt{$1} = 1;
810
}
@@ -11,7 +13,7 @@
1113

1214
open (IN, "sample.conf");
1315
while (<IN>) {
14-
if (/^\s*#?\s*(\S+)\s*=/) {
16+
if (/^\s*#?\s*([A-Z]\S*)\s*=/) {
1517
$samp{$1} = 1;
1618
}
1719
}

0 commit comments

Comments
 (0)