p:file-move 019 (AB)
Test is expected to fail with error code err:XC0050.
The pipeline
<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
<p:output port="result"/>
<p:file-move href="../testfolder/file.txt"
target="../testfolder/target" fail-on-error="true"/>
</p:declare-step>
Filesystem environment
This configuration cannot be achieved on Windows.
Directory | Perm | Filename | Last-modified | Size | Encoding | Contents (abbreviated) |
---|---|---|---|---|---|---|
.rwx | file.txt |
| 0 |
|
| |
target | dr-x |
Revision history
- 02 Aug 2022, Achim Berndzen
Initial commit