projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5218e52
)
--enable-recompile try raw make if sudo make fails
author
Michael Rash
<mbr@cipherdyne.org>
Sat, 3 Nov 2012 22:09:12 +0000 (18:09 -0400)
committer
Michael Rash
<mbr@cipherdyne.org>
Sat, 3 Nov 2012 22:09:12 +0000 (18:09 -0400)
test/test-fwknop.pl
patch
|
blob
|
history
diff --git
a/test/test-fwknop.pl
b/test/test-fwknop.pl
index
04da82c
..
da23a5a
100755
(executable)
--- a/
test/test-fwknop.pl
+++ b/
test/test-fwknop.pl
@@
-2476,8
+2476,11
@@
sub compile_warnings() {
unless (&run_cmd("$sudo_path -u $username make",
$cmd_out_tmp, "test/$current_test_file")) {
- chdir $curr_pwd or die $!;
- return 0;
+ unless (&run_cmd('make', $cmd_out_tmp,
+ "test/$current_test_file")) {
+ chdir $curr_pwd or die $!;
+ return 0;
+ }
}
} else {