Title: [179778] trunk/Tools
Revision
179778
Author
[email protected]
Date
2015-02-07 09:01:37 -0800 (Sat, 07 Feb 2015)

Log Message

run-jsc-stress-tests --remote should use the default ssh port
https://bugs.webkit.org/show_bug.cgi?id=141287

Reviewed by Darin Adler.

* Scripts/run-jsc-stress-tests: Extended URI module to be able to handle ssh scheme with the default 22 port number.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (179777 => 179778)


--- trunk/Tools/ChangeLog	2015-02-07 08:32:54 UTC (rev 179777)
+++ trunk/Tools/ChangeLog	2015-02-07 17:01:37 UTC (rev 179778)
@@ -1,3 +1,12 @@
+2015-02-07  Csaba Osztrogonác  <[email protected]>
+
+        run-jsc-stress-tests --remote should use the default ssh port
+        https://bugs.webkit.org/show_bug.cgi?id=141287
+
+        Reviewed by Darin Adler.
+
+        * Scripts/run-jsc-stress-tests: Extended URI module to be able to handle ssh scheme with the default 22 port number.
+
 2015-02-06  Dana Burkart  <[email protected]>
 
         dashboard: BuildbotTesterQueueView crashesOnly logic is wrong

Modified: trunk/Tools/Scripts/run-jsc-stress-tests (179777 => 179778)


--- trunk/Tools/Scripts/run-jsc-stress-tests	2015-02-07 08:32:54 UTC (rev 179777)
+++ trunk/Tools/Scripts/run-jsc-stress-tests	2015-02-07 17:01:37 UTC (rev 179778)
@@ -30,6 +30,13 @@
 require 'uri'
 require 'yaml'
 
+module URI
+    class SSH < Generic
+        DEFAULT_PORT = 22
+    end
+    @@schemes['SSH'] = SSH
+end
+
 THIS_SCRIPT_PATH = Pathname.new(__FILE__).realpath
 SCRIPTS_PATH = THIS_SCRIPT_PATH.dirname
 WEBKIT_PATH = SCRIPTS_PATH.dirname.dirname
@@ -191,7 +198,7 @@
         $testRunnerType = :shell
         $tarball = true
         $remote = true
-        uri = URI("ftp://" + arg)
+        uri = URI("ssh://" + arg)
         $remoteUser, $remoteHost, $remotePort = uri.user, uri.host, uri.port
     when '--child-processes'
         $numProcessors = arg.to_i
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to