Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1204

[windows] escaping character magic doesn't yield correct results on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Parsing
    • Labels:
      None
    • Platform:
      Windows

      Description

      00_basics/01_compiler/101.cf fails on Win.

      <pre>vars:
      "mystring" string => "some\
      thing";</pre>

      Echoing "$(test.mystring)" in reports reveals that the backlash is interpreted as a literal character, i.e. cfengine magic dealing with escaping failed somewhere.

      There are no error details being fed too test.log.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel