Commit 7022c3db authored by jeremiejig's avatar jeremiejig

tests: test commands help, query & install

parent 92587579
...@@ -2,8 +2,13 @@ ...@@ -2,8 +2,13 @@
set -l return_code 0 set -l return_code 0
omf help set commands "omf help" "omf query PATH" "omf query fish_function_path" "omf install apt"
omf query PATH for cmd in $commands
omf install apt echo \$ $cmd
if not eval $cmd
set return_code 1
end;
end;
exit $return_code exit $return_code
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment