source: MondoRescue/branches/2.2.5/mindi-busybox/testsuite/umlwrapper.sh@ 1765

Last change on this file since 1765 was 821, checked in by Bruno Cornec, 18 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

  • Property svn:executable set to *
File size: 346 bytes
Line 
1#!/bin/sh
2
3# Wrapper for User Mode Linux emulation environment
4
5RUNFILE="$(pwd)/${1}.testroot"
6if [ -z "$RUNFILE" ] || [ ! -x "$RUNFILE" ]
7then
8 echo "Can't run '$RUNFILE'"
9 exit 1
10fi
11
12shift
13
14if [ -z $(which linux) ]
15then
16 echo "No User Mode Linux."
17 exit 1;
18fi
19
20linux rootfstype=hostfs rw init="$RUNFILE" TESTDIR=`pwd` PATH="$PATH" $* quiet
Note: See TracBrowser for help on using the repository browser.