cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5330) Fix cordova-cli hooker.spec tests
Date Sat, 09 Nov 2013 00:38:17 GMT

     [ https://issues.apache.org/jira/browse/CB-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesse MacFadyen updated CB-5330:
--------------------------------

    Description: 
Running node tests without hooker.spec.js runs without issue.
Running node tests on windows in the CLI results in the following fatal output.  

=====
{code}
$ npm test

> cordova@3.1.0-0.2.0 test c:\Repos\cordova\cordova-cli
> jasmine-node --color spec

...................................................................................rm: could
not rem
ove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/before_build

rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
fore_build
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks

rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
fore_build
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova

rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
fore_build
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp

.{ [Error: EPERM, operation not permitted 'c:\Repos\cordova\cordova-cli\temp\.cordova\hooks\before_b
uild\fail.bat']
  errno: 50,
  code: 'EPERM',
  path: 'c:\\Repos\\cordova\\cordova-cli\\temp\\.cordova\\hooks\\before_build\\fail.bat',
  syscall: 'stat' }

{code}

  was:
Running node tests without plugin.spec.js runs without issue.
Running node tests on windows in the CLI results in the following fatal output.  

=====
{code}
$ npm test

> cordova@3.1.0-0.2.0 test c:\Repos\cordova\cordova-cli
> jasmine-node --color spec

...................................................................................rm: could
not rem
ove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/before_build

rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
fore_build
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks

rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
fore_build
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova

rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
fore_build
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova
rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp

.{ [Error: EPERM, operation not permitted 'c:\Repos\cordova\cordova-cli\temp\.cordova\hooks\before_b
uild\fail.bat']
  errno: 50,
  code: 'EPERM',
  path: 'c:\\Repos\\cordova\\cordova-cli\\temp\\.cordova\\hooks\\before_build\\fail.bat',
  syscall: 'stat' }

{code}

        Summary: Fix cordova-cli hooker.spec tests  (was: Fix cordova-cli plugin.spec tests)

> Fix cordova-cli hooker.spec tests
> ---------------------------------
>
>                 Key: CB-5330
>                 URL: https://issues.apache.org/jira/browse/CB-5330
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>         Environment: Windows8
>            Reporter: Jesse MacFadyen
>
> Running node tests without hooker.spec.js runs without issue.
> Running node tests on windows in the CLI results in the following fatal output.  
> =====
> {code}
> $ npm test
> > cordova@3.1.0-0.2.0 test c:\Repos\cordova\cordova-cli
> > jasmine-node --color spec
> ...................................................................................rm:
could not rem
> ove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/before_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
> fore_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
> fore_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks/be
> fore_build
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova/hooks
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp/.cordova
> rm: could not remove directory (code ENOTEMPTY): c:\Repos\cordova\cordova-cli\temp
> .{ [Error: EPERM, operation not permitted 'c:\Repos\cordova\cordova-cli\temp\.cordova\hooks\before_b
> uild\fail.bat']
>   errno: 50,
>   code: 'EPERM',
>   path: 'c:\\Repos\\cordova\\cordova-cli\\temp\\.cordova\\hooks\\before_build\\fail.bat',
>   syscall: 'stat' }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message