> @@ -129,14 +129,14 @@ public void testOneRecipe() throws IOException {
>        replay(validatorKey);
>  
>        assertEquals(
> -            fn.apply("foo").render(OsFamily.UNIX),
> +            fn.apply("foo").render(OsFamily.UNIX).replace("\r\n", "\n"),

It shouldn't break the functionality (need to test it, though), but if running 
jclouds-chef from a Windows machine to bootstrap, say, an Ubuntu, then we will 
be uploading to the Ubuntu node a script with a mix of Windows and UNIX line 
terminations. In the concrete case of chef, due to how the generated script 
works, it shouldn't be a problem, but the uploaded script will seem to have 
been bad generated.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/5/files#r4917621

Reply via email to