Roxen.git
/
server
/
etc
/
test
/
tests
/
pike_async_process_test_common.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/test/tests/pike_async_process_test_common.pike:37:
if( !m[1] && (err == 1) ) return "The external pike script failed to compile"; return err && ( m[ err ] || ("Unknown error "+err) ); } void run_pikescript( string p, string ... args ) { if( !http_url ) foreach( c->query("URLs"), string url ) if( has_prefix( url, "http://" ) )
-
http_url = url;
+
http_url =
(
url
/"#")[0]
;
if( !http_url ) { werror("Cannot run test -- no HTTP port open\n"); return; } test = Process.create_process( ({ getenv("PIKE"), combine_path( __FILE__, "../"+p ),