Skip to content

Commit

Permalink
[api] silence during test case run
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Nov 16, 2011
1 parent 10c10b5 commit 19c12c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/test/functional/build_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_read_from_repository
assert_response :success
get "/build/home:Iggy/10.2/i586/_repository?binary=rpm&binary=package&view=cpio"
assert_response :success
ret = IO.popen("cpio -t", "r+") { |f| f.puts @response.body; f.close_write; f.gets }
ret = IO.popen("cpio -t 2>/dev/null", "r+") { |f| f.puts @response.body; f.close_write; f.gets }
assert_match(/package.rpm/, ret)
end

Expand Down

0 comments on commit 19c12c3

Please sign in to comment.