salt/tests
Krzysztof Pawłowski 30690637b5 Return error if patch file passed to state file.patch is malformed
If patch file provided for file.patch state is malformed then state
returns `Patch was already applied` but patch is not applied.

          ID: patch_example
    Function: file.patch
        Name: /tmp/example
      Result: True
     Comment: Patch was already applied
     Started: 12:20:50.953163
    Duration: 61.558 ms
     Changes:

It is better to return error in such case.

          ID: patch_example
    Function: file.patch
        Name: /tmp/example
      Result: False
     Comment: /usr/bin/patch: **** malformed patch at line 7:
     Started: 12:33:44.915605
    Duration: 59.202 ms
     Changes:
2023-12-10 15:32:15 -07:00
..
integration Merge 3006.x into master 2023-11-28 17:46:50 +00:00
kitchen
pkg/rpm
pytests Return error if patch file passed to state file.patch is malformed 2023-12-10 15:32:15 -07:00
support Merge 3006.x into master 2023-11-26 16:10:40 +00:00
unit Merge 3006.x into master 2023-11-29 18:31:52 +00:00
__init__.py Make sys.path cleanup work on windows 2023-09-19 20:37:29 +00:00
buildpackage.py
committer_parser.py
conftest.py Merge 3006.x into master 2023-11-26 16:10:40 +00:00
eventlisten.py
eventlisten.sh
filename_map.yml Set cgroupns to host to fix the libvirt migration tests. 2023-09-29 16:01:59 +00:00
minionswarm.py
modparser.py
packdump.py
runtests.py
salt-tcpdump.py
saltsh.py
wheeltest.py
zypp_plugin.py