summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-05-21 21:47:32 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-05-21 21:47:32 +0300
commit3a1e810aaaea3e44c4dfc82a014485cf886d6b88 (patch)
treee64d36fc037177366ef12ebd76002f3eec84c717 /test
parent610343edb318654126d9539775ba4b9ff30c8831 (diff)
downloadpleroma-3a1e810aaaea3e44c4dfc82a014485cf886d6b88.tar.gz
pleroma-3a1e810aaaea3e44c4dfc82a014485cf886d6b88.zip
[#2497] Customized `exexec` launch to support root operation (currently required by Gitlab CI).
Diffstat (limited to 'test')
-rw-r--r--test/exec_test.exs13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/exec_test.exs b/test/exec_test.exs
new file mode 100644
index 000000000..45d3f778f
--- /dev/null
+++ b/test/exec_test.exs
@@ -0,0 +1,13 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.ExecTest do
+ alias Pleroma.Exec
+
+ use Pleroma.DataCase
+
+ test "it starts" do
+ assert {:ok, _} = Exec.ensure_started()
+ end
+end