1. 12 2月, 2016 1 次提交
  2. 11 2月, 2016 2 次提交
  3. 10 2月, 2016 3 次提交
  4. 09 2月, 2016 1 次提交
  5. 06 2月, 2016 1 次提交
  6. 05 2月, 2016 6 次提交
  7. 04 2月, 2016 10 次提交
  8. 03 2月, 2016 4 次提交
  9. 29 1月, 2016 4 次提交
  10. 28 1月, 2016 6 次提交
  11. 27 1月, 2016 2 次提交
    • L
      avocado.utils.software_manager: Use sudo if a command requires root · dc2df236
      Lucas Meneghel Rodrigues 提交于
      Instead of assuming we have administrative privileges to
      run software manager related commands, use sudo in commands
      that do require root. We now assume you're running the
      test as a user that has sudo configuration such that no
      password will be prompted to execute that command [1].
      
      A place where we need such a provision is when running on
      Amazon AWS instances (we can't run as root, but the base
      user of the image has the appropriate sudo configuration).
      
      [1] Running as root means that sudo won't be necessary,
      but figuring that out is responsibility of the process
      APIs, that were modified to take a sudo parameter and
      figure things out based on that.
      Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
      dc2df236
    • L
      avocado.utils.service: Use sudo if a command requires root · 3654551e
      Lucas Meneghel Rodrigues 提交于
      Instead of assuming we have administrative privileges to
      run service manager related commands, use sudo in commands
      that do require root. We now assume you're running the
      test as a user that has sudo configuration such that no
      password will be prompted to execute that command [1].
      
      A place where we need such a provision is when running on
      Amazon AWS instances (we can't run as root, but the base
      user of the image has the appropriate sudo configuration).
      
      [1] Running as root means that sudo won't be necessary,
      but figuring that out is responsibility of the process
      APIs, that were modified to take a sudo parameter and
      figure things out based on that.
      Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
      3654551e