diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2014-10-23 15:03:41 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2014-10-23 15:03:41 +0200 |
commit | 60adbe0687e54888c1f3636b68d5932522561e15 (patch) | |
tree | 847b37817fb9623b02248ade16cfc0a75b8dca00 /net:foret/completion/_endurance | |
parent | 1006f4ca8af4eb63ba2082d0bb9cc921406480e2 (diff) |
[Completion] discards compaudit error messages
- give fpath folders to root:root, with go-w
- do the same for the parent folder of each....
Diffstat (limited to 'net:foret/completion/_endurance')
-rw-r--r-- | net:foret/completion/_endurance | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net:foret/completion/_endurance b/net:foret/completion/_endurance deleted file mode 100644 index 1af5d51..0000000 --- a/net:foret/completion/_endurance +++ /dev/null @@ -1,29 +0,0 @@ -#compdef do.sh - -_endurance() { - - list-commands () { - grep '^[[:blank:]]*".*"[[:blank:]]*)' do.sh | tr '")\t|\n' ' ' | tr -s ' ' - } - - list-tests () { - echo all - find /mnt/endurancetesting/ -mindepth 1 -maxdepth 1 -type d ! -name '.*' | cut -d'/' -f4 - } - - list-nodes () { - < /mnt/endurancetesting/planning awk '!/^#|^$/ { if ( ! seen[$1] ) { seen[$1]=1 ; print $1 } }' - } - - case "$service" in - do.sh) - _arguments \ - ':actions:(( $(list-commands) ))' \ - ':tests:(( $(list-tests) ))' \ - ':nodes:(( $(list-nodes) ))' - _alternative \ - '*:files: _files' - ;; - esac - -} |