<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 12/09/2011 04:30 PM, David Cole wrote:
    <blockquote
cite="mid:CAAdwe9Vr6CW5dgyZYPPZN2raU6BP9ShQODkQAr0yiExGp0ugqw@mail.gmail.com"
      type="cite">
      <pre wrap="">On Fri, Dec 9, 2011 at 9:30 AM, m.hergarden <a class="moz-txt-link-rfc2396E" href="mailto:m.hergarden@euphoria-it.nl">&lt;m.hergarden@euphoria-it.nl&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I have two buildservers: a Linux box and a Windows box. I now have a
buildscript that does a svn checkout in the homedir of the Linux build user.
This directory is shared read/write using Samba. The Windows builduser (same
credentials, same uid) is able to reach the files through a mingw mount.
On the Windows box there is a ssh server, so I can run commands from the
Linux box.

When running ssh windowsbuilduser@windowsip 'ctest -S /path/to/scriptfile' I
get the following error:

CMake Error: Cannot find file: /path/to/scriptfile

(actual pathnames are used of course)

When running ssh windowsbuilduser@windowsip 'ls /path/to/scriptfile' I do
see that the scriptfile is there. My guess is that ctest starts a new shell,
which cannot find the script.

Is that a correct assumption?
Does anybody know how to resolve this?

Any help or pointers would be very much appreciated.

With kind regards,
Micha Hergarden


--

Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
</pre>
      </blockquote>
      <pre wrap="">

What sshd are you running on the Windows box?

Can you map the network path to a Windows drive letter (say "N:" for
network), and use the "N:/path/to/script" file form instead?
</pre>
    </blockquote>
    <font face="DejaVu Sans">Thank you for the quick reply.<br>
      <br>
      I am using FreeSSHd. Using the 'net use' command I can map the
      network drive to n:<br>
      When calling ctest using your suggested path locally on the
      windows box it does seem to work OK.<br>
      Running it through the ssh session still yields the same error.<br>
    </font>
  </body>
</html>