Skip to content

Commit

Permalink
tests: boot a full ubuntu container
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Mar 1, 2014
1 parent f899868 commit 0492943
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/ampule_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ defmodule AmpuleTest do
assert('0987654321' == result)
end

test "system container" do
container = Ampule.create
port = :erlxc.console(container.container)
assert_receive {^port, {:data, "\nConnected to tty 1" <> _}}, 300000
end

end

0 comments on commit 0492943

Please sign in to comment.