cfengine/core — pull request #1491 by aappilattoq (2014-02-27 14:55:07+00:00)
Title: Limit tc scope, fix dir separators on windows

Two issues:

1. "*" is verboten in filenames on Win. Add conditionals
throughout the tc to avoid processing the last list element
which contains this character.

2. In the reference strings, use $(const.dirsep) instead of
slashes.

The testcase now passes, although it still complains about created
directories not being accessible in lsdir():

'opendir: The system cannot find the path specified'