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

findfiles() does not work on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1
    • Component/s: Built-in functions
    • Labels:
      None

      Description

      STR:

      create \tmp on windows and put some files in it

      code:

      vars:
      "findtmp" slist => findfiles(translatepath("/tmp/*")),
      ifvarclass => "linux|windows";
      reports:
      "the value of findtmp is ${findtmp}";

      On Linux you'll see all the files in /tmp

      On Windows you see only:

      R: the value of findtmp is \tmp*

        Attachments

          Release management

            Activity

              People

              Assignee:
              a10025 Volker Hilsheimer (Inactive)
              Reporter:
              jiraadmin Old User (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: