From 72945d9c8eee18aed1550c3f42dc41e6a8a0f029 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jul 2019 22:37:40 +0300 Subject: Use CLI-generated classes to parse testscript builtin options --- tests/test/script/builtin/ln.testscript | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/test/script/builtin/ln.testscript') 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 <"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 : -- cgit v1.1