Print this page
NEX-16806 update smbclient test suite
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-16806 update smbclient test suite (cstyle)
NEX-16806 update smbclient test suite (cleanup)
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
        
*** 77,86 ****
--- 77,88 ----
          self.result = ''
  
      def done(self, proc, killed):
          """
          Finalize the results of this Cmd.
+         Report SKIP for return codes 3,4 (NOTINUSE, UNSUPPORTED)
+         as defined in ../stf/include/stf.shlib
          """
          Result.total += 1
          m, s = divmod(time() - self.starttime, 60)
          self.runtime = '%02d:%02d' % (m, s)
          self.returncode = proc.returncode
*** 88,97 ****
--- 90,102 ----
              self.result = 'KILLED'
              Result.runresults['KILLED'] += 1
          elif self.returncode is 0:
              self.result = 'PASS'
              Result.runresults['PASS'] += 1
+         elif self.returncode is 3 or self.returncode is 4:
+             self.result = 'SKIP'
+             Result.runresults['SKIP'] += 1
          elif self.returncode is not 0:
              self.result = 'FAIL'
              Result.runresults['FAIL'] += 1