Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2580

Update acceptance tests to use host methods

    XMLWordPrintable

Details

    • Night's Watch
    • Not Needed
    • Needs Assessment

    Description

      In order to be platform flexible when running tests we need to have methods to be able to run chmod and update the modified date on files on hosts.

      These requirements were found in Facter acceptance tests.
      -chmod - change permissions on files/dirs
      -modified_at - updating the modification date on a file
      -rm_rf - for deleting files/dirs
      -mkdir_p - create directory structure

      At the moment these were used running linux based commands (chmod, touch, mkdir, rm) that are not compatible with windows cmd or powershell.

       

      Attachments

        Issue Links

          Activity

            People

              sebastian.miclea Sebastian Miclea
              sebastian.miclea Sebastian Miclea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support