cf720a028a
Located in test/kernel. Invoke "run" to run tests.
16 lines
327 B
Bash
Executable file
16 lines
327 B
Bash
Executable file
#!/bin/sh
|
|
|
|
make >/dev/null
|
|
|
|
echo -n "Kernel test (sys_vumap): "
|
|
service up `pwd`/vumaprelay -config system.conf -label vumaprelay -script /etc/rs.single
|
|
service up `pwd`/vumaptest -config system.conf -script /etc/rs.single 2>/dev/null
|
|
r=$?
|
|
service down vumaprelay
|
|
|
|
if [ $r -ne 0 ]; then
|
|
echo "failure"
|
|
exit 1
|
|
fi
|
|
|
|
echo "ok"
|