[
https://issues.apache.org/jira/browse/CB-7250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098688#comment-14098688
]
ASF GitHub Bot commented on CB-7250:
------------------------------------
GitHub user jsoref opened a pull request:
https://github.com/apache/cordova-blackberry/pull/174
CB-7250 test/cordova/integration/target use private home
This prevents the test from destroying blackberry10.json
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jsoref/cordova-blackberry cb_7250
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-blackberry/pull/174.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 #174
----
commit faf0735070efb3cf3369c32f2b9dde732e8c4dee
Author: Josh Soref <[email protected]>
Date: 2014-08-15T15:49:55Z
CB-7250 test/cordova/integration/target use private home
This prevents the test from destroying blackberry10.json
----
> bin/test/cordova/integration/target.js risks destroying blackberry10.json
> -------------------------------------------------------------------------
>
> Key: CB-7250
> URL: https://issues.apache.org/jira/browse/CB-7250
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: 3.5.0
> Reporter: Josh Soref
> Assignee: Josh Soref
>
> I ran the test suite recently.
> Unfortunately, for unknown reasons, I'm now left with:
> {quote}
> $ cat ~/.cordova/blackberry10.json
> \{
> "targets": \{
> "z10": \{
> "ip": "169.254.0.1",
> "type": "device",
> "password": "pass",
> "pin": "DEADBEEF"
> }
> }
> }
> {quote}
> Tests should not do this. They should instead change their HOME / USERPROFILE
> environment variables to a directory w/in their own test directory.
--
This message was sent by Atlassian JIRA
(v6.2#6252)