aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin/touch.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/builtin/touch.test')
-rw-r--r--tests/test/script/builtin/touch.test4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test/script/builtin/touch.test b/tests/test/script/builtin/touch.test
index 73115b3..73a37a4 100644
--- a/tests/test/script/builtin/touch.test
+++ b/tests/test/script/builtin/touch.test
@@ -60,8 +60,6 @@ EOI
: Test touching an existing directory.
:
$c <<EOI && $b
-a = $~;
-a += "a";
mkdir a;
-touch a 2>~"%touch: cannot create/update '$a': .+%" == 1
+touch a 2>~"%touch: cannot create/update .+: .+%" == 1
EOI