libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / busybox / testsuite / umlwrapper.sh
blobe55e4dbd3ec44fcffeccabd787a356d1d3acd78f
1 #!/bin/sh
3 # Wrapper for User Mode Linux emulation environment
5 RUNFILE="$(pwd)/${1}.testroot"
6 if [ -z "$RUNFILE" ] || [ ! -x "$RUNFILE" ]
7 then
8 echo "Can't run '$RUNFILE'"
9 exit 1
12 shift
14 if [ -z $(which linux) ]
15 then
16 echo "No User Mode Linux."
17 exit 1;
20 linux rootfstype=hostfs rw init="$RUNFILE" TESTDIR=`pwd` PATH="$PATH" $* quiet