Skip to content

Commit

Permalink
Fix likely undesired use of redirection
Browse files Browse the repository at this point in the history
Redirection set up like this will not work as expected as the
duplication (2>&1 part) is set up before redirection, and thus only
stdout ends up getting redirected.

Change-Id: I02f47ee69b48a38db348573259d471cd3b236231
  • Loading branch information
djipko committed Feb 2, 2015
1 parent 0eee9cb commit 6ca2947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function run_tests {
${wrapper} python setup.py egg_info
fi
echo "Running \`${wrapper} $TESTRTESTS\`"
if ${wrapper} which subunit-2to1 2>&1 > /dev/null
if ${wrapper} which subunit-2to1 >/dev/null 2>&1
then
# subunit-2to1 is present, testr subunit stream should be in version 2
# format. Convert to version one before colorizing.
Expand Down

0 comments on commit 6ca2947

Please sign in to comment.