]> arthur.barton.de Git - bup.git/blob - dev/mksock
tests: move all tests to test/
[bup.git] / dev / mksock
1 #!/bin/sh
2 """": # -*-python-*-
3 bup_python="$(dirname "$0")/../config/bin/python" || exit $?
4 exec "$bup_python" "$0" ${1+"$@"}
5 """
6 # end of bup preamble
7
8 from __future__ import absolute_import
9
10 import socket, sys
11
12 s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)
13 s.bind(sys.argv[1])