summaryrefslogtreecommitdiff
path: root/tests/integration/project/elements/sockets/make-install-root-socket.bst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/project/elements/sockets/make-install-root-socket.bst')
-rw-r--r--tests/integration/project/elements/sockets/make-install-root-socket.bst16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/integration/project/elements/sockets/make-install-root-socket.bst b/tests/integration/project/elements/sockets/make-install-root-socket.bst
new file mode 100644
index 000000000..85171bf54
--- /dev/null
+++ b/tests/integration/project/elements/sockets/make-install-root-socket.bst
@@ -0,0 +1,16 @@
+kind: manual
+
+depends:
+- filename: base.bst
+ type: build
+
+config:
+ install-commands:
+ - |
+ python3 -c '
+ from os.path import join
+ from sys import argv
+ from socket import socket, AF_UNIX, SOCK_STREAM
+ s = socket(AF_UNIX, SOCK_STREAM)
+ s.bind(join(argv[1], "testsocket"))
+ ' %{install-root}