We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ffe2b commit 4c612aeCopy full SHA for 4c612ae
1 file changed
tests/cases/passing/writefile-fail-dir.pre
@@ -3,7 +3,7 @@ IMPORT(path)
3
STR: d = path.TEMPFILE("prefix-writefile-fail-dir")
4
5
IF(EQ(OS(),"win")){
6
- ASSERT(EQ(CL(JOIN("md ", path.WINPATH(d))), 0d0))
+ ASSERT(EQ(CL(JOIN("powershell -NoProfile -NonInteractive -Command \"New-Item -ItemType Directory -Force -Path '", path.WINPATH(d), "'\"")), 0d0))
7
} ELSE {
8
ASSERT(EQ(CL(JOIN("mkdir -p ", d)), 0d0))
9
}
0 commit comments