1. 18 11月, 2017 1 次提交
  2. 04 10月, 2017 2 次提交
  3. 08 3月, 2017 1 次提交
  4. 06 2月, 2017 1 次提交
  5. 07 11月, 2016 1 次提交
  6. 15 2月, 2016 1 次提交
  7. 12 2月, 2016 1 次提交
  8. 27 1月, 2016 1 次提交
    • L
      avocado.utils.process: Add 'sudo' parameter to run and system APIs · 7dad50e7
      Lucas Meneghel Rodrigues 提交于
      Some commands do require admin privileges to run, but we
      can't use the 'root' user in some testing scenarios [1].
      
      So let's add a 'sudo' parameter to process.run(), process.system()
      and process.system_output() interfaces, that will append
      a sudo command to the original command string, causing it
      to be executed under sudo. The basic assumption here is
      that the user executing the tests was added to the sudoers
      file in such a way that it can run administrative commands
      without a password.
      
      [1] One specific environment where we can't use the root
      user is when avocado runs on an AWS (Amazon Web Services)
      instance.
      Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
      7dad50e7
  9. 28 11月, 2015 2 次提交
  10. 03 9月, 2015 1 次提交
    • C
      Selftests: move to adhere to unittest discover default pattern · 24d87eb4
      Cleber Rosa 提交于
      To be honest, our test code could still be kept in the same directories and
      have the same names. But I think we can improve two things here:
      
      1) Flatten a little bit the directory structure of selftests. Two path
      components are being dropped here: "all" and "avocado". So that
      "selftests/all/functional/avocado" becomes simply
      "selftests/functional".
      
      2) File names match what is, by default, recognized by unittest (the
      Standard Library module) based discovery of tests. That means that
      doc_build_test.py becomes test_doc_build.py. Not a big deal IMHO.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      24d87eb4
  11. 13 6月, 2015 1 次提交
  12. 18 3月, 2015 1 次提交
  13. 29 1月, 2015 1 次提交
  14. 10 9月, 2014 1 次提交