~doanac/utah/bug1190775

Viewing all changes in revision 939.

  • Committer: Andy Doan
  • Date: 2013-06-14 03:48:30 UTC
  • Revision ID: andy.doan@canonical.com-20130614034830-h569706mhzsrc0gw
bug #1190775 regression with run_cmd

the process.run function was calling os.dup on sys.stdout and
sys.stderr. however, these values often get modified by things like
the unittest harness. I normally pass "-s" to nosetest and didn't
see the issue. But our ISO validation code actually runs as a unit
test. This just uses the plain 1/2 for stdout/stderr fd numbers.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: