History

Merge tag 'ktest-v3.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest

Pull ktest confusion fix from Steven Rostedt: "With the v3.7-rc2 kernel, the network cards on my target boxes were not being brought up. I found that the modules for the network was not being installed. This was due to the config CONFIG_MODULES_USE_ELF_RELA that came before CONFIG_MODULES, and confused ktest in thinking that CONFIG_MODULES=y was not found. Ktest needs to test all configs and not just stop if something starts with CONFIG_MODULES." * tag 'ktest-v3.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest: ktest: Fix ktest confusion with CONFIG_MODULES_USE_ELF_RELA

Linus Torvalds committed 14 years ago

Commit 5a5210c2 parents 8e99165 8bc5e4e1 file · +4 −2Browse files

Unified · Split

tools/testing/ktest/ktest.pl+4−2
@@ -1740,8 +1740,10 @@ sub install { · 1739 unmodified lines
17401740 open(IN, "$output_config") or dodie("Can't read config file");
17411741 while (<IN>) {
17421742 if (/CONFIG_MODULES(=y)?/) {
1743− $install_mods = 1 if (defined($1));
1744− last;
1743+ if (defined($1)) {
1744+ $install_mods = 1;
1745+ last;
1746+ }
17451747 }
17461748 }
17471749 close(IN);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t