This is an automated email from the ASF dual-hosted git repository.
bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new 39894571c really create a junction
39894571c is described below
commit 39894571c55aab754259ee0d846bbdacab39d242
Author: Stefan Bodewig <[email protected]>
AuthorDate: Sun Feb 8 14:00:26 2026 +0100
really create a junction
---
src/tests/antunit/taskdefs/delete-and-junctions-test.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/antunit/taskdefs/delete-and-junctions-test.xml
b/src/tests/antunit/taskdefs/delete-and-junctions-test.xml
index 415cd3832..4d17d34eb 100644
--- a/src/tests/antunit/taskdefs/delete-and-junctions-test.xml
+++ b/src/tests/antunit/taskdefs/delete-and-junctions-test.xml
@@ -77,7 +77,7 @@
<target name="testDanglingJunctionInDir" if="windows_os"
depends="prepare-dangling-tests">
<mkdir dir="${output}/foo"/>
- <mklink link="${existing.dir}/link" targetFile="${output}/foo"/>
+ <mklink linktype="junction" link="${existing.dir}/link"
targetFile="${output}/foo"/>
<delete dir="${output}/foo"/>
<delete dir="${existing.dir}"/>
<au:assertFileDoesntExist file="${existing.dir}" />
@@ -86,7 +86,7 @@
<target name="testDanglingJunction" if="windows_os"
depends="prepare-dangling-tests">
<mkdir dir="${output}/foo"/>
- <mklink link="${existing.dir}/link" targetFile="${output}/foo"/>
+ <mklink linktype="junction" link="${existing.dir}/link"
targetFile="${output}/foo"/>
<delete dir="${output}/foo"/>
<delete dir="${output}/link"/>