Test set for sys_vumap()

Located in test/kernel. Invoke "run" to run tests.
This commit is contained in:
David van Moolenbroek
2012-03-18 02:07:18 +01:00
parent b91295a8d2
commit cf720a028a
8 changed files with 1551 additions and 0 deletions

16
test/kernel/sys_vumap/run Executable file
View File

@@ -0,0 +1,16 @@
#!/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"