git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5030 
91ce42f0-d328-0410-95d8-
f526ca767f89
 
 # Run a simple backup of the Bacula build directory
 #   then restore it.
 #
-MUID=`/usr/bin/id -u`
+MUID=`/usr/bin/id | awk -F= '{print $2}' | awk -F\( '{print $1}'`
 if [ $MUID != 0 ] ; then
    echo " "
    echo "You must be root to run this test."
 rm -f 1
 #
 cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
+diff tmp/original tmp/restored 2>&1 1>/dev/null
 if [ $? != 0 ] ; then
    echo " "
    echo " "