File: test_b4nnd.sh

package info (click to toggle)
golang-github-rootless-containers-bypass4netns 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 596 kB
  • sloc: sh: 1,936; python: 542; makefile: 33
file content (13 lines) | stat: -rwxr-xr-x 232 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -eu -o pipefail

SCRIPT_DIR=$(cd $(dirname $0); pwd)
cd $SCRIPT_DIR

cd ../
systemd-run --user --unit run-b4nnd bypass4netnsd
cd cmd/bypass4netnsd/
go test -count=1 .
systemctl --user stop run-b4nnd.service
sleep 1