[go: up one dir, main page]

File: upstream-tests

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 339 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# This runs the upstream testsuite, but with PostgreSQL tests included
# that can't be ran during the normal upstream build.
set -eux

sudo -u postgres createuser "$USER"
sudo -u postgres createdb soju --owner "$USER"
export SOJU_TEST_POSTGRES="host=/run/postgresql dbname=soju sslmode=none"

exec /usr/bin/dh_golang_autopkgtest