aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin/ln.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/builtin/ln.testscript')
-rw-r--r--tests/test/script/builtin/ln.testscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/test/script/builtin/ln.testscript b/tests/test/script/builtin/ln.testscript
index 4e1ea92..072c197 100644
--- a/tests/test/script/builtin/ln.testscript
+++ b/tests/test/script/builtin/ln.testscript
@@ -4,12 +4,18 @@
.include ../common.testscript
+: unknown-option
+:
+$c <<EOI && $b
+ln -u 2>"ln: unknown option '-u'" == 1
+EOI
+
: args
:
{
: -s-option
:
- $c <'ln 2>"ln: missing -s option" == 1' && $b
+ $c <'ln 2>"ln: missing -s|--symbolic option" == 1' && $b
: none
: