summaryrefslogtreecommitdiff
path: root/minix/tests/kernel/sys_vumap/run
blob: 8270bf760b3db3600a48da5d530b2cf816238449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

make >/dev/null

echo -n "Kernel test (sys_vumap): "
minix-service up `pwd`/vumaprelay -config system.conf -label vumaprelay -script /etc/rs.single
minix-service up `pwd`/vumaptest -config system.conf -script /etc/rs.single 2>/dev/null
r=$?
minix-service down vumaprelay

if [ $r -ne 0 ]; then
  echo "failure"
  exit 1
fi

echo "ok"