mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gary Williams
24.16.2012 df8562c21e51b195f87b54ce978d63d48510e89a
When copying test files to remote host make sure folder is created remotely
1 files modified
12 ■■■■ changed files
opends/tests/staf-tests/shared/functions/stafcmd.xml 12 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/functions/stafcmd.xml
@@ -24,7 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2009 Sun Microsystems, Inc.
 !      Portions Copyright 2011 ForgeRock AS.
 !      Portions Copyright 2011-2012 ForgeRock AS.
 ! -->
<stax>
  <function name="copyFile">
@@ -67,8 +67,12 @@
        destfolder = os.path.dirname(destfile)
      </script>
      
      <message>
        'Checking for folder %s.' % destfolder
      </message>
      <call function="'createFolder'">
        { 'location'   : location,
        { 'location'   : remotehost,
          'foldername' : '%s' % destfolder
        }
      </call>      
@@ -483,6 +487,10 @@
    <sequence>
      <message>
        'Creating folder %s. on %s' % (foldername,location)
      </message>
      <stafcmd name="'STAF Command: Create Folder'">
        <location>'%s' % location</location>
        <service>'fs'</service>