util/dist-check: fixed dtrace tests for Mac OS X.

This commit is contained in:
agentzh (章亦春) 2013-04-17 23:06:29 -07:00
parent 1d096c047e
commit ed2f8de61a
1 changed files with 1 additions and 1 deletions

View File

@ -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";
} }