Projet

Général

Profil

Révision ad9a1aac

IDad9a1aac23b9b41e75484d7afee9e8687908d495
Parent ab5dfc2b
Enfant 149c09dd

Ajouté par Stig Sandbeck Mathisen il y a environ 11 ans

Update todo list

[ci skip]

Voir les différences:

t/todo.org
2 2

  
3 3
  Summary:
4 4

  
5
  Failed 7/1006 subtests
5
  Failed 5/1006 subtests
6 6

  
7
  (less 1 skipped subtest: 998 okay)
7
  (less 1 skipped subtest: 1000 okay)
8 8

  
9
** [0/1] Failing test
10
*** TODO Failed test 'plugins/snmp/snmp__brocade_ifs: python compile'
9 11

  
10
** [0/1] Need to investigate
11

  
12
*** TODO not ok 572 - plugins/network/d-link-dir-655-router-statistics-plugin: ruby syntax check
13
   
14
    Need to investigate.
12
    python plugin with error in regular expression string.
15 13

  
16 14
#+BEGIN_EXAMPLE
17
# Failed test 'plugins/network/d-link-dir-655-router-statistics-plugin: ruby syntax check'
18
# at t/test.t line 169.
15
# at t/test.t line 162.
19 16
#
20
# Command: ruby -cw d-link-dir-655-router-statistics-plugin
17
# Command: python -m py_compile snmp__brocade_ifs
21 18
#
22 19
# STDOUT:
23 20
#
......
25 22
#
26 23
# STDERR:
27 24
#
28
# /home/travis/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- auto_gem (LoadError)
29
# from /home/travis/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
25
# SyntaxError: ('invalid syntax', ('snmp__brocade_ifs', 272, 22, "regex_str = '^snmp_'(.+)'_brocade_ifs'\n"))
30 26
#
31 27
#
32 28
#+END_EXAMPLE
33 29

  
30

  
34 31
** [0/4] False positives
35 32

  
36 33
*** TODO not ok 110 - plugins/system/solaris-memstat: ksh syntax check
......
114 111
# at t/test.t line 64.
115 112
#+END_EXAMPLE
116 113

  
117
*** TODO not ok 538 - plugins/network/ldap_connections
118

  
119
   False positive in checkbashisms at 'ESTABLISHED$"'.
120

  
121
   Still, quite horrible shell code.
122

  
123
#+BEGIN_EXAMPLE
124
# Subtest: plugins/network/ldap_connections
125
1..2
126
ok 1 - sh syntax check
127
not ok 2 - checkbashisms
128
# Failed test 'checkbashisms'
129
# at t/test.t line 169.
130
#
131
# Command: checkbashisms ldap_connections
132
#
133
# STDOUT:
134
#
135
#
136
#
137
# STDERR:
138
#
139
# possible bashism in ldap_connections line 130 ($"foo" should be eval_gettext "foo"):
140
# echo "$(echo $ip | sed 's/\./_/g')_${port}.value $(grep "^tcp[46]\{0,1\}\([[:space:]]\{1,\}[[:digit:]]\{1,\}\)\{2\}[[:space:]]\{1,\}$ip[\.:]$port[[:space:]].*ESTABLISHED$" $TEMP_FILE | wc -l | sed 's/[[:space:]]*//g')"
141
#
142
#
143
# Looks like you failed 1 test of 2.
144
#+END_EXAMPLE
145

  
146 114

  
147 115
** [0/1] Blame the CI provider
148 116

  
......
168 136
#
169 137
#
170 138
#+END_EXAMPLE
171

  

Formats disponibles : Unified diff