1. 19 11月, 2014 2 次提交
  2. 14 11月, 2014 1 次提交
  3. 13 11月, 2014 3 次提交
  4. 12 11月, 2014 1 次提交
  5. 11 11月, 2014 6 次提交
  6. 06 11月, 2014 4 次提交
  7. 05 11月, 2014 1 次提交
  8. 04 11月, 2014 1 次提交
    • R
      avocado.utils.script: Introduce script module. · 2b1e807b
      Rudá Moura 提交于
      Introduce avocado.utils.script module to handle the creation
      of scripts stored in the file system.
      
      The module includes a flexible class for creating generic scripts and
       includes utilities functions too. Some examples:
      
          CONTENT = """
          #!/bin/sh
          echo "Hi There!"
          """
      
          x = avocado.utils.script.Script('/var/tmp/test.sh', CONTENT)
          x.save()
          ... do something with x, like run it ...
          x.remove()
      
          t = avocado.utils.script.make_temp_script('test.sh', CONTENT)
          ... do something with y, like run it ...
      
      Avocado functional tests makes use of script creation,
      so we will handle these creation using this proper module.
      Signed-off-by: NRudá Moura <rmoura@redhat.com>
      2b1e807b
  9. 21 10月, 2014 1 次提交
  10. 20 10月, 2014 1 次提交
  11. 13 10月, 2014 2 次提交
  12. 10 10月, 2014 3 次提交
  13. 09 10月, 2014 3 次提交
  14. 08 10月, 2014 10 次提交
  15. 07 10月, 2014 1 次提交
    • L
      avocado.utils.remote: Changes to the .run() method · 69971505
      Lucas Meneghel Rodrigues 提交于
      Make the run() method to return a CmdResult object,
      to make it symmetrical to the process.run() result.
      Also, turn on logging of outputs for commands executed
      on remote connections.
      
      The reason why we want to do that is to increase the
      debugging output we have for commands executed over
      the fabric SSH connections. This way we can obtain
      better, richer outputs in test logs that use our
      fabric wrappers.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      69971505