From 52b0e7747df291099fb64ddc909a6290274ef017 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 22 Jun 2008 00:09:36 +0200 Subject: Implement 'nbb help ' --- test/nbb-basic.at | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test/nbb-basic.at') diff --git a/test/nbb-basic.at b/test/nbb-basic.at index 8a8facc..588b02d 100644 --- a/test/nbb-basic.at +++ b/test/nbb-basic.at @@ -39,6 +39,22 @@ AT_CLEANUP() dnl =================================================================== +AT_SETUP([nbb: help command]) +AT_KEYWORDS([nbb help]) +AT_CHECK([dnl +sep='=======================================================================' +echo "$sep" +for cmd in $(nbb help | sed -n 's/^\t\(@<:@^ \t@:>@\{1,\}\).*/\1/p') +do + nbb help "$cmd" || { s=$?; echo "Error running 'nbb help $cmd"; exit $s; } + echo "$sep" +done], [0], [ignore], []) +AT_CLEANUP() + +sed -n 's/^\t\([^ \t]\{1,\}\).*/\1/p' + +dnl =================================================================== + AT_SETUP([nbb: internal-config command]) AT_KEYWORDS([nbb internal-config]) AT_CHECK([nbb internal-config], [0], [ignore], []) -- cgit