minix/test/ddekit/ddekittest.sh
Kees Jongenburger eaa642e09d Adding an initial ddekit test.
Change-Id: I0522449bb7bbbb23efc132ede3a02da95efe0326
2014-07-28 17:05:22 +02:00

19 lines
497 B
Bash
Executable file

#!/bin/sh
# Supporting routines for ddekit Do not run directly.
# usage: run_ddekittest
# runs the ddekit driver on the given device with the given parameters
run_ddekittest () {
if [ ! -x ddekittest_driver ]; then echo "compile ddekittest first!" >&2; exit 1; fi
service up `pwd`/ddekittest_driver -config system.conf \
-script /etc/rs.single -label ddekittest
}
#
# We do not have much here just calling the source run_ddekittest here
#
run_ddekittest
sleep 10
service down ddekittest