jira-importer commented on issue #1097:
URL: https://github.com/apache/maven-scm/issues/1097#issuecomment-2964645707

   **[Ilya 
Basin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=basinilya)** 
commented
   
   [Michael 
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o) 
Done.
   
   I modified GitCheckInCommandNoBranchTest to demonstrate the problem. The 
system property "scm.test.tmpdir" now alters the test directory location. 
Default is "target/".
   
   Please checkout my branch, do "mvn install -Dmaven.test.skip", change dir to 
   
   ```
   maven-scm-providers\maven-scm-providers-git\maven-scm-provider-gitexe
   ```
   
   and run:
   
   ```
   mvn test -Dtest="GitCheckInCommandNoBranchTest#testCheckinNoBranch" 
-Dscm.test.tmpdir=D:\
   ```
   
   It should succeed. Then revert the last commit (my fix) and repeat. Given 
that your source tree is not on "D:\", It should fail with:
   
   ```java
   GitCheckInCommandNoBranchTest.testCheckinNoBranch:76 expected:<1> but was:<0>
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to