diff options
Diffstat (limited to 'tests/test/script/builtin/rm.testscript')
-rw-r--r-- | tests/test/script/builtin/rm.testscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test/script/builtin/rm.testscript b/tests/test/script/builtin/rm.testscript index 0cc6f7c..46ed566 100644 --- a/tests/test/script/builtin/rm.testscript +++ b/tests/test/script/builtin/rm.testscript @@ -4,6 +4,12 @@ .include ../common.testscript +: unknown-option +: +$c <<EOI && $b +rm -u 2>"rm: unknown option '-u'" == 1 +EOI + : no-args : { |