summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-23 13:14:21 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-23 13:14:21 +0200
commite68e314b85e63412b792a2f459c6b7dd74af6ca2 (patch)
treeab1f5e505e8173f4f103017f40ad3435c0c752fe
parentb11978aac764f8cfac37ca797e8fad9a891e436f (diff)
downloadalpine-conf-e68e314b85e63412b792a2f459c6b7dd74af6ca2.zip
tests: add a fake openrc
setup-alpine conditionally runs some parts depending on `openrc --sys` output. Add a fake openrc so we can test this in the future. This also fixes the CI which may not have openrc installed.
-rwxr-xr-xtests/bin/openrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bin/openrc b/tests/bin/openrc
new file mode 100755
index 0000000..c52d3c2
--- /dev/null
+++ b/tests/bin/openrc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0