aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin/rm.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/builtin/rm.test')
-rw-r--r--tests/test/script/builtin/rm.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test/script/builtin/rm.test b/tests/test/script/builtin/rm.test
index cd4a922..a6de003 100644
--- a/tests/test/script/builtin/rm.test
+++ b/tests/test/script/builtin/rm.test
@@ -40,8 +40,8 @@
: Removing non-existing file fails.
:
$c <<EOI;
- rm a 2>>~%EOE% == 1
- %rm: unable to remove '.+[/\\]test[/\\]rm[/\\]file[/\\]not-exists[/\\]test[/\\]1[/\\]a': .+%
+ rm a 2>>/~%EOE% == 1
+ %rm: unable to remove '.+/test/rm/file/not-exists/test/1/a': .+%
EOE
EOI
$b
@@ -106,8 +106,8 @@
:
:
$c <<EOI;
- rm ../../a/b/c 2>>~%EOE% == 1
- %rm: '.+[/\\]path[/\\]outside-scope[/\\]a[/\\]b[/\\]c' is out of working directory '.+[/\\]outside-scope[/\\]test'%
+ rm ../../a/b/c 2>>/~%EOE% == 1
+ %rm: '.+/path/outside-scope/a/b/c' is out of working directory '.+/outside-scope/test'%
EOE
EOI
$b