Skip to content

Instantly share code, notes, and snippets.

@shama
Created October 9, 2013 05:10
Show Gist options
  • Save shama/6896504 to your computer and use it in GitHub Desktop.
Save shama/6896504 to your computer and use it in GitHub Desktop.
grunt.file.setPermissions windows 7, node v0.10.18
C:\Users\Office\Documents\www\grunt>grunt
Running "jshint:gruntfile_tasks" (jshint) task
>> 2 files lint free.
Running "jshint:libs_n_tests" (jshint) task
>> 24 files lint free.
Running "jshint:subgrunt" (jshint) task
>> 1 file lint free.
Running "nodeunit:all" (nodeunit) task
Testing config_test.js........OK
Testing event_test.js.OK
Testing file_test.js.........................F...platform does not appear to sup
port file permissions
.platform does not appear to support file permissions
..platform does not appear to support file permissions
.FF................
>> file - read
>> Message: file should be read as utf8 by default.
>> Error: 'Açao é isso aí\r\n' === 'Açao é isso aí\n'
>> at Object.exports.file.read (test\grunt\file_test.js:374:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - read
>> Message: file should be read using the specified encoding.
>> Error: 'Açao é isso aí\r\n' === 'Açao é isso aí\n'
>> at Object.exports.file.read (test\grunt\file_test.js:375:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - read
>> Message: changing the default encoding should work.
>> Error: 'Açao é isso aí\r\n' === 'Açao é isso aí\n'
>> at Object.exports.file.read (test\grunt\file_test.js:380:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as properly encoded processed string.
>> Error: 'fooAçao é isso aí\r\nbår' == 'fooAçao é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:546:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as properly encoded processed string.
>> Error: 'fooAçao é isso aí\r\nbår' == 'fooAçao é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:558:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as the buffer returned by process.
>> Error: 'fooAçao é isso aí\r\nbår' == 'fooAçao é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:569:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as properly encoded processed string.
>> Error: 'fooAçao é isso aí\r\nbår' == 'fooAçao é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:581:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should not have been processed.
>> Error: 'Açao é isso aí\r\n' == 'Açao é isso aí\n'
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
03:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should have been processed.
>> Error: 'fooAçao é isso aí\r\nbår' == 'fooAçao é isso aí\nbår'
>> at Object.<anonymous> (test\grunt\file_test.js:617:14)
>> at Array.forEach (native)
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
06:48)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should not have been processed.
>> Error: 'Açao é isso aí\r\n' == 'Açao é isso aí\n'
>> at Object.<anonymous> (test\grunt\file_test.js:619:14)
>> at Array.forEach (native)
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
06:48)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should not have been processed.
>> Error: 'Açao é isso aí\r\n' == 'Açao é isso aí\n'
>> at Object.<anonymous> (test\grunt\file_test.js:619:14)
>> at Array.forEach (native)
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
06:48)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
Testing log_test.js.................OK
Testing option_test.js...OK
Testing task_test.js...OK
Testing template_test.js..OK
Testing util_test.js....................OK
Testing namespace_test.js....OK
Testing task_test.js.....................OK
Warning: 11/486 assertions failed (2272ms) Use --force to continue.
Aborted due to warnings.
C:\Users\Office\Documents\www\grunt>
Office@OFFICE-WIN ~/Documents/www/grunt (pr732)
$ grunt
Running "jshint:gruntfile_tasks" (jshint) task
>> 2 files lint free.
Running "jshint:libs_n_tests" (jshint) task
>> 24 files lint free.
Running "jshint:subgrunt" (jshint) task
>> 1 file lint free.
Running "nodeunit:all" (nodeunit) task
Testing config_test.js........OK
Testing event_test.js.OK
Testing file_test.js.........................F...platform does not appear to sup
port file permissions
.platform does not appear to support file permissions
..platform does not appear to support file permissions
.FF................
>> file - read
>> Message: file should be read as utf8 by default.
>> Error: 'Ação é isso aí\r\n' === 'Ação é isso aí\n'
>> at Object.exports.file.read (test\grunt\file_test.js:374:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - read
>> Message: file should be read using the specified encoding.
>> Error: 'Ação é isso aí\r\n' === 'Ação é isso aí\n'
>> at Object.exports.file.read (test\grunt\file_test.js:375:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - read
>> Message: changing the default encoding should work.
>> Error: 'Ação é isso aí\r\n' === 'Ação é isso aí\n'
>> at Object.exports.file.read (test\grunt\file_test.js:380:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as properly encoded processed string.
>> Error: 'føøAção é isso aí\r\nbår' == 'føøAção é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:546:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as properly encoded processed string.
>> Error: 'føøAção é isso aí\r\nbår' == 'føøAção é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:558:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as the buffer returned by process.
>> Error: 'føøAção é isso aí\r\nbår' == 'føøAção é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:569:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process
>> Message: file should be saved as properly encoded processed string.
>> Error: 'føøAção é isso aí\r\nbår' == 'føøAção é isso aí\nbår'
>> at Object.exports.file.copy and process (test\grunt\file_test.js:581:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should not have been processed.
>> Error: 'Ação é isso aí\r\n' == 'Ação é isso aí\n'
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
03:10)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should have been processed.
>> Error: 'føøAção é isso aí\r\nbår' == 'føøAção é isso aí\nbår'
>> at Object.<anonymous> (test\grunt\file_test.js:617:14)
>> at Array.forEach (native)
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
06:48)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should not have been processed.
>> Error: 'Ação é isso aí\r\n' == 'Ação é isso aí\n'
>> at Object.<anonymous> (test\grunt\file_test.js:619:14)
>> at Array.forEach (native)
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
06:48)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
>> file - copy and process, noprocess
>> Message: file should not have been processed.
>> Error: 'Ação é isso aí\r\n' == 'Ação é isso aí\n'
>> at Object.<anonymous> (test\grunt\file_test.js:619:14)
>> at Array.forEach (native)
>> at Object.exports.file.copy and process, noprocess (test\grunt\file_test.js:6
06:48)
>> at Object.exports.file.setUp (test\grunt\file_test.js:365:5)
Testing log_test.js.................OK
Testing option_test.js...OK
Testing task_test.js...OK
Testing template_test.js..OK
Testing util_test.js....................OK
Testing namespace_test.js....OK
Testing task_test.js.....................OK
Warning: 11/486 assertions failed (2291ms) Use --force to continue.
Aborted due to warnings.
Office@OFFICE-WIN ~/Documents/www/grunt (pr732)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment