aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin/rmdir.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/script/builtin/rmdir.testscript')
-rw-r--r--tests/test/script/builtin/rmdir.testscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test/script/builtin/rmdir.testscript b/tests/test/script/builtin/rmdir.testscript
index 1b19509..9f0c945 100644
--- a/tests/test/script/builtin/rmdir.testscript
+++ b/tests/test/script/builtin/rmdir.testscript
@@ -4,6 +4,12 @@
.include ../common.testscript
+: unknown-option
+:
+$c <<EOI && $b
+rmdir -u 2>"rmdir: unknown option '-u'" == 1
+EOI
+
: no-args
:
{