[
https://issues.apache.org/jira/browse/CB-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250036#comment-14250036
]
ASF GitHub Bot commented on CB-7863:
------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-lib/pull/132
CB-7863 Fixed broken test run on Windows 8.1
Alternative fix for https://issues.apache.org/jira/browse/CB-7863
Seems the cause of fatal error under Windows was in synchronous calls to
prepare-browserify that is asynchronous in its nature.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-7863
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/132.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #132
----
commit 8ce89a68db09ba106fa55da64a9de5e4dd16da53
Author: alsorokin <[email protected]>
Date: 2014-12-17T15:37:21Z
CB-7863 Fixed broken test run on Windows 8.1
----
> cordova-lib tests fail
> ----------------------
>
> Key: CB-7863
> URL: https://issues.apache.org/jira/browse/CB-7863
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: Master
> Environment: Windows 8.1 x64
> CordovaLib a2165e2f211be2ab3642b2e83b37c82862588a24
> Reporter: Andrey Kurdyumov
>
> Running `npm test` produce following output
> {code}
> > [email protected] test
> > C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib
> > npm run jasmine && npm run jshint
> > [email protected] jasmine
> > C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib
> > jasmine-node --captureExceptions --color spec-plugman spec-cordova
> ........................................................................................................................
> ........................................................................................................................
> ........................................................................................................................
> ........................................................................................................................
> ................rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/res/xml
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/res/xml
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/res
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/res/xml
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/res
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman
> .rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/assets
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman/assets
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\plugman
> .................rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/
> src/one/two/three
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project/src
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\AppData\Local\Temp\test_plugman\project
> ...........FF.....FF..........FFF...FF...........................rm: could
> not remove directory (code ENOTEMPTY): C:\Use
> rs\kant\AppData\Local\Temp\plugin
> .......................rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordo
> va-lib\spec-plugman\projects\android_uninstall.test/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test/assets
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test/assets
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test2/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test2/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test2/assets
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test2/assets/www
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test2/assets
> rm: could not remove directory (code ENOTEMPTY):
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
> jects\android_uninstall.test2
> .shell.js: internal error
> Error: EPERM, operation not permitted
> 'C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\projects\andr
> oid_uninstall.test\assets\www\cordova.js'
> at Object.fs.lstatSync (fs.js:690:18)
> at rmdirSyncRecursive
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:20:23)
> at rmdirSyncRecursive
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:23:7)
> at rmdirSyncRecursive
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:23:7)
> at
> C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:141:7
> at Array.forEach (native)
> at Object._rm
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:105:9)
> at Object.rm
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\common.js:186:23)
> at null.<anonymous>
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\uninstall.spec.js:55:15)
> at jasmine.Block.execute
> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\jasmine-node\lib\jasmi
> ne-node/jasmine-1.3.1.js:1145:17)
> > [email protected] jshint
> > C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib
> > node node_modules/jshint/bin/jshint src
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]