summaryrefslogtreecommitdiff
path: root/src/testing/netjail_exec_v2.sh
blob: 597baad20f6e38ed14027487d2503cceeca6f0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
. "./../testing/netjail_core_v2.sh"

set -eu
set -x

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

M=$1
N=$2

NODE=$6

netjail_node_exec_without_fds_and_sudo $NODE $3 $4 $5 $1 $2