Bug 141329 - run-jsc-stress-tests --remote should create remote directory before copying the bundle
Summary: run-jsc-stress-tests --remote should create remote directory before copying t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks: 141165
  Show dependency treegraph
 
Reported: 2015-02-06 03:39 PST by Csaba Osztrogonác
Modified: 2015-02-06 08:28 PST (History)
8 users (show)

See Also:


Attachments
Patch (1.35 KB, patch)
2015-02-06 03:40 PST, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2015-02-06 03:39:26 PST
mysys("scp", "-P", $remotePort.to_s, ($outputDir.dirname + $tarFileName).to_s, "#{$remoteUser}@#{$remoteHost}:#{$remoteDirectory}")

If $remoteDirectory doesn't exists, we will get a regular tar file named 
$remoteDirectory instead of a tar file in $remoteDirectory/$tarFileName .

We should try to create $remoteDirectory on the remote machine before calling scp.
Comment 1 Csaba Osztrogonác 2015-02-06 03:40:23 PST
Created attachment 246159 [details]
Patch
Comment 2 Michael Saboff 2015-02-06 07:43:44 PST
Comment on attachment 246159 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2015-02-06 08:28:00 PST
Comment on attachment 246159 [details]
Patch

Clearing flags on attachment: 246159

Committed r179747: <http://trac.webkit.org/changeset/179747>
Comment 4 WebKit Commit Bot 2015-02-06 08:28:03 PST
All reviewed patches have been landed.  Closing bug.