#! /usr/bin/sh
PDIR=/opt
echo "Processing 32 bit binaries..."
cd $PDIR/SUNWvts/bin
$PDIR/SUNWvts/bin/testrm tapetest

if { pkginfo $iopts SUNWvtsx 1>/dev/null 2>&1 ; } then
   # do 64 bit version (ld works in both 32 and 64 bit modes correctly)
   echo "Processing 64 bit binaries..."
   cd $PDIR/SUNWvts/bin/sparcv9
   $PDIR/SUNWvts/bin/testrm tapetest
else
   # don't do anything for 64 bit if not found
   :
fi

