Commit a109b1be authored by Tails developers's avatar Tails developers

Wait for the git process to be running before waiting for it to disappear.

Otherwise, sometimes 'process "git" has stopped running after at most 180
seconds' returns *before* Git has started running, and then the next step of
course fails since the clone operation hasn't even started yet.
parent 464d086f
......@@ -18,12 +18,14 @@ Feature: Cloning a Git repository
Scenario: Cloning a Git repository anonymously over HTTPS
When I run "git clone https://git-tails.immerda.ch/myprivatekeyispublic/testing" in GNOME Terminal
Then process "git" is running within 10 seconds
And process "git" has stopped running after at most 180 seconds
Then the Git repository "testing" has been cloned successfully
And the Git repository "testing" has been cloned successfully
And all Internet traffic has only flowed through Tor
Scenario: Cloning a Git repository anonymously over the Git protocol
When I run "git clone git://git.tails.boum.org/myprivatekeyispublic/testing" in GNOME Terminal
Then process "git" is running within 10 seconds
And process "git" has stopped running after at most 180 seconds
Then the Git repository "testing" has been cloned successfully
And the Git repository "testing" has been cloned successfully
And all Internet traffic has only flowed through Tor
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment