tests: test commands help, query & install

This commit is contained in:
jeremiejig 2015-09-20 13:32:31 +02:00
parent 9258757901
commit 7022c3db95

View File

@ -2,8 +2,13 @@
set -l return_code 0
omf help
omf query PATH
omf install apt
set commands "omf help" "omf query PATH" "omf query fish_function_path" "omf install apt"
for cmd in $commands
echo \$ $cmd
if not eval $cmd
set return_code 1
end;
end;
exit $return_code