aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-22 22:54:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-22 22:54:38 +0200
commit9728b252c5ec85b924811f9c12df596d4e1c474e (patch)
tree5997095d9c88a8866a60bc3f7aeb45ade6bdd4b6
parenta4d5263f912ccc1397b8f5fc5278f22d2b1c8205 (diff)
Fix testscript touch builtin some more
-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