[go: up one dir, main page]

File: service-works

package info (click to toggle)
soju 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,016 kB
  • sloc: sql: 243; sh: 55; makefile: 49; python: 32
file content (10 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -eux

# create user
PASS=$(openssl rand -base64 12)
sudo sojuctl user create -username autopkgtest -password "$PASS"

# test if we can connect and authenticate
# TODO: add a tiny ircd and test if we can connect to it successfully?
python3 ./debian/tests/test-connect.py "$(hostname -f)" "$PASS"