mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
util/dist-check: fixed dtrace tests for Mac OS X.
This commit is contained in:
@ -86,7 +86,7 @@ sh "curl -si localhost/lua|grep $ver";
|
|||||||
if ($^O eq 'linux') {
|
if ($^O eq 'linux') {
|
||||||
sh "stap -L 'process(\"$prefix/nginx/sbin/nginx\").mark(\"*\")'|grep http__lua__coroutine__done";
|
sh "stap -L 'process(\"$prefix/nginx/sbin/nginx\").mark(\"*\")'|grep http__lua__coroutine__done";
|
||||||
|
|
||||||
} elsif ($^O eq 'freebsd' || $^O eq 'macosx' || $^O eq 'solaris') {
|
} elsif ($^O eq 'freebsd' || $^O eq 'darwin' || $^O eq 'solaris') {
|
||||||
sh "sudo dtrace -l|grep http-lua-coroutine-done";
|
sh "sudo dtrace -l|grep http-lua-coroutine-done";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user