summaryrefslogtreecommitdiff
path: root/src/testing/netjail_exec.sh
blob: c20a8c117a4293776b10845c1c652fa9c193de1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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=$(netjail_print_name "N" $N $M)



netjail_node_exec_without_fds $NODE $3 $4 $5 $1 $2