#!/bin/sh

rm -f csh-out shell-out
echo "Test9: Background"
echo "sleep 20 &" > shell-in
../shell < shell-in > shell-out

/bin/ps -u `/usr/ucb/whoami` | grep sleep > out
if [ $? -ne 0 ]
then
    echo "Test9 failed"
    exit -1
fi
echo Test9 OK
exit 0
