test: Use create-project's --empty-commit option

Instead of creating our own commit and pushing it, let Gerrit create the
commit when we create the test project. This simplifies permissions for
the test account.

Change-Id: Iad65f2ea7e8a2b5f8c29e73e69a418cabb5d6077
diff --git a/test/docker/run_tests/start.sh b/test/docker/run_tests/start.sh
index fdc3f32..1f4f0e4 100755
--- a/test/docker/run_tests/start.sh
+++ b/test/docker/run_tests/start.sh
@@ -5,13 +5,10 @@
 
 setup_test_project() {
     echo "Creating a test project ..."
-    ssh -p "$PORT" -x "$GERRIT_HOST" gerrit create-project "${TEST_PROJECT}".git \
-        --owner "Administrators" --submit-type "MERGE_IF_NECESSARY"
+    ssh -p "$PORT" -x "$GERRIT_HOST" gerrit create-project "${TEST_PROJECT}" \
+        --owner "Administrators" --submit-type "MERGE_IF_NECESSARY" \
+        --empty-commit
     git clone ssh://"$GERRIT_HOST":"$PORT"/"$TEST_PROJECT" "$WORKSPACE"
-    pushd "$WORKSPACE" > /dev/null
-    git commit -m "Initial commit" --allow-empty
-    git push ssh://"$GERRIT_HOST":"$PORT"/"$TEST_PROJECT" HEAD:refs/heads/master
-    popd > /dev/null
 }
 
 cp -r /depends_on "$USER_HOME"/