aboutsummaryrefslogtreecommitdiff
path: root/src/testing/netjail_exec.sh
blob: cd993a39b65664bc625e02610873f9f6e6bb2a27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
. "./../testing/netjail_core.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