aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/cleanup.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-06 03:24:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-09 21:44:22 +0300
commit9e2b4fd3bbc0c61bf6c84540c52869ec7d830718 (patch)
tree550c9edd5b29b164d7c8c2ac13111a9491495022 /tests/test/script/runner/cleanup.test
parentc5d118cde064c09a416541a7f7e76d354552b2fd (diff)
Make use of operator<<(ostream, exception)
Diffstat (limited to 'tests/test/script/runner/cleanup.test')
-rw-r--r--tests/test/script/runner/cleanup.test15
1 files changed, 3 insertions, 12 deletions
diff --git a/tests/test/script/runner/cleanup.test b/tests/test/script/runner/cleanup.test
index ac7c64d..3dfd73e 100644
--- a/tests/test/script/runner/cleanup.test
+++ b/tests/test/script/runner/cleanup.test
@@ -81,14 +81,11 @@ b += --no-column
: not-file
:
- : Test cleanup of a directory as a file. Note that there is an optional
- : trailing blank line in the regex that matches the newline added by msvcrt
- : as a part of the error description.
+ : Test cleanup of a directory as a file.
:
$c <'$* -d a &a';
$b 2>>~%EOE% != 0
%error: unable to remove file test[/\\]1[/\\]a: .+%
- %%?
EOE
}
@@ -156,14 +153,11 @@ b += --no-column
: not-dir
:
- : Test cleanup of a file as a directory. Note that there is an optional
- : trailing blank line in the regex that matches the newline added by msvcrt
- : as a part of the error description.
+ : Test cleanup of a file as a directory.
:
$c <'$* -f a &a/';
$b 2>>~%EOE% != 0
%error: unable to remove directory test[/\\]1[/\\]a[/\\]: .+%
- %%?
EOE
}
@@ -211,14 +205,11 @@ b += --no-column
: not-dir
:
- : Test cleanup of a file as a wildcard. Note that there is an optional
- : trailing blank line in the regex that matches the newline added by msvcrt
- : as a part of the error description.
+ : Test cleanup of a file as a wildcard.
:
$c <'$* -f a &a/***';
$b 2>>~%EOE% != 0
%error: unable to remove directory test[/\\]1[/\\]a[/\\]: .+%
- %%?
EOE
}