1. 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
  2. 21 10月, 2014 1 次提交
  3. 20 10月, 2014 1 次提交
  4. 13 10月, 2014 2 次提交
  5. 10 10月, 2014 3 次提交
  6. 09 10月, 2014 3 次提交
  7. 08 10月, 2014 10 次提交
  8. 07 10月, 2014 2 次提交
  9. 06 10月, 2014 4 次提交
  10. 04 10月, 2014 1 次提交
  11. 03 10月, 2014 1 次提交
  12. 02 10月, 2014 11 次提交