Jira (FACT-2580) Update tests to use host methods

Visto 0 veces
Saltar al primer mensaje no leído

Sebastian Miclea (Jira)

no leída,
23 abr 2020, 6:32:0223/4/20
a puppe...@googlegroups.com
Sebastian Miclea created an issue
 
Facter / Improvement FACT-2580
Update tests to use host methods
Issue Type: Improvement Improvement
Assignee: Sebastian Miclea
Created: 2020/04/23 3:31 AM
Priority: Normal Normal
Reporter: Sebastian Miclea

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.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos